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 |
---|---|---|---|---|---|---|---|---|
[
58,
50,
95,
54
] | 33 |
[
"58-50=8",
"95-54=41",
"41-8=33"
] |
Current State: 33:[58, 50, 95, 54], Operations: []
Exploring Operation: 58-50=8, Resulting Numbers: [95, 54, 8]
Generated Node #2: [95, 54, 8] from Operation: 58-50=8
Current State: 33:[95, 54, 8], Operations: ['58-50=8']
Exploring Operation: 95-54=41, Resulting Numbers: [8, 41]
Generated Node #3: [8, 41] from Operation: 95-54=41
Current State: 33:[8, 41], Operations: ['58-50=8', '95-54=41']
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 |
Current State: 33:[58, 50, 95, 54], Operations: []
Exploring Operation: 95-54=41, Resulting Numbers: [58, 50, 41]
Generated Node #0,0: 33:[58, 50, 41] Operation: 95-54=41
Exploring Operation: 95-50=45, Resulting Numbers: [58, 54, 45]
Generated Node #0,1: 33:[58, 54, 45] Operation: 95-50=45
Exploring Operation: 95-58=37, Resulting Numbers: [50, 54, 37]
Generated Node #0,2: 33:[50, 54, 37] Operation: 95-58=37
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[50, 54, 37], Operations: ['95-58=37']
Exploring Operation: 54-37=17, Resulting Numbers: [50, 17]
Generated Node #0,2,0: 33:[50, 17] Operation: 54-37=17
Exploring Operation: 54-50=4, Resulting Numbers: [37, 4]
Generated Node #0,2,1: 33:[37, 4] Operation: 54-50=4
Exploring Operation: 50-37=13, Resulting Numbers: [54, 13]
Generated Node #0,2,2: 33:[54, 13] Operation: 50-37=13
Moving to Node #0,2,1
Current State: 33:[37, 4], Operations: ['95-58=37', '54-50=4']
Exploring Operation: 37*4=148, Resulting Numbers: [148]
148,33 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[58, 50, 95, 54], Operations: []
Exploring Operation: 95-58=37, Resulting Numbers: [50, 54, 37]
Generated Node #0,2: 33:[50, 54, 37] Operation: 95-58=37
Moving to Node #0,2
Current State: 33:[50, 54, 37], Operations: ['95-58=37']
Exploring Operation: 54-50=4, Resulting Numbers: [37, 4]
Generated Node #0,2,1: 33:[37, 4] Operation: 54-50=4
Moving to Node #0,2,1
Current State: 33:[37, 4], Operations: ['95-58=37', '54-50=4']
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 |
hs_3
|
sum_heuristic
|
[
22,
35,
20,
44
] | 26 |
[
"22-20=2",
"35*2=70",
"70-44=26"
] |
Current State: 26:[22, 35, 20, 44], Operations: []
Exploring Operation: 22-20=2, Resulting Numbers: [35, 44, 2]
Generated Node #2: [35, 44, 2] from Operation: 22-20=2
Current State: 26:[35, 44, 2], Operations: ['22-20=2']
Exploring Operation: 35*2=70, Resulting Numbers: [44, 70]
Generated Node #3: [44, 70] from Operation: 35*2=70
Current State: 26:[44, 70], Operations: ['22-20=2', '35*2=70']
Exploring Operation: 70-44=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 |
Current State: 26:[22, 35, 20, 44], Operations: []
Exploring Operation: 44-22=22, Resulting Numbers: [35, 20, 22]
Generated Node #0,0: 26:[35, 20, 22] Operation: 44-22=22
Exploring Operation: 44/22=2, Resulting Numbers: [35, 20, 2]
Generated Node #0,1: 26:[35, 20, 2] Operation: 44/22=2
Exploring Operation: 44-20=24, Resulting Numbers: [22, 35, 24]
Generated Node #0,2: 26:[22, 35, 24] Operation: 44-20=24
Exploring Operation: 44-35=9, Resulting Numbers: [22, 20, 9]
Generated Node #0,3: 26:[22, 20, 9] Operation: 44-35=9
Moving to Node #0,3
Current State: 26:[22, 20, 9], Operations: ['44-35=9']
Exploring Operation: 20-9=11, Resulting Numbers: [22, 11]
Generated Node #0,3,0: 26:[22, 11] Operation: 20-9=11
Exploring Operation: 22-9=13, Resulting Numbers: [20, 13]
Generated Node #0,3,1: 26:[20, 13] Operation: 22-9=13
Exploring Operation: 22-20=2, Resulting Numbers: [9, 2]
Generated Node #0,3,2: 26:[9, 2] Operation: 22-20=2
Exploring Operation: 20+9=29, Resulting Numbers: [22, 29]
Generated Node #0,3,3: 26:[22, 29] Operation: 20+9=29
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 26:[9, 2], Operations: ['44-35=9', '22-20=2']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,26 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 26:[22, 11], Operations: ['44-35=9', '20-9=11']
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 22*11=242, Resulting Numbers: [242]
242,26 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Exploring Operation: 22+11=33, Resulting Numbers: [33]
33,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 26:[20, 13], Operations: ['44-35=9', '22-9=13']
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,26 unequal: No Solution
Exploring Operation: 20*13=260, Resulting Numbers: [260]
260,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 26:[22, 29], Operations: ['44-35=9', '20+9=29']
Exploring Operation: 22+29=51, Resulting Numbers: [51]
51,26 unequal: No Solution
Exploring Operation: 29-22=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 22*29=638, Resulting Numbers: [638]
638,26 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: 26:[22, 35, 24], Operations: ['44-20=24']
Exploring Operation: 22+24=46, Resulting Numbers: [35, 46]
Generated Node #0,2,0: 26:[35, 46] Operation: 22+24=46
Exploring Operation: 35-22=13, Resulting Numbers: [24, 13]
Generated Node #0,2,1: 26:[24, 13] Operation: 35-22=13
Exploring Operation: 35-24=11, Resulting Numbers: [22, 11]
Generated Node #0,2,2: 26:[22, 11] Operation: 35-24=11
Exploring Operation: 24-22=2, Resulting Numbers: [35, 2]
Generated Node #0,2,3: 26:[35, 2] Operation: 24-22=2
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 26:[24, 13], Operations: ['44-20=24', '35-22=13']
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Exploring Operation: 24+13=37, Resulting Numbers: [37]
37,26 unequal: No Solution
Exploring Operation: 24*13=312, Resulting Numbers: [312]
312,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 26:[22, 11], Operations: ['44-20=24', '35-24=11']
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Exploring Operation: 22*11=242, Resulting Numbers: [242]
242,26 unequal: No Solution
Exploring Operation: 22+11=33, Resulting Numbers: [33]
33,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 26:[35, 2], Operations: ['44-20=24', '24-22=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,26 unequal: No Solution
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,26 unequal: No Solution
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 26:[35, 46], Operations: ['44-20=24', '22+24=46']
Exploring Operation: 35+46=81, Resulting Numbers: [81]
81,26 unequal: No Solution
Exploring Operation: 35*46=1610, Resulting Numbers: [1610]
1610,26 unequal: No Solution
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 26:[35, 20, 2], Operations: ['44/22=2']
Exploring Operation: 35-20=15, Resulting Numbers: [2, 15]
Generated Node #0,1,0: 26:[2, 15] Operation: 35-20=15
Exploring Operation: 35-2=33, Resulting Numbers: [20, 33]
Generated Node #0,1,1: 26:[20, 33] Operation: 35-2=33
Exploring Operation: 20+2=22, Resulting Numbers: [35, 22]
Generated Node #0,1,2: 26:[35, 22] Operation: 20+2=22
Exploring Operation: 20/2=10, Resulting Numbers: [35, 10]
Generated Node #0,1,3: 26:[35, 10] Operation: 20/2=10
Moving to Node #0,0
Current State: 26:[35, 20, 22], Operations: ['44-22=22']
Exploring Operation: 22-20=2, Resulting Numbers: [35, 2]
Generated Node #0,0,0: 26:[35, 2] Operation: 22-20=2
Exploring Operation: 35-22=13, Resulting Numbers: [20, 13]
Generated Node #0,0,1: 26:[20, 13] Operation: 35-22=13
Exploring Operation: 35-20=15, Resulting Numbers: [22, 15]
Generated Node #0,0,2: 26:[22, 15] Operation: 35-20=15
Exploring Operation: 20+22=42, Resulting Numbers: [35, 42]
Generated Node #0,0,3: 26:[35, 42] Operation: 20+22=42
Moving to Node #0,1,0
Current State: 26:[2, 15], Operations: ['44/22=2', '35-20=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[22, 15], Operations: ['44-22=22', '35-20=15']
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,26 unequal: No Solution
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 22*15=330, Resulting Numbers: [330]
330,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[20, 13], Operations: ['44-22=22', '35-22=13']
Exploring Operation: 20*13=260, Resulting Numbers: [260]
260,26 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[35, 2], Operations: ['44-22=22', '22-20=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,26 unequal: No Solution
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,26 unequal: No Solution
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,26 unequal: No Solution
Moving to Node #0,1,3
Current State: 26:[35, 10], Operations: ['44/22=2', '20/2=10']
Exploring Operation: 35*10=350, Resulting Numbers: [350]
350,26 unequal: No Solution
Exploring Operation: 35+10=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[20, 33], Operations: ['44/22=2', '35-2=33']
Exploring Operation: 20*33=660, Resulting Numbers: [660]
660,26 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 20+33=53, Resulting Numbers: [53]
53,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[35, 22], Operations: ['44/22=2', '20+2=22']
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 35+22=57, Resulting Numbers: [57]
57,26 unequal: No Solution
Exploring Operation: 35*22=770, Resulting Numbers: [770]
770,26 unequal: No Solution
Moving to Node #0,0,3
Current State: 26:[35, 42], Operations: ['44-22=22', '20+22=42']
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 35*42=1470, Resulting Numbers: [1470]
1470,26 unequal: No Solution
Exploring Operation: 35+42=77, Resulting Numbers: [77]
77,26 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
1,
7,
71,
28
] | 51 |
[
"1+7=8",
"71-28=43",
"8+43=51"
] |
Current State: 51:[1, 7, 71, 28], Operations: []
Exploring Operation: 1+7=8, Resulting Numbers: [71, 28, 8]
Generated Node #2: [71, 28, 8] from Operation: 1+7=8
Current State: 51:[71, 28, 8], Operations: ['1+7=8']
Exploring Operation: 71-28=43, Resulting Numbers: [8, 43]
Generated Node #3: [8, 43] from Operation: 71-28=43
Current State: 51:[8, 43], Operations: ['1+7=8', '71-28=43']
Exploring Operation: 8+43=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 |
Current State: 51:[1, 7, 71, 28], Operations: []
Exploring Operation: 28/7=4, Resulting Numbers: [1, 71, 4]
Generated Node #0,0: 51:[1, 71, 4] Operation: 28/7=4
Exploring Operation: 71-7=64, Resulting Numbers: [1, 28, 64]
Generated Node #0,1: 51:[1, 28, 64] Operation: 71-7=64
Exploring Operation: 71-28=43, Resulting Numbers: [1, 7, 43]
Generated Node #0,2: 51:[1, 7, 43] Operation: 71-28=43
Exploring Operation: 7-1=6, Resulting Numbers: [71, 28, 6]
Generated Node #0,3: 51:[71, 28, 6] Operation: 7-1=6
Exploring Operation: 28-7=21, Resulting Numbers: [1, 71, 21]
Generated Node #0,4: 51:[1, 71, 21] Operation: 28-7=21
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[1, 7, 43], Operations: ['71-28=43']
Exploring Operation: 1+43=44, Resulting Numbers: [7, 44]
Generated Node #0,2,0: 51:[7, 44] Operation: 1+43=44
Exploring Operation: 1*7=7, Resulting Numbers: [43, 7]
Generated Node #0,2,1: 51:[43, 7] Operation: 1*7=7
Exploring Operation: 7/1=7, Resulting Numbers: [43, 7]
Generated Node #0,2,2: 51:[43, 7] Operation: 7/1=7
Exploring Operation: 7+43=50, Resulting Numbers: [1, 50]
Generated Node #0,2,3: 51:[1, 50] Operation: 7+43=50
Exploring Operation: 7-1=6, Resulting Numbers: [43, 6]
Generated Node #0,2,4: 51:[43, 6] Operation: 7-1=6
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 51:[1, 50], Operations: ['71-28=43', '7+43=50']
Exploring Operation: 1*50=50, Resulting Numbers: [50]
50,51 unequal: No Solution
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,51 unequal: No Solution
Exploring Operation: 1+50=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[1, 7, 71, 28], Operations: []
Exploring Operation: 71-28=43, Resulting Numbers: [1, 7, 43]
Generated Node #0,2: 51:[1, 7, 43] Operation: 71-28=43
Moving to Node #0,2
Current State: 51:[1, 7, 43], Operations: ['71-28=43']
Exploring Operation: 7+43=50, Resulting Numbers: [1, 50]
Generated Node #0,2,3: 51:[1, 50] Operation: 7+43=50
Moving to Node #0,2,3
Current State: 51:[1, 50], Operations: ['71-28=43', '7+43=50']
Exploring Operation: 1+50=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 |
hs_5
|
sum_heuristic
|
[
18,
43,
19,
61
] | 17 |
[
"43-18=25",
"61-19=42",
"42-25=17"
] |
Current State: 17:[18, 43, 19, 61], Operations: []
Exploring Operation: 43-18=25, Resulting Numbers: [19, 61, 25]
Generated Node #2: [19, 61, 25] from Operation: 43-18=25
Current State: 17:[19, 61, 25], Operations: ['43-18=25']
Exploring Operation: 61-19=42, Resulting Numbers: [25, 42]
Generated Node #3: [25, 42] from Operation: 61-19=42
Current State: 17:[25, 42], Operations: ['43-18=25', '61-19=42']
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 |
Current State: 17:[18, 43, 19, 61], Operations: []
Exploring Operation: 61-19=42, Resulting Numbers: [18, 43, 42]
Generated Node #0,0: 17:[18, 43, 42] Operation: 61-19=42
Exploring Operation: 43-19=24, Resulting Numbers: [18, 61, 24]
Generated Node #0,1: 17:[18, 61, 24] Operation: 43-19=24
Exploring Operation: 61-43=18, Resulting Numbers: [18, 19, 18]
Generated Node #0,2: 17:[18, 19, 18] Operation: 61-43=18
Moving to Node #0,2
Current State: 17:[18, 19, 18], Operations: ['61-43=18']
Exploring Operation: 19-18=1, Resulting Numbers: [18, 1]
Generated Node #0,2,0: 17:[18, 1] Operation: 19-18=1
Exploring Operation: 18/18=1, Resulting Numbers: [19, 1]
Generated Node #0,2,1: 17:[19, 1] Operation: 18/18=1
Exploring Operation: 19-18=1, Resulting Numbers: [18, 1]
Generated Node #0,2,2: 17:[18, 1] Operation: 19-18=1
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 17:[18, 1], Operations: ['61-43=18', '19-18=1']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[18, 43, 19, 61], Operations: []
Exploring Operation: 61-43=18, Resulting Numbers: [18, 19, 18]
Generated Node #0,2: 17:[18, 19, 18] Operation: 61-43=18
Moving to Node #0,2
Current State: 17:[18, 19, 18], Operations: ['61-43=18']
Exploring Operation: 19-18=1, Resulting Numbers: [18, 1]
Generated Node #0,2,0: 17:[18, 1] Operation: 19-18=1
Moving to Node #0,2,0
Current State: 17:[18, 1], Operations: ['61-43=18', '19-18=1']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 |
hs_3
|
mult_heuristic
|
[
44,
1,
6,
37
] | 43 |
[
"44-37=7",
"6*7=42",
"1+42=43"
] |
Current State: 43:[44, 1, 6, 37], Operations: []
Exploring Operation: 44-37=7, Resulting Numbers: [1, 6, 7]
Generated Node #2: [1, 6, 7] from Operation: 44-37=7
Current State: 43:[1, 6, 7], Operations: ['44-37=7']
Exploring Operation: 6*7=42, Resulting Numbers: [1, 42]
Generated Node #3: [1, 42] from Operation: 6*7=42
Current State: 43:[1, 42], Operations: ['44-37=7', '6*7=42']
Exploring Operation: 1+42=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 |
Current State: 43:[44, 1, 6, 37], Operations: []
Exploring Operation: 44*1=44, Resulting Numbers: [6, 37, 44]
Generated Node #0,0: 43:[6, 37, 44] Operation: 44*1=44
Exploring Operation: 6+37=43, Resulting Numbers: [44, 1, 43]
Generated Node #0,1: 43:[44, 1, 43] Operation: 6+37=43
Exploring Operation: 44-1=43, Resulting Numbers: [6, 37, 43]
Generated Node #0,2: 43:[6, 37, 43] Operation: 44-1=43
Exploring Operation: 1+37=38, Resulting Numbers: [44, 6, 38]
Generated Node #0,3: 43:[44, 6, 38] Operation: 1+37=38
Exploring Operation: 1+6=7, Resulting Numbers: [44, 37, 7]
Generated Node #0,4: 43:[44, 37, 7] Operation: 1+6=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[44, 1, 43], Operations: ['6+37=43']
Exploring Operation: 1*43=43, Resulting Numbers: [44, 43]
Generated Node #0,1,0: 43:[44, 43] Operation: 1*43=43
Exploring Operation: 44*1=44, Resulting Numbers: [43, 44]
Generated Node #0,1,1: 43:[43, 44] Operation: 44*1=44
Exploring Operation: 44-1=43, Resulting Numbers: [43, 43]
Generated Node #0,1,2: 43:[43, 43] Operation: 44-1=43
Exploring Operation: 43/1=43, Resulting Numbers: [44, 43]
Generated Node #0,1,3: 43:[44, 43] Operation: 43/1=43
Exploring Operation: 44/1=44, Resulting Numbers: [43, 44]
Generated Node #0,1,4: 43:[43, 44] Operation: 44/1=44
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 43:[43, 43], Operations: ['6+37=43', '44-1=43']
Exploring Operation: 43+43=86, Resulting Numbers: [86]
86,43 unequal: No Solution
Exploring Operation: 43/43=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 43*43=1849, Resulting Numbers: [1849]
1849,43 unequal: No Solution
Exploring Operation: 43-43=0, Resulting Numbers: [0]
0,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[44, 43], Operations: ['6+37=43', '1*43=43']
Exploring Operation: 44*43=1892, Resulting Numbers: [1892]
1892,43 unequal: No Solution
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 44+43=87, Resulting Numbers: [87]
87,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 43:[43, 44], Operations: ['6+37=43', '44*1=44']
Exploring Operation: 43+44=87, Resulting Numbers: [87]
87,43 unequal: No Solution
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 43*44=1892, Resulting Numbers: [1892]
1892,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 43:[44, 43], Operations: ['6+37=43', '43/1=43']
Exploring Operation: 44*43=1892, Resulting Numbers: [1892]
1892,43 unequal: No Solution
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 44+43=87, Resulting Numbers: [87]
87,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 43:[43, 44], Operations: ['6+37=43', '44/1=44']
Exploring Operation: 43*44=1892, Resulting Numbers: [1892]
1892,43 unequal: No Solution
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 43+44=87, Resulting Numbers: [87]
87,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[6, 37, 43], Operations: ['44-1=43']
Exploring Operation: 37+43=80, Resulting Numbers: [6, 80]
Generated Node #0,2,0: 43:[6, 80] Operation: 37+43=80
Exploring Operation: 37-6=31, Resulting Numbers: [43, 31]
Generated Node #0,2,1: 43:[43, 31] Operation: 37-6=31
Exploring Operation: 6+37=43, Resulting Numbers: [43, 43]
Generated Node #0,2,2: 43:[43, 43] Operation: 6+37=43
Exploring Operation: 6+43=49, Resulting Numbers: [37, 49]
Generated Node #0,2,3: 43:[37, 49] Operation: 6+43=49
Exploring Operation: 43-6=37, Resulting Numbers: [37, 37]
Generated Node #0,2,4: 43:[37, 37] Operation: 43-6=37
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 43:[43, 43], Operations: ['44-1=43', '6+37=43']
Exploring Operation: 43+43=86, Resulting Numbers: [86]
86,43 unequal: No Solution
Exploring Operation: 43*43=1849, Resulting Numbers: [1849]
1849,43 unequal: No Solution
Exploring Operation: 43/43=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 43-43=0, Resulting Numbers: [0]
0,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[43, 31], Operations: ['44-1=43', '37-6=31']
Exploring Operation: 43+31=74, Resulting Numbers: [74]
74,43 unequal: No Solution
Exploring Operation: 43*31=1333, Resulting Numbers: [1333]
1333,43 unequal: No Solution
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 43:[37, 49], Operations: ['44-1=43', '6+43=49']
Exploring Operation: 37*49=1813, Resulting Numbers: [1813]
1813,43 unequal: No Solution
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 37+49=86, Resulting Numbers: [86]
86,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 43:[37, 37], Operations: ['44-1=43', '43-6=37']
Exploring Operation: 37-37=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Exploring Operation: 37/37=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 37*37=1369, Resulting Numbers: [1369]
1369,43 unequal: No Solution
Exploring Operation: 37+37=74, Resulting Numbers: [74]
74,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[6, 80], Operations: ['44-1=43', '37+43=80']
Exploring Operation: 6+80=86, Resulting Numbers: [86]
86,43 unequal: No Solution
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,43 unequal: No Solution
Exploring Operation: 6*80=480, Resulting Numbers: [480]
480,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 43:[44, 6, 38], Operations: ['1+37=38']
Exploring Operation: 38-6=32, Resulting Numbers: [44, 32]
Generated Node #0,3,0: 43:[44, 32] Operation: 38-6=32
Exploring Operation: 44-6=38, Resulting Numbers: [38, 38]
Generated Node #0,3,1: 43:[38, 38] Operation: 44-6=38
Exploring Operation: 44-38=6, Resulting Numbers: [6, 6]
Generated Node #0,3,2: 43:[6, 6] Operation: 44-38=6
Exploring Operation: 6+38=44, Resulting Numbers: [44, 44]
Generated Node #0,3,3: 43:[44, 44] Operation: 6+38=44
Exploring Operation: 44+6=50, Resulting Numbers: [38, 50]
Generated Node #0,3,4: 43:[38, 50] Operation: 44+6=50
Moving to Node #0,3,3
Current State: 43:[44, 44], Operations: ['1+37=38', '6+38=44']
Exploring Operation: 44*44=1936, Resulting Numbers: [1936]
1936,43 unequal: No Solution
Exploring Operation: 44/44=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 44-44=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Exploring Operation: 44+44=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Moving to Node #0,3,1
Current State: 43:[38, 38], Operations: ['1+37=38', '44-6=38']
Exploring Operation: 38-38=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Exploring Operation: 38*38=1444, Resulting Numbers: [1444]
1444,43 unequal: No Solution
Exploring Operation: 38/38=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,43 unequal: No Solution
Moving to Node #0,3,0
Current State: 43:[44, 32], Operations: ['1+37=38', '38-6=32']
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 44+32=76, Resulting Numbers: [76]
76,43 unequal: No Solution
Exploring Operation: 44*32=1408, Resulting Numbers: [1408]
1408,43 unequal: No Solution
Moving to Node #0,3,4
Current State: 43:[38, 50], Operations: ['1+37=38', '44+6=50']
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 38*50=1900, Resulting Numbers: [1900]
1900,43 unequal: No Solution
Exploring Operation: 38+50=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Moving to Node #0,3,2
Current State: 43:[6, 6], Operations: ['1+37=38', '44-38=6']
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 43:[44, 37, 7], Operations: ['1+6=7']
Exploring Operation: 44-7=37, Resulting Numbers: [37, 37]
Generated Node #0,4,0: 43:[37, 37] Operation: 44-7=37
Exploring Operation: 37+7=44, Resulting Numbers: [44, 44]
Generated Node #0,4,1: 43:[44, 44] Operation: 37+7=44
Exploring Operation: 37-7=30, Resulting Numbers: [44, 30]
Generated Node #0,4,2: 43:[44, 30] Operation: 37-7=30
Exploring Operation: 44-37=7, Resulting Numbers: [7, 7]
Generated Node #0,4,3: 43:[7, 7] Operation: 44-37=7
Exploring Operation: 44+7=51, Resulting Numbers: [37, 51]
Generated Node #0,4,4: 43:[37, 51] Operation: 44+7=51
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 43:[44, 44], Operations: ['1+6=7', '37+7=44']
Exploring Operation: 44*44=1936, Resulting Numbers: [1936]
1936,43 unequal: No Solution
Exploring Operation: 44/44=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 44-44=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Exploring Operation: 44+44=88, Resulting Numbers: [88]
88,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 43:[37, 37], Operations: ['1+6=7', '44-7=37']
Exploring Operation: 37+37=74, Resulting Numbers: [74]
74,43 unequal: No Solution
Exploring Operation: 37-37=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Exploring Operation: 37/37=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 37*37=1369, Resulting Numbers: [1369]
1369,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 43:[44, 30], Operations: ['1+6=7', '37-7=30']
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,43 unequal: No Solution
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 44*30=1320, Resulting Numbers: [1320]
1320,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 43:[37, 51], Operations: ['1+6=7', '44+7=51']
Exploring Operation: 51-37=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 37+51=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 37*51=1887, Resulting Numbers: [1887]
1887,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 43:[7, 7], Operations: ['1+6=7', '44-37=7']
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,43 unequal: No Solution
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[6, 37, 44], Operations: ['44*1=44']
Exploring Operation: 37-6=31, Resulting Numbers: [44, 31]
Generated Node #0,0,0: 43:[44, 31] Operation: 37-6=31
Exploring Operation: 6+44=50, Resulting Numbers: [37, 50]
Generated Node #0,0,1: 43:[37, 50] Operation: 6+44=50
Exploring Operation: 44-6=38, Resulting Numbers: [37, 38]
Generated Node #0,0,2: 43:[37, 38] Operation: 44-6=38
Exploring Operation: 6+37=43, Resulting Numbers: [44, 43]
Generated Node #0,0,3: 43:[44, 43] Operation: 6+37=43
Exploring Operation: 44-37=7, Resulting Numbers: [6, 7]
Generated Node #0,0,4: 43:[6, 7] Operation: 44-37=7
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 43:[44, 43], Operations: ['44*1=44', '6+37=43']
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 44+43=87, Resulting Numbers: [87]
87,43 unequal: No Solution
Exploring Operation: 44*43=1892, Resulting Numbers: [1892]
1892,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 43:[37, 38], Operations: ['44*1=44', '44-6=38']
Exploring Operation: 37+38=75, Resulting Numbers: [75]
75,43 unequal: No Solution
Exploring Operation: 37*38=1406, Resulting Numbers: [1406]
1406,43 unequal: No Solution
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[44, 31], Operations: ['44*1=44', '37-6=31']
Exploring Operation: 44+31=75, Resulting Numbers: [75]
75,43 unequal: No Solution
Exploring Operation: 44*31=1364, Resulting Numbers: [1364]
1364,43 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[37, 50], Operations: ['44*1=44', '6+44=50']
Exploring Operation: 37+50=87, Resulting Numbers: [87]
87,43 unequal: No Solution
Exploring Operation: 37*50=1850, Resulting Numbers: [1850]
1850,43 unequal: No Solution
Exploring Operation: 50-37=13, Resulting Numbers: [13]
13,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 43:[6, 7], Operations: ['44*1=44', '44-37=7']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,43 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
20,
78,
18,
74
] | 92 |
[
"78-74=4",
"18*4=72",
"20+72=92"
] |
Current State: 92:[20, 78, 18, 74], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [20, 18, 4]
Generated Node #2: [20, 18, 4] from Operation: 78-74=4
Current State: 92:[20, 18, 4], Operations: ['78-74=4']
Exploring Operation: 18*4=72, Resulting Numbers: [20, 72]
Generated Node #3: [20, 72] from Operation: 18*4=72
Current State: 92:[20, 72], Operations: ['78-74=4', '18*4=72']
Exploring Operation: 20+72=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 |
Current State: 92:[20, 78, 18, 74], Operations: []
Exploring Operation: 20+74=94, Resulting Numbers: [78, 18, 94]
Generated Node #0,0: 92:[78, 18, 94] Operation: 20+74=94
Exploring Operation: 78-74=4, Resulting Numbers: [20, 18, 4]
Generated Node #0,1: 92:[20, 18, 4] Operation: 78-74=4
Exploring Operation: 18+74=92, Resulting Numbers: [20, 78, 92]
Generated Node #0,2: 92:[20, 78, 92] Operation: 18+74=92
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[20, 18, 4], Operations: ['78-74=4']
Exploring Operation: 20+4=24, Resulting Numbers: [18, 24]
Generated Node #0,1,0: 92:[18, 24] Operation: 20+4=24
Exploring Operation: 18+4=22, Resulting Numbers: [20, 22]
Generated Node #0,1,1: 92:[20, 22] Operation: 18+4=22
Exploring Operation: 20-18=2, Resulting Numbers: [4, 2]
Generated Node #0,1,2: 92:[4, 2] Operation: 20-18=2
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 92:[4, 2], Operations: ['78-74=4', '20-18=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 92:[20, 22], Operations: ['78-74=4', '18+4=22']
Exploring Operation: 20*22=440, Resulting Numbers: [440]
440,92 unequal: No Solution
Exploring Operation: 20+22=42, Resulting Numbers: [42]
42,92 unequal: No Solution
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 92:[18, 24], Operations: ['78-74=4', '20+4=24']
Exploring Operation: 18*24=432, Resulting Numbers: [432]
432,92 unequal: No Solution
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 18+24=42, Resulting Numbers: [42]
42,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[20, 78, 92], Operations: ['18+74=92']
Exploring Operation: 20+78=98, Resulting Numbers: [92, 98]
Generated Node #0,2,0: 92:[92, 98] Operation: 20+78=98
Exploring Operation: 78-20=58, Resulting Numbers: [92, 58]
Generated Node #0,2,1: 92:[92, 58] Operation: 78-20=58
Exploring Operation: 92-78=14, Resulting Numbers: [20, 14]
Generated Node #0,2,2: 92:[20, 14] Operation: 92-78=14
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 92:[92, 98], Operations: ['18+74=92', '20+78=98']
Exploring Operation: 98-92=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 92+98=190, Resulting Numbers: [190]
190,92 unequal: No Solution
Exploring Operation: 92*98=9016, Resulting Numbers: [9016]
9016,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 92:[92, 58], Operations: ['18+74=92', '78-20=58']
Exploring Operation: 92+58=150, Resulting Numbers: [150]
150,92 unequal: No Solution
Exploring Operation: 92-58=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 92*58=5336, Resulting Numbers: [5336]
5336,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 92:[20, 14], Operations: ['18+74=92', '92-78=14']
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,92 unequal: No Solution
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[78, 18, 94], Operations: ['20+74=94']
Exploring Operation: 78+18=96, Resulting Numbers: [94, 96]
Generated Node #0,0,0: 92:[94, 96] Operation: 78+18=96
Exploring Operation: 94-78=16, Resulting Numbers: [18, 16]
Generated Node #0,0,1: 92:[18, 16] Operation: 94-78=16
Exploring Operation: 78-18=60, Resulting Numbers: [94, 60]
Generated Node #0,0,2: 92:[94, 60] Operation: 78-18=60
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[94, 96], Operations: ['20+74=94', '78+18=96']
Exploring Operation: 94*96=9024, Resulting Numbers: [9024]
9024,92 unequal: No Solution
Exploring Operation: 96-94=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 94+96=190, Resulting Numbers: [190]
190,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 92:[18, 16], Operations: ['20+74=94', '94-78=16']
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,92 unequal: No Solution
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 92:[94, 60], Operations: ['20+74=94', '78-18=60']
Exploring Operation: 94*60=5640, Resulting Numbers: [5640]
5640,92 unequal: No Solution
Exploring Operation: 94-60=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 94+60=154, Resulting Numbers: [154]
154,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
10,
80,
88,
37
] | 43 |
[
"80/10=8",
"88-37=51",
"51-8=43"
] |
Current State: 43:[10, 80, 88, 37], Operations: []
Exploring Operation: 80/10=8, Resulting Numbers: [88, 37, 8]
Generated Node #2: [88, 37, 8] from Operation: 80/10=8
Current State: 43:[88, 37, 8], Operations: ['80/10=8']
Exploring Operation: 88-37=51, Resulting Numbers: [8, 51]
Generated Node #3: [8, 51] from Operation: 88-37=51
Current State: 43:[8, 51], Operations: ['80/10=8', '88-37=51']
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 |
Current State: 43:[10, 80, 88, 37], Operations: []
Exploring Operation: 88-10=78, Resulting Numbers: [80, 37, 78]
Generated Node #0,0: 43:[80, 37, 78] Operation: 88-10=78
Exploring Operation: 88-80=8, Resulting Numbers: [10, 37, 8]
Generated Node #0,1: 43:[10, 37, 8] Operation: 88-80=8
Exploring Operation: 80-10=70, Resulting Numbers: [88, 37, 70]
Generated Node #0,2: 43:[88, 37, 70] Operation: 80-10=70
Moving to Node #0,1
Current State: 43:[10, 37, 8], Operations: ['88-80=8']
Exploring Operation: 37+8=45, Resulting Numbers: [10, 45]
Generated Node #0,1,0: 43:[10, 45] Operation: 37+8=45
Exploring Operation: 10+8=18, Resulting Numbers: [37, 18]
Generated Node #0,1,1: 43:[37, 18] Operation: 10+8=18
Exploring Operation: 10+37=47, Resulting Numbers: [8, 47]
Generated Node #0,1,2: 43:[8, 47] Operation: 10+37=47
Moving to Node #0,0
Current State: 43:[80, 37, 78], Operations: ['88-10=78']
Exploring Operation: 78-37=41, Resulting Numbers: [80, 41]
Generated Node #0,0,0: 43:[80, 41] Operation: 78-37=41
Exploring Operation: 80-78=2, Resulting Numbers: [37, 2]
Generated Node #0,0,1: 43:[37, 2] Operation: 80-78=2
Exploring Operation: 80-37=43, Resulting Numbers: [78, 43]
Generated Node #0,0,2: 43:[78, 43] Operation: 80-37=43
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 43:[78, 43], Operations: ['88-10=78', '80-37=43']
Exploring Operation: 78-43=35, Resulting Numbers: [35]
35,43 unequal: No Solution
Exploring Operation: 78*43=3354, Resulting Numbers: [3354]
3354,43 unequal: No Solution
Exploring Operation: 78+43=121, Resulting Numbers: [121]
121,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[80, 41], Operations: ['88-10=78', '78-37=41']
Exploring Operation: 80-41=39, Resulting Numbers: [39]
39,43 unequal: No Solution
Exploring Operation: 80+41=121, Resulting Numbers: [121]
121,43 unequal: No Solution
Exploring Operation: 80*41=3280, Resulting Numbers: [3280]
3280,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[37, 2], Operations: ['88-10=78', '80-78=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,43 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,43 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,43 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: 43:[88, 37, 70], Operations: ['80-10=70']
Exploring Operation: 88-70=18, Resulting Numbers: [37, 18]
Generated Node #0,2,0: 43:[37, 18] Operation: 88-70=18
Exploring Operation: 88-37=51, Resulting Numbers: [70, 51]
Generated Node #0,2,1: 43:[70, 51] Operation: 88-37=51
Exploring Operation: 70-37=33, Resulting Numbers: [88, 33]
Generated Node #0,2,2: 43:[88, 33] Operation: 70-37=33
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 43:[37, 18], Operations: ['80-10=70', '88-70=18']
Exploring Operation: 37*18=666, Resulting Numbers: [666]
666,43 unequal: No Solution
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,43 unequal: No Solution
Exploring Operation: 37+18=55, Resulting Numbers: [55]
55,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 43:[70, 51], Operations: ['80-10=70', '88-37=51']
Exploring Operation: 70+51=121, Resulting Numbers: [121]
121,43 unequal: No Solution
Exploring Operation: 70-51=19, Resulting Numbers: [19]
19,43 unequal: No Solution
Exploring Operation: 70*51=3570, Resulting Numbers: [3570]
3570,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 43:[88, 33], Operations: ['80-10=70', '70-37=33']
Exploring Operation: 88+33=121, Resulting Numbers: [121]
121,43 unequal: No Solution
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 88*33=2904, Resulting Numbers: [2904]
2904,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 43:[37, 18], Operations: ['88-80=8', '10+8=18']
Exploring Operation: 37*18=666, Resulting Numbers: [666]
666,43 unequal: No Solution
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,43 unequal: No Solution
Exploring Operation: 37+18=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[10, 45], Operations: ['88-80=8', '37+8=45']
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 10*45=450, Resulting Numbers: [450]
450,43 unequal: No Solution
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[8, 47], Operations: ['88-80=8', '10+37=47']
Exploring Operation: 8+47=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,43 unequal: No Solution
Exploring Operation: 8*47=376, Resulting Numbers: [376]
376,43 unequal: No Solution
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
23,
17,
66,
14
] | 40 |
[
"23+17=40",
"66+14=80",
"80-40=40"
] |
Current State: 40:[23, 17, 66, 14], Operations: []
Exploring Operation: 23+17=40, Resulting Numbers: [66, 14, 40]
Generated Node #2: [66, 14, 40] from Operation: 23+17=40
Current State: 40:[66, 14, 40], Operations: ['23+17=40']
Exploring Operation: 66+14=80, Resulting Numbers: [40, 80]
Generated Node #3: [40, 80] from Operation: 66+14=80
Current State: 40:[40, 80], Operations: ['23+17=40', '66+14=80']
Exploring Operation: 80-40=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 |
Current State: 40:[23, 17, 66, 14], Operations: []
Exploring Operation: 66-23=43, Resulting Numbers: [17, 14, 43]
Generated Node #0,0: 40:[17, 14, 43] Operation: 66-23=43
Moving to Node #0,0
Current State: 40:[17, 14, 43], Operations: ['66-23=43']
Exploring Operation: 17-14=3, Resulting Numbers: [43, 3]
Generated Node #0,0,0: 40:[43, 3] Operation: 17-14=3
Moving to Node #0,0,0
Current State: 40:[43, 3], Operations: ['66-23=43', '17-14=3']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[23, 17, 66, 14], Operations: []
Exploring Operation: 66-23=43, Resulting Numbers: [17, 14, 43]
Generated Node #0,0: 40:[17, 14, 43] Operation: 66-23=43
Moving to Node #0,0
Current State: 40:[17, 14, 43], Operations: ['66-23=43']
Exploring Operation: 17-14=3, Resulting Numbers: [43, 3]
Generated Node #0,0,0: 40:[43, 3] Operation: 17-14=3
Moving to Node #0,0,0
Current State: 40:[43, 3], Operations: ['66-23=43', '17-14=3']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 0.993924 |
hs_1
|
mult_heuristic
|
[
43,
30,
76,
40
] | 49 |
[
"43-30=13",
"76-40=36",
"13+36=49"
] |
Current State: 49:[43, 30, 76, 40], Operations: []
Exploring Operation: 43-30=13, Resulting Numbers: [76, 40, 13]
Generated Node #2: [76, 40, 13] from Operation: 43-30=13
Current State: 49:[76, 40, 13], Operations: ['43-30=13']
Exploring Operation: 76-40=36, Resulting Numbers: [13, 36]
Generated Node #3: [13, 36] from Operation: 76-40=36
Current State: 49:[13, 36], Operations: ['43-30=13', '76-40=36']
Exploring Operation: 13+36=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 |
Current State: 49:[43, 30, 76, 40], Operations: []
Exploring Operation: 43-30=13, Resulting Numbers: [76, 40, 13]
Generated Node #0,0: 49:[76, 40, 13] Operation: 43-30=13
Exploring Operation: 40-30=10, Resulting Numbers: [43, 76, 10]
Generated Node #0,1: 49:[43, 76, 10] Operation: 40-30=10
Exploring Operation: 76-30=46, Resulting Numbers: [43, 40, 46]
Generated Node #0,2: 49:[43, 40, 46] Operation: 76-30=46
Exploring Operation: 76-43=33, Resulting Numbers: [30, 40, 33]
Generated Node #0,3: 49:[30, 40, 33] Operation: 76-43=33
Exploring Operation: 76-40=36, Resulting Numbers: [43, 30, 36]
Generated Node #0,4: 49:[43, 30, 36] Operation: 76-40=36
Moving to Node #0,2
Current State: 49:[43, 40, 46], Operations: ['76-30=46']
Exploring Operation: 46-40=6, Resulting Numbers: [43, 6]
Generated Node #0,2,0: 49:[43, 6] Operation: 46-40=6
Exploring Operation: 40+46=86, Resulting Numbers: [43, 86]
Generated Node #0,2,1: 49:[43, 86] Operation: 40+46=86
Exploring Operation: 43-40=3, Resulting Numbers: [46, 3]
Generated Node #0,2,2: 49:[46, 3] Operation: 43-40=3
Exploring Operation: 46-43=3, Resulting Numbers: [40, 3]
Generated Node #0,2,3: 49:[40, 3] Operation: 46-43=3
Exploring Operation: 43+40=83, Resulting Numbers: [46, 83]
Generated Node #0,2,4: 49:[46, 83] Operation: 43+40=83
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 49:[43, 6], Operations: ['76-30=46', '46-40=6']
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[43, 30, 76, 40], Operations: []
Exploring Operation: 76-30=46, Resulting Numbers: [43, 40, 46]
Generated Node #0,2: 49:[43, 40, 46] Operation: 76-30=46
Moving to Node #0,2
Current State: 49:[43, 40, 46], Operations: ['76-30=46']
Exploring Operation: 46-40=6, Resulting Numbers: [43, 6]
Generated Node #0,2,0: 49:[43, 6] Operation: 46-40=6
Moving to Node #0,2,0
Current State: 49:[43, 6], Operations: ['76-30=46', '46-40=6']
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_5
|
mult_heuristic
|
[
39,
5,
17,
36
] | 25 |
[
"39+5=44",
"36-17=19",
"44-19=25"
] |
Current State: 25:[39, 5, 17, 36], Operations: []
Exploring Operation: 39+5=44, Resulting Numbers: [17, 36, 44]
Generated Node #2: [17, 36, 44] from Operation: 39+5=44
Current State: 25:[17, 36, 44], Operations: ['39+5=44']
Exploring Operation: 36-17=19, Resulting Numbers: [44, 19]
Generated Node #3: [44, 19] from Operation: 36-17=19
Current State: 25:[44, 19], Operations: ['39+5=44', '36-17=19']
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[39, 5, 17, 36], Operations: []
Exploring Operation: 39-17=22, Resulting Numbers: [5, 36, 22]
Generated Node #0,0: 25:[5, 36, 22] Operation: 39-17=22
Exploring Operation: 39-36=3, Resulting Numbers: [5, 17, 3]
Generated Node #0,1: 25:[5, 17, 3] Operation: 39-36=3
Exploring Operation: 36-17=19, Resulting Numbers: [39, 5, 19]
Generated Node #0,2: 25:[39, 5, 19] Operation: 36-17=19
Exploring Operation: 5+17=22, Resulting Numbers: [39, 36, 22]
Generated Node #0,3: 25:[39, 36, 22] Operation: 5+17=22
Exploring Operation: 39-5=34, Resulting Numbers: [17, 36, 34]
Generated Node #0,4: 25:[17, 36, 34] Operation: 39-5=34
Moving to Node #0,1
Current State: 25:[5, 17, 3], Operations: ['39-36=3']
Exploring Operation: 5+3=8, Resulting Numbers: [17, 8]
Generated Node #0,1,0: 25:[17, 8] Operation: 5+3=8
Exploring Operation: 17-5=12, Resulting Numbers: [3, 12]
Generated Node #0,1,1: 25:[3, 12] Operation: 17-5=12
Exploring Operation: 17+3=20, Resulting Numbers: [5, 20]
Generated Node #0,1,2: 25:[5, 20] Operation: 17+3=20
Exploring Operation: 17-3=14, Resulting Numbers: [5, 14]
Generated Node #0,1,3: 25:[5, 14] Operation: 17-3=14
Exploring Operation: 5+17=22, Resulting Numbers: [3, 22]
Generated Node #0,1,4: 25:[3, 22] Operation: 5+17=22
Moving to Node #0,0
Current State: 25:[5, 36, 22], Operations: ['39-17=22']
Exploring Operation: 36-5=31, Resulting Numbers: [22, 31]
Generated Node #0,0,0: 25:[22, 31] Operation: 36-5=31
Exploring Operation: 5+22=27, Resulting Numbers: [36, 27]
Generated Node #0,0,1: 25:[36, 27] Operation: 5+22=27
Exploring Operation: 5+36=41, Resulting Numbers: [22, 41]
Generated Node #0,0,2: 25:[22, 41] Operation: 5+36=41
Exploring Operation: 36-22=14, Resulting Numbers: [5, 14]
Generated Node #0,0,3: 25:[5, 14] Operation: 36-22=14
Exploring Operation: 22-5=17, Resulting Numbers: [36, 17]
Generated Node #0,0,4: 25:[36, 17] Operation: 22-5=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[22, 31], Operations: ['39-17=22', '36-5=31']
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 22*31=682, Resulting Numbers: [682]
682,25 unequal: No Solution
Exploring Operation: 22+31=53, Resulting Numbers: [53]
53,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:[5, 14], Operations: ['39-17=22', '36-22=14']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,25 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,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,1
Current State: 25:[36, 27], Operations: ['39-17=22', '5+22=27']
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 36+27=63, Resulting Numbers: [63]
63,25 unequal: No Solution
Exploring Operation: 36*27=972, Resulting Numbers: [972]
972,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:[22, 41], Operations: ['39-17=22', '5+36=41']
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 22*41=902, Resulting Numbers: [902]
902,25 unequal: No Solution
Exploring Operation: 22+41=63, Resulting Numbers: [63]
63,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,4
Current State: 25:[36, 17], Operations: ['39-17=22', '22-5=17']
Exploring Operation: 36*17=612, Resulting Numbers: [612]
612,25 unequal: No Solution
Exploring Operation: 36+17=53, Resulting Numbers: [53]
53,25 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,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:[39, 5, 19], Operations: ['36-17=19']
Exploring Operation: 39-19=20, Resulting Numbers: [5, 20]
Generated Node #0,2,0: 25:[5, 20] Operation: 39-19=20
Exploring Operation: 19-5=14, Resulting Numbers: [39, 14]
Generated Node #0,2,1: 25:[39, 14] Operation: 19-5=14
Exploring Operation: 39-5=34, Resulting Numbers: [19, 34]
Generated Node #0,2,2: 25:[19, 34] Operation: 39-5=34
Exploring Operation: 5+19=24, Resulting Numbers: [39, 24]
Generated Node #0,2,3: 25:[39, 24] Operation: 5+19=24
Exploring Operation: 39+5=44, Resulting Numbers: [19, 44]
Generated Node #0,2,4: 25:[19, 44] Operation: 39+5=44
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 25:[5, 20], Operations: ['36-17=19', '39-19=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,25 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[39, 5, 17, 36], Operations: []
Exploring Operation: 36-17=19, Resulting Numbers: [39, 5, 19]
Generated Node #0,2: 25:[39, 5, 19] Operation: 36-17=19
Moving to Node #0,2
Current State: 25:[39, 5, 19], Operations: ['36-17=19']
Exploring Operation: 39-19=20, Resulting Numbers: [5, 20]
Generated Node #0,2,0: 25:[5, 20] Operation: 39-19=20
Moving to Node #0,2,0
Current State: 25:[5, 20], Operations: ['36-17=19', '39-19=20']
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 |
hs_5
|
sum_heuristic
|
[
83,
53,
91,
83
] | 39 |
[
"83/83=1",
"91-53=38",
"1+38=39"
] |
Current State: 39:[83, 53, 91, 83], Operations: []
Exploring Operation: 83/83=1, Resulting Numbers: [53, 91, 1]
Generated Node #2: [53, 91, 1] from Operation: 83/83=1
Current State: 39:[53, 91, 1], Operations: ['83/83=1']
Exploring Operation: 91-53=38, Resulting Numbers: [1, 38]
Generated Node #3: [1, 38] from Operation: 91-53=38
Current State: 39:[1, 38], Operations: ['83/83=1', '91-53=38']
Exploring Operation: 1+38=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 |
Current State: 39:[83, 53, 91, 83], Operations: []
Exploring Operation: 83/83=1, Resulting Numbers: [53, 91, 1]
Generated Node #0,0: 39:[53, 91, 1] Operation: 83/83=1
Exploring Operation: 91-83=8, Resulting Numbers: [83, 53, 8]
Generated Node #0,1: 39:[83, 53, 8] Operation: 91-83=8
Exploring Operation: 83-83=0, Resulting Numbers: [53, 91, 0]
Generated Node #0,2: 39:[53, 91, 0] Operation: 83-83=0
Exploring Operation: 91-83=8, Resulting Numbers: [53, 83, 8]
Generated Node #0,3: 39:[53, 83, 8] Operation: 91-83=8
Moving to Node #0,1
Current State: 39:[83, 53, 8], Operations: ['91-83=8']
Exploring Operation: 83-53=30, Resulting Numbers: [8, 30]
Generated Node #0,1,0: 39:[8, 30] Operation: 83-53=30
Exploring Operation: 53-8=45, Resulting Numbers: [83, 45]
Generated Node #0,1,1: 39:[83, 45] Operation: 53-8=45
Exploring Operation: 83-8=75, Resulting Numbers: [53, 75]
Generated Node #0,1,2: 39:[53, 75] Operation: 83-8=75
Exploring Operation: 83+8=91, Resulting Numbers: [53, 91]
Generated Node #0,1,3: 39:[53, 91] Operation: 83+8=91
Moving to Node #0,3
Current State: 39:[53, 83, 8], Operations: ['91-83=8']
Exploring Operation: 53+8=61, Resulting Numbers: [83, 61]
Generated Node #0,3,0: 39:[83, 61] Operation: 53+8=61
Exploring Operation: 83-53=30, Resulting Numbers: [8, 30]
Generated Node #0,3,1: 39:[8, 30] Operation: 83-53=30
Exploring Operation: 83-8=75, Resulting Numbers: [53, 75]
Generated Node #0,3,2: 39:[53, 75] Operation: 83-8=75
Exploring Operation: 53-8=45, Resulting Numbers: [83, 45]
Generated Node #0,3,3: 39:[83, 45] Operation: 53-8=45
Moving to Node #0,0
Current State: 39:[53, 91, 1], Operations: ['83/83=1']
Exploring Operation: 91-53=38, Resulting Numbers: [1, 38]
Generated Node #0,0,0: 39:[1, 38] Operation: 91-53=38
Exploring Operation: 53-1=52, Resulting Numbers: [91, 52]
Generated Node #0,0,1: 39:[91, 52] Operation: 53-1=52
Exploring Operation: 91-1=90, Resulting Numbers: [53, 90]
Generated Node #0,0,2: 39:[53, 90] Operation: 91-1=90
Exploring Operation: 53*1=53, Resulting Numbers: [91, 53]
Generated Node #0,0,3: 39:[91, 53] Operation: 53*1=53
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[1, 38], Operations: ['83/83=1', '91-53=38']
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Exploring Operation: 1+38=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[83, 53, 91, 83], Operations: []
Exploring Operation: 83/83=1, Resulting Numbers: [53, 91, 1]
Generated Node #0,0: 39:[53, 91, 1] Operation: 83/83=1
Moving to Node #0,0
Current State: 39:[53, 91, 1], Operations: ['83/83=1']
Exploring Operation: 91-53=38, Resulting Numbers: [1, 38]
Generated Node #0,0,0: 39:[1, 38] Operation: 91-53=38
Moving to Node #0,0,0
Current State: 39:[1, 38], Operations: ['83/83=1', '91-53=38']
Exploring Operation: 1+38=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 |
hs_4
|
mult_heuristic
|
[
14,
7,
33,
27
] | 58 |
[
"14/7=2",
"33+27=60",
"60-2=58"
] |
Current State: 58:[14, 7, 33, 27], Operations: []
Exploring Operation: 14/7=2, Resulting Numbers: [33, 27, 2]
Generated Node #2: [33, 27, 2] from Operation: 14/7=2
Current State: 58:[33, 27, 2], Operations: ['14/7=2']
Exploring Operation: 33+27=60, Resulting Numbers: [2, 60]
Generated Node #3: [2, 60] from Operation: 33+27=60
Current State: 58:[2, 60], Operations: ['14/7=2', '33+27=60']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 |
Current State: 58:[14, 7, 33, 27], Operations: []
Exploring Operation: 14/7=2, Resulting Numbers: [33, 27, 2]
Generated Node #0,0: 58:[33, 27, 2] Operation: 14/7=2
Exploring Operation: 14-7=7, Resulting Numbers: [33, 27, 7]
Generated Node #0,1: 58:[33, 27, 7] Operation: 14-7=7
Exploring Operation: 14+7=21, Resulting Numbers: [33, 27, 21]
Generated Node #0,2: 58:[33, 27, 21] Operation: 14+7=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[33, 27, 2], Operations: ['14/7=2']
Exploring Operation: 33-27=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 58:[2, 6] Operation: 33-27=6
Exploring Operation: 33+27=60, Resulting Numbers: [2, 60]
Generated Node #0,0,1: 58:[2, 60] Operation: 33+27=60
Exploring Operation: 33-2=31, Resulting Numbers: [27, 31]
Generated Node #0,0,2: 58:[27, 31] Operation: 33-2=31
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 58:[2, 60], Operations: ['14/7=2', '33+27=60']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[14, 7, 33, 27], Operations: []
Exploring Operation: 14/7=2, Resulting Numbers: [33, 27, 2]
Generated Node #0,0: 58:[33, 27, 2] Operation: 14/7=2
Moving to Node #0,0
Current State: 58:[33, 27, 2], Operations: ['14/7=2']
Exploring Operation: 33+27=60, Resulting Numbers: [2, 60]
Generated Node #0,0,1: 58:[2, 60] Operation: 33+27=60
Moving to Node #0,0,1
Current State: 58:[2, 60], Operations: ['14/7=2', '33+27=60']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 |
hs_3
|
sum_heuristic
|
[
1,
24,
27,
2
] | 33 |
[
"1+2=3",
"27/3=9",
"24+9=33"
] |
Current State: 33:[1, 24, 27, 2], Operations: []
Exploring Operation: 1+2=3, Resulting Numbers: [24, 27, 3]
Generated Node #2: [24, 27, 3] from Operation: 1+2=3
Current State: 33:[24, 27, 3], Operations: ['1+2=3']
Exploring Operation: 27/3=9, Resulting Numbers: [24, 9]
Generated Node #3: [24, 9] from Operation: 27/3=9
Current State: 33:[24, 9], Operations: ['1+2=3', '27/3=9']
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 |
Current State: 33:[1, 24, 27, 2], Operations: []
Exploring Operation: 1+24=25, Resulting Numbers: [27, 2, 25]
Generated Node #0,0: 33:[27, 2, 25] Operation: 1+24=25
Exploring Operation: 1+27=28, Resulting Numbers: [24, 2, 28]
Generated Node #0,1: 33:[24, 2, 28] Operation: 1+27=28
Exploring Operation: 27-24=3, Resulting Numbers: [1, 2, 3]
Generated Node #0,2: 33:[1, 2, 3] Operation: 27-24=3
Exploring Operation: 1+2=3, Resulting Numbers: [24, 27, 3]
Generated Node #0,3: 33:[24, 27, 3] Operation: 1+2=3
Exploring Operation: 24/2=12, Resulting Numbers: [1, 27, 12]
Generated Node #0,4: 33:[1, 27, 12] Operation: 24/2=12
Moving to Node #0,2
Current State: 33:[1, 2, 3], Operations: ['27-24=3']
Exploring Operation: 1+2=3, Resulting Numbers: [3, 3]
Generated Node #0,2,0: 33:[3, 3] Operation: 1+2=3
Exploring Operation: 1*3=3, Resulting Numbers: [2, 3]
Generated Node #0,2,1: 33:[2, 3] Operation: 1*3=3
Exploring Operation: 1*2=2, Resulting Numbers: [3, 2]
Generated Node #0,2,2: 33:[3, 2] Operation: 1*2=2
Exploring Operation: 2/1=2, Resulting Numbers: [3, 2]
Generated Node #0,2,3: 33:[3, 2] Operation: 2/1=2
Exploring Operation: 3/1=3, Resulting Numbers: [2, 3]
Generated Node #0,2,4: 33:[2, 3] Operation: 3/1=3
Moving to Node #0,4
Current State: 33:[1, 27, 12], Operations: ['24/2=12']
Exploring Operation: 1*27=27, Resulting Numbers: [12, 27]
Generated Node #0,4,0: 33:[12, 27] Operation: 1*27=27
Exploring Operation: 27/1=27, Resulting Numbers: [12, 27]
Generated Node #0,4,1: 33:[12, 27] Operation: 27/1=27
Exploring Operation: 1+27=28, Resulting Numbers: [12, 28]
Generated Node #0,4,2: 33:[12, 28] Operation: 1+27=28
Exploring Operation: 27-12=15, Resulting Numbers: [1, 15]
Generated Node #0,4,3: 33:[1, 15] Operation: 27-12=15
Exploring Operation: 12-1=11, Resulting Numbers: [27, 11]
Generated Node #0,4,4: 33:[27, 11] Operation: 12-1=11
Moving to Node #0,0
Current State: 33:[27, 2, 25], Operations: ['1+24=25']
Exploring Operation: 27+2=29, Resulting Numbers: [25, 29]
Generated Node #0,0,0: 33:[25, 29] Operation: 27+2=29
Exploring Operation: 2+25=27, Resulting Numbers: [27, 27]
Generated Node #0,0,1: 33:[27, 27] Operation: 2+25=27
Exploring Operation: 25-2=23, Resulting Numbers: [27, 23]
Generated Node #0,0,2: 33:[27, 23] Operation: 25-2=23
Exploring Operation: 27-25=2, Resulting Numbers: [2, 2]
Generated Node #0,0,3: 33:[2, 2] Operation: 27-25=2
Exploring Operation: 27-2=25, Resulting Numbers: [25, 25]
Generated Node #0,0,4: 33:[25, 25] Operation: 27-2=25
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 33:[2, 2], Operations: ['1+24=25', '27-25=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,33 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,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,0,0
Current State: 33:[25, 29], Operations: ['1+24=25', '27+2=29']
Exploring Operation: 25+29=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 29-25=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 25*29=725, Resulting Numbers: [725]
725,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,0,1
Current State: 33:[27, 27], Operations: ['1+24=25', '2+25=27']
Exploring Operation: 27-27=0, Resulting Numbers: [0]
0,33 unequal: No Solution
Exploring Operation: 27+27=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 27*27=729, Resulting Numbers: [729]
729,33 unequal: No Solution
Exploring Operation: 27/27=1, Resulting Numbers: [1]
1,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,0,2
Current State: 33:[27, 23], Operations: ['1+24=25', '25-2=23']
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 27*23=621, Resulting Numbers: [621]
621,33 unequal: No Solution
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,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,0,4
Current State: 33:[25, 25], Operations: ['1+24=25', '27-2=25']
Exploring Operation: 25+25=50, Resulting Numbers: [50]
50,33 unequal: No Solution
Exploring Operation: 25*25=625, Resulting Numbers: [625]
625,33 unequal: No Solution
Exploring Operation: 25/25=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 25-25=0, Resulting Numbers: [0]
0,33 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: 33:[24, 2, 28], Operations: ['1+27=28']
Exploring Operation: 24+2=26, Resulting Numbers: [28, 26]
Generated Node #0,1,0: 33:[28, 26] Operation: 24+2=26
Exploring Operation: 24/2=12, Resulting Numbers: [28, 12]
Generated Node #0,1,1: 33:[28, 12] Operation: 24/2=12
Exploring Operation: 2+28=30, Resulting Numbers: [24, 30]
Generated Node #0,1,2: 33:[24, 30] Operation: 2+28=30
Exploring Operation: 28-24=4, Resulting Numbers: [2, 4]
Generated Node #0,1,3: 33:[2, 4] Operation: 28-24=4
Exploring Operation: 28/2=14, Resulting Numbers: [24, 14]
Generated Node #0,1,4: 33:[24, 14] Operation: 28/2=14
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 33:[2, 4], Operations: ['1+27=28', '28-24=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,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,1
Current State: 33:[28, 12], Operations: ['1+27=28', '24/2=12']
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,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,0
Current State: 33:[28, 26], Operations: ['1+27=28', '24+2=26']
Exploring Operation: 28*26=728, Resulting Numbers: [728]
728,33 unequal: No Solution
Exploring Operation: 28+26=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,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,2
Current State: 33:[24, 30], Operations: ['1+27=28', '2+28=30']
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 24+30=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 24*30=720, Resulting Numbers: [720]
720,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,4
Current State: 33:[24, 14], Operations: ['1+27=28', '28/2=14']
Exploring Operation: 24*14=336, Resulting Numbers: [336]
336,33 unequal: No Solution
Exploring Operation: 24+14=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,33 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: 33:[24, 27, 3], Operations: ['1+2=3']
Exploring Operation: 27-24=3, Resulting Numbers: [3, 3]
Generated Node #0,3,0: 33:[3, 3] Operation: 27-24=3
Exploring Operation: 27+3=30, Resulting Numbers: [24, 30]
Generated Node #0,3,1: 33:[24, 30] Operation: 27+3=30
Exploring Operation: 24+3=27, Resulting Numbers: [27, 27]
Generated Node #0,3,2: 33:[27, 27] Operation: 24+3=27
Exploring Operation: 27/3=9, Resulting Numbers: [24, 9]
Generated Node #0,3,3: 33:[24, 9] Operation: 27/3=9
Exploring Operation: 24/3=8, Resulting Numbers: [27, 8]
Generated Node #0,3,4: 33:[27, 8] Operation: 24/3=8
Moving to Node #0,2,0
Current State: 33:[3, 3], Operations: ['27-24=3', '1+2=3']
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,33 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Moving to Node #0,3,0
Current State: 33:[3, 3], Operations: ['1+2=3', '27-24=3']
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,33 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[3, 2], Operations: ['27-24=3', '1*2=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[2, 3], Operations: ['27-24=3', '1*3=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Moving to Node #0,2,4
Current State: 33:[2, 3], Operations: ['27-24=3', '3/1=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Moving to Node #0,2,3
Current State: 33:[3, 2], Operations: ['27-24=3', '2/1=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Moving to Node #0,4,3
Current State: 33:[1, 15], Operations: ['24/2=12', '27-12=15']
Exploring Operation: 1*15=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Exploring Operation: 1+15=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,33 unequal: No Solution
Moving to Node #0,4,2
Current State: 33:[12, 28], Operations: ['24/2=12', '1+27=28']
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Exploring Operation: 12*28=336, Resulting Numbers: [336]
336,33 unequal: No Solution
Moving to Node #0,4,4
Current State: 33:[27, 11], Operations: ['24/2=12', '12-1=11']
Exploring Operation: 27+11=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Exploring Operation: 27*11=297, Resulting Numbers: [297]
297,33 unequal: No Solution
Moving to Node #0,4,1
Current State: 33:[12, 27], Operations: ['24/2=12', '27/1=27']
Exploring Operation: 12*27=324, Resulting Numbers: [324]
324,33 unequal: No Solution
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,33 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Moving to Node #0,4,0
Current State: 33:[12, 27], Operations: ['24/2=12', '1*27=27']
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,33 unequal: No Solution
Exploring Operation: 12*27=324, Resulting Numbers: [324]
324,33 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Moving to Node #0,3,4
Current State: 33:[27, 8], Operations: ['1+2=3', '24/3=8']
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,33 unequal: No Solution
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Moving to Node #0,3,3
Current State: 33:[24, 9], Operations: ['1+2=3', '27/3=9']
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[1, 24, 27, 2], Operations: []
Exploring Operation: 1+2=3, Resulting Numbers: [24, 27, 3]
Generated Node #0,3: 33:[24, 27, 3] Operation: 1+2=3
Moving to Node #0,3
Current State: 33:[24, 27, 3], Operations: ['1+2=3']
Exploring Operation: 27/3=9, Resulting Numbers: [24, 9]
Generated Node #0,3,3: 33:[24, 9] Operation: 27/3=9
Moving to Node #0,3,3
Current State: 33:[24, 9], Operations: ['1+2=3', '27/3=9']
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 0.90625 |
hs_5
|
mult_heuristic
|
[
73,
74,
32,
94
] | 21 |
[
"73+74=147",
"32+94=126",
"147-126=21"
] |
Current State: 21:[73, 74, 32, 94], Operations: []
Exploring Operation: 73+74=147, Resulting Numbers: [32, 94, 147]
Generated Node #2: [32, 94, 147] from Operation: 73+74=147
Current State: 21:[32, 94, 147], Operations: ['73+74=147']
Exploring Operation: 32+94=126, Resulting Numbers: [147, 126]
Generated Node #3: [147, 126] from Operation: 32+94=126
Current State: 21:[147, 126], Operations: ['73+74=147', '32+94=126']
Exploring Operation: 147-126=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 |
Current State: 21:[73, 74, 32, 94], Operations: []
Exploring Operation: 94-74=20, Resulting Numbers: [73, 32, 20]
Generated Node #0,0: 21:[73, 32, 20] Operation: 94-74=20
Exploring Operation: 74-73=1, Resulting Numbers: [32, 94, 1]
Generated Node #0,1: 21:[32, 94, 1] Operation: 74-73=1
Exploring Operation: 73-32=41, Resulting Numbers: [74, 94, 41]
Generated Node #0,2: 21:[74, 94, 41] Operation: 73-32=41
Exploring Operation: 94-73=21, Resulting Numbers: [74, 32, 21]
Generated Node #0,3: 21:[74, 32, 21] Operation: 94-73=21
Moving to Node #0,0
Current State: 21:[73, 32, 20], Operations: ['94-74=20']
Exploring Operation: 73+20=93, Resulting Numbers: [32, 93]
Generated Node #0,0,0: 21:[32, 93] Operation: 73+20=93
Exploring Operation: 32-20=12, Resulting Numbers: [73, 12]
Generated Node #0,0,1: 21:[73, 12] Operation: 32-20=12
Exploring Operation: 73-20=53, Resulting Numbers: [32, 53]
Generated Node #0,0,2: 21:[32, 53] Operation: 73-20=53
Exploring Operation: 73-32=41, Resulting Numbers: [20, 41]
Generated Node #0,0,3: 21:[20, 41] Operation: 73-32=41
Moving to Node #0,3
Current State: 21:[74, 32, 21], Operations: ['94-73=21']
Exploring Operation: 74-21=53, Resulting Numbers: [32, 53]
Generated Node #0,3,0: 21:[32, 53] Operation: 74-21=53
Exploring Operation: 74-32=42, Resulting Numbers: [21, 42]
Generated Node #0,3,1: 21:[21, 42] Operation: 74-32=42
Exploring Operation: 32-21=11, Resulting Numbers: [74, 11]
Generated Node #0,3,2: 21:[74, 11] Operation: 32-21=11
Exploring Operation: 74+32=106, Resulting Numbers: [21, 106]
Generated Node #0,3,3: 21:[21, 106] Operation: 74+32=106
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 21:[21, 42], Operations: ['94-73=21', '74-32=42']
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[73, 74, 32, 94], Operations: []
Exploring Operation: 94-73=21, Resulting Numbers: [74, 32, 21]
Generated Node #0,3: 21:[74, 32, 21] Operation: 94-73=21
Moving to Node #0,3
Current State: 21:[74, 32, 21], Operations: ['94-73=21']
Exploring Operation: 74-32=42, Resulting Numbers: [21, 42]
Generated Node #0,3,1: 21:[21, 42] Operation: 74-32=42
Moving to Node #0,3,1
Current State: 21:[21, 42], Operations: ['94-73=21', '74-32=42']
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 |
hs_4
|
sum_heuristic
|
[
3,
67,
19,
27
] | 91 |
[
"27-19=8",
"3*8=24",
"67+24=91"
] |
Current State: 91:[3, 67, 19, 27], Operations: []
Exploring Operation: 27-19=8, Resulting Numbers: [3, 67, 8]
Generated Node #2: [3, 67, 8] from Operation: 27-19=8
Current State: 91:[3, 67, 8], Operations: ['27-19=8']
Exploring Operation: 3*8=24, Resulting Numbers: [67, 24]
Generated Node #3: [67, 24] from Operation: 3*8=24
Current State: 91:[67, 24], Operations: ['27-19=8', '3*8=24']
Exploring Operation: 67+24=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 |
Current State: 91:[3, 67, 19, 27], Operations: []
Exploring Operation: 67+19=86, Resulting Numbers: [3, 27, 86]
Generated Node #0,0: 91:[3, 27, 86] Operation: 67+19=86
Exploring Operation: 27-19=8, Resulting Numbers: [3, 67, 8]
Generated Node #0,1: 91:[3, 67, 8] Operation: 27-19=8
Exploring Operation: 67+27=94, Resulting Numbers: [3, 19, 94]
Generated Node #0,2: 91:[3, 19, 94] Operation: 67+27=94
Exploring Operation: 27/3=9, Resulting Numbers: [67, 19, 9]
Generated Node #0,3: 91:[67, 19, 9] Operation: 27/3=9
Moving to Node #0,2
Current State: 91:[3, 19, 94], Operations: ['67+27=94']
Exploring Operation: 19-3=16, Resulting Numbers: [94, 16]
Generated Node #0,2,0: 91:[94, 16] Operation: 19-3=16
Exploring Operation: 94-3=91, Resulting Numbers: [19, 91]
Generated Node #0,2,1: 91:[19, 91] Operation: 94-3=91
Exploring Operation: 3+19=22, Resulting Numbers: [94, 22]
Generated Node #0,2,2: 91:[94, 22] Operation: 3+19=22
Exploring Operation: 3+94=97, Resulting Numbers: [19, 97]
Generated Node #0,2,3: 91:[19, 97] Operation: 3+94=97
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[94, 16], Operations: ['67+27=94', '19-3=16']
Exploring Operation: 94+16=110, Resulting Numbers: [110]
110,91 unequal: No Solution
Exploring Operation: 94*16=1504, Resulting Numbers: [1504]
1504,91 unequal: No Solution
Exploring Operation: 94-16=78, Resulting Numbers: [78]
78,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[19, 91], Operations: ['67+27=94', '94-3=91']
Exploring Operation: 91-19=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Exploring Operation: 19+91=110, Resulting Numbers: [110]
110,91 unequal: No Solution
Exploring Operation: 19*91=1729, Resulting Numbers: [1729]
1729,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[94, 22], Operations: ['67+27=94', '3+19=22']
Exploring Operation: 94*22=2068, Resulting Numbers: [2068]
2068,91 unequal: No Solution
Exploring Operation: 94+22=116, Resulting Numbers: [116]
116,91 unequal: No Solution
Exploring Operation: 94-22=72, Resulting Numbers: [72]
72,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 91:[19, 97], Operations: ['67+27=94', '3+94=97']
Exploring Operation: 97-19=78, Resulting Numbers: [78]
78,91 unequal: No Solution
Exploring Operation: 19*97=1843, Resulting Numbers: [1843]
1843,91 unequal: No Solution
Exploring Operation: 19+97=116, Resulting Numbers: [116]
116,91 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: 91:[3, 27, 86], Operations: ['67+19=86']
Exploring Operation: 27-3=24, Resulting Numbers: [86, 24]
Generated Node #0,0,0: 91:[86, 24] Operation: 27-3=24
Exploring Operation: 3*27=81, Resulting Numbers: [86, 81]
Generated Node #0,0,1: 91:[86, 81] Operation: 3*27=81
Exploring Operation: 3+86=89, Resulting Numbers: [27, 89]
Generated Node #0,0,2: 91:[27, 89] Operation: 3+86=89
Exploring Operation: 27/3=9, Resulting Numbers: [86, 9]
Generated Node #0,0,3: 91:[86, 9] Operation: 27/3=9
Moving to Node #0,1
Current State: 91:[3, 67, 8], Operations: ['27-19=8']
Exploring Operation: 3+67=70, Resulting Numbers: [8, 70]
Generated Node #0,1,0: 91:[8, 70] Operation: 3+67=70
Exploring Operation: 8-3=5, Resulting Numbers: [67, 5]
Generated Node #0,1,1: 91:[67, 5] Operation: 8-3=5
Exploring Operation: 67+8=75, Resulting Numbers: [3, 75]
Generated Node #0,1,2: 91:[3, 75] Operation: 67+8=75
Exploring Operation: 3+8=11, Resulting Numbers: [67, 11]
Generated Node #0,1,3: 91:[67, 11] Operation: 3+8=11
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[3, 75], Operations: ['27-19=8', '67+8=75']
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,91 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Exploring Operation: 3*75=225, Resulting Numbers: [225]
225,91 unequal: No Solution
Exploring Operation: 3+75=78, Resulting Numbers: [78]
78,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[8, 70], Operations: ['27-19=8', '3+67=70']
Exploring Operation: 8+70=78, Resulting Numbers: [78]
78,91 unequal: No Solution
Exploring Operation: 8*70=560, Resulting Numbers: [560]
560,91 unequal: No Solution
Exploring Operation: 70-8=62, Resulting Numbers: [62]
62,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[67, 5], Operations: ['27-19=8', '8-3=5']
Exploring Operation: 67*5=335, Resulting Numbers: [335]
335,91 unequal: No Solution
Exploring Operation: 67+5=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 91:[67, 11], Operations: ['27-19=8', '3+8=11']
Exploring Operation: 67+11=78, Resulting Numbers: [78]
78,91 unequal: No Solution
Exploring Operation: 67-11=56, Resulting Numbers: [56]
56,91 unequal: No Solution
Exploring Operation: 67*11=737, Resulting Numbers: [737]
737,91 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: 91:[67, 19, 9], Operations: ['27/3=9']
Exploring Operation: 67+9=76, Resulting Numbers: [19, 76]
Generated Node #0,3,0: 91:[19, 76] Operation: 67+9=76
Exploring Operation: 19-9=10, Resulting Numbers: [67, 10]
Generated Node #0,3,1: 91:[67, 10] Operation: 19-9=10
Exploring Operation: 67+19=86, Resulting Numbers: [9, 86]
Generated Node #0,3,2: 91:[9, 86] Operation: 67+19=86
Exploring Operation: 67-19=48, Resulting Numbers: [9, 48]
Generated Node #0,3,3: 91:[9, 48] Operation: 67-19=48
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 91:[9, 86], Operations: ['27/3=9', '67+19=86']
Exploring Operation: 9*86=774, Resulting Numbers: [774]
774,91 unequal: No Solution
Exploring Operation: 86-9=77, Resulting Numbers: [77]
77,91 unequal: No Solution
Exploring Operation: 9+86=95, Resulting Numbers: [95]
95,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 91:[19, 76], Operations: ['27/3=9', '67+9=76']
Exploring Operation: 76/19=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 19+76=95, Resulting Numbers: [95]
95,91 unequal: No Solution
Exploring Operation: 19*76=1444, Resulting Numbers: [1444]
1444,91 unequal: No Solution
Exploring Operation: 76-19=57, Resulting Numbers: [57]
57,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 91:[67, 10], Operations: ['27/3=9', '19-9=10']
Exploring Operation: 67+10=77, Resulting Numbers: [77]
77,91 unequal: No Solution
Exploring Operation: 67*10=670, Resulting Numbers: [670]
670,91 unequal: No Solution
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 91:[9, 48], Operations: ['27/3=9', '67-19=48']
Exploring Operation: 9*48=432, Resulting Numbers: [432]
432,91 unequal: No Solution
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,91 unequal: No Solution
Exploring Operation: 9+48=57, Resulting Numbers: [57]
57,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 91:[86, 9], Operations: ['67+19=86', '27/3=9']
Exploring Operation: 86*9=774, Resulting Numbers: [774]
774,91 unequal: No Solution
Exploring Operation: 86-9=77, Resulting Numbers: [77]
77,91 unequal: No Solution
Exploring Operation: 86+9=95, Resulting Numbers: [95]
95,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[86, 81], Operations: ['67+19=86', '3*27=81']
Exploring Operation: 86-81=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 86*81=6966, Resulting Numbers: [6966]
6966,91 unequal: No Solution
Exploring Operation: 86+81=167, Resulting Numbers: [167]
167,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[27, 89], Operations: ['67+19=86', '3+86=89']
Exploring Operation: 27+89=116, Resulting Numbers: [116]
116,91 unequal: No Solution
Exploring Operation: 27*89=2403, Resulting Numbers: [2403]
2403,91 unequal: No Solution
Exploring Operation: 89-27=62, Resulting Numbers: [62]
62,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[86, 24], Operations: ['67+19=86', '27-3=24']
Exploring Operation: 86-24=62, Resulting Numbers: [62]
62,91 unequal: No Solution
Exploring Operation: 86+24=110, Resulting Numbers: [110]
110,91 unequal: No Solution
Exploring Operation: 86*24=2064, Resulting Numbers: [2064]
2064,91 unequal: No Solution
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
44,
58,
68,
50
] | 16 |
[
"44+58=102",
"68+50=118",
"118-102=16"
] |
Current State: 16:[44, 58, 68, 50], Operations: []
Exploring Operation: 44+58=102, Resulting Numbers: [68, 50, 102]
Generated Node #2: [68, 50, 102] from Operation: 44+58=102
Current State: 16:[68, 50, 102], Operations: ['44+58=102']
Exploring Operation: 68+50=118, Resulting Numbers: [102, 118]
Generated Node #3: [102, 118] from Operation: 68+50=118
Current State: 16:[102, 118], Operations: ['44+58=102', '68+50=118']
Exploring Operation: 118-102=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 |
Current State: 16:[44, 58, 68, 50], Operations: []
Exploring Operation: 68-58=10, Resulting Numbers: [44, 50, 10]
Generated Node #0,0: 16:[44, 50, 10] Operation: 68-58=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[44, 50, 10], Operations: ['68-58=10']
Exploring Operation: 50-44=6, Resulting Numbers: [10, 6]
Generated Node #0,0,0: 16:[10, 6] Operation: 50-44=6
Moving to Node #0,0,0
Current State: 16:[10, 6], Operations: ['68-58=10', '50-44=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[44, 58, 68, 50], Operations: []
Exploring Operation: 68-58=10, Resulting Numbers: [44, 50, 10]
Generated Node #0,0: 16:[44, 50, 10] Operation: 68-58=10
Moving to Node #0,0
Current State: 16:[44, 50, 10], Operations: ['68-58=10']
Exploring Operation: 50-44=6, Resulting Numbers: [10, 6]
Generated Node #0,0,0: 16:[10, 6] Operation: 50-44=6
Moving to Node #0,0,0
Current State: 16:[10, 6], Operations: ['68-58=10', '50-44=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
mult_heuristic
|
[
97,
13,
38,
46
] | 76 |
[
"97-13=84",
"46-38=8",
"84-8=76"
] |
Current State: 76:[97, 13, 38, 46], Operations: []
Exploring Operation: 97-13=84, Resulting Numbers: [38, 46, 84]
Generated Node #2: [38, 46, 84] from Operation: 97-13=84
Current State: 76:[38, 46, 84], Operations: ['97-13=84']
Exploring Operation: 46-38=8, Resulting Numbers: [84, 8]
Generated Node #3: [84, 8] from Operation: 46-38=8
Current State: 76:[84, 8], Operations: ['97-13=84', '46-38=8']
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 |
Current State: 76:[97, 13, 38, 46], Operations: []
Exploring Operation: 97-13=84, Resulting Numbers: [38, 46, 84]
Generated Node #0,0: 76:[38, 46, 84] Operation: 97-13=84
Exploring Operation: 97-38=59, Resulting Numbers: [13, 46, 59]
Generated Node #0,1: 76:[13, 46, 59] Operation: 97-38=59
Exploring Operation: 46-13=33, Resulting Numbers: [97, 38, 33]
Generated Node #0,2: 76:[97, 38, 33] Operation: 46-13=33
Exploring Operation: 97-46=51, Resulting Numbers: [13, 38, 51]
Generated Node #0,3: 76:[13, 38, 51] Operation: 97-46=51
Moving to Node #0,0
Current State: 76:[38, 46, 84], Operations: ['97-13=84']
Exploring Operation: 84-46=38, Resulting Numbers: [38, 38]
Generated Node #0,0,0: 76:[38, 38] Operation: 84-46=38
Exploring Operation: 84-38=46, Resulting Numbers: [46, 46]
Generated Node #0,0,1: 76:[46, 46] Operation: 84-38=46
Exploring Operation: 38+46=84, Resulting Numbers: [84, 84]
Generated Node #0,0,2: 76:[84, 84] Operation: 38+46=84
Exploring Operation: 46-38=8, Resulting Numbers: [84, 8]
Generated Node #0,0,3: 76:[84, 8] Operation: 46-38=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[38, 38], Operations: ['97-13=84', '84-46=38']
Exploring Operation: 38-38=0, Resulting Numbers: [0]
0,76 unequal: No Solution
Exploring Operation: 38/38=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 38*38=1444, Resulting Numbers: [1444]
1444,76 unequal: No Solution
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[97, 13, 38, 46], Operations: []
Exploring Operation: 97-13=84, Resulting Numbers: [38, 46, 84]
Generated Node #0,0: 76:[38, 46, 84] Operation: 97-13=84
Moving to Node #0,0
Current State: 76:[38, 46, 84], Operations: ['97-13=84']
Exploring Operation: 84-46=38, Resulting Numbers: [38, 38]
Generated Node #0,0,0: 76:[38, 38] Operation: 84-46=38
Moving to Node #0,0,0
Current State: 76:[38, 38], Operations: ['97-13=84', '84-46=38']
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_4
|
mult_heuristic
|
[
74,
97,
50,
97
] | 50 |
[
"97-97=0",
"74*0=0",
"50+0=50"
] |
Current State: 50:[74, 97, 50, 97], Operations: []
Exploring Operation: 97-97=0, Resulting Numbers: [74, 50, 0]
Generated Node #2: [74, 50, 0] from Operation: 97-97=0
Current State: 50:[74, 50, 0], Operations: ['97-97=0']
Exploring Operation: 74*0=0, Resulting Numbers: [50, 0]
Generated Node #3: [50, 0] from Operation: 74*0=0
Current State: 50:[50, 0], Operations: ['97-97=0', '74*0=0']
Exploring Operation: 50+0=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 |
Current State: 50:[74, 97, 50, 97], Operations: []
Exploring Operation: 97-74=23, Resulting Numbers: [50, 97, 23]
Generated Node #0,0: 50:[50, 97, 23] Operation: 97-74=23
Exploring Operation: 97-50=47, Resulting Numbers: [74, 97, 47]
Generated Node #0,1: 50:[74, 97, 47] Operation: 97-50=47
Exploring Operation: 97/97=1, Resulting Numbers: [74, 50, 1]
Generated Node #0,2: 50:[74, 50, 1] Operation: 97/97=1
Exploring Operation: 97-74=23, Resulting Numbers: [97, 50, 23]
Generated Node #0,3: 50:[97, 50, 23] Operation: 97-74=23
Exploring Operation: 97-97=0, Resulting Numbers: [74, 50, 0]
Generated Node #0,4: 50:[74, 50, 0] Operation: 97-97=0
Moving to Node #0,2
Current State: 50:[74, 50, 1], Operations: ['97/97=1']
Exploring Operation: 74*1=74, Resulting Numbers: [50, 74]
Generated Node #0,2,0: 50:[50, 74] Operation: 74*1=74
Exploring Operation: 74/1=74, Resulting Numbers: [50, 74]
Generated Node #0,2,1: 50:[50, 74] Operation: 74/1=74
Exploring Operation: 50*1=50, Resulting Numbers: [74, 50]
Generated Node #0,2,2: 50:[74, 50] Operation: 50*1=50
Exploring Operation: 74-50=24, Resulting Numbers: [1, 24]
Generated Node #0,2,3: 50:[1, 24] Operation: 74-50=24
Exploring Operation: 74-1=73, Resulting Numbers: [50, 73]
Generated Node #0,2,4: 50:[50, 73] Operation: 74-1=73
Moving to Node #0,4
Current State: 50:[74, 50, 0], Operations: ['97-97=0']
Exploring Operation: 74-0=74, Resulting Numbers: [50, 74]
Generated Node #0,4,0: 50:[50, 74] Operation: 74-0=74
Exploring Operation: 74+0=74, Resulting Numbers: [50, 74]
Generated Node #0,4,1: 50:[50, 74] Operation: 74+0=74
Exploring Operation: 74*0=0, Resulting Numbers: [50, 0]
Generated Node #0,4,2: 50:[50, 0] Operation: 74*0=0
Exploring Operation: 74-50=24, Resulting Numbers: [0, 24]
Generated Node #0,4,3: 50:[0, 24] Operation: 74-50=24
Exploring Operation: 50+0=50, Resulting Numbers: [74, 50]
Generated Node #0,4,4: 50:[74, 50] Operation: 50+0=50
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 50:[50, 0], Operations: ['97-97=0', '74*0=0']
Exploring Operation: 50-0=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[74, 97, 50, 97], Operations: []
Exploring Operation: 97-97=0, Resulting Numbers: [74, 50, 0]
Generated Node #0,4: 50:[74, 50, 0] Operation: 97-97=0
Moving to Node #0,4
Current State: 50:[74, 50, 0], Operations: ['97-97=0']
Exploring Operation: 74*0=0, Resulting Numbers: [50, 0]
Generated Node #0,4,2: 50:[50, 0] Operation: 74*0=0
Moving to Node #0,4,2
Current State: 50:[50, 0], Operations: ['97-97=0', '74*0=0']
Exploring Operation: 50-0=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 |
hs_5
|
sum_heuristic
|
[
91,
14,
12,
78
] | 26 |
[
"91-78=13",
"14-12=2",
"13*2=26"
] |
Current State: 26:[91, 14, 12, 78], Operations: []
Exploring Operation: 91-78=13, Resulting Numbers: [14, 12, 13]
Generated Node #2: [14, 12, 13] from Operation: 91-78=13
Current State: 26:[14, 12, 13], Operations: ['91-78=13']
Exploring Operation: 14-12=2, Resulting Numbers: [13, 2]
Generated Node #3: [13, 2] from Operation: 14-12=2
Current State: 26:[13, 2], Operations: ['91-78=13', '14-12=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 |
Current State: 26:[91, 14, 12, 78], Operations: []
Exploring Operation: 91-78=13, Resulting Numbers: [14, 12, 13]
Generated Node #0,0: 26:[14, 12, 13] Operation: 91-78=13
Exploring Operation: 78-14=64, Resulting Numbers: [91, 12, 64]
Generated Node #0,1: 26:[91, 12, 64] Operation: 78-14=64
Exploring Operation: 91-12=79, Resulting Numbers: [14, 78, 79]
Generated Node #0,2: 26:[14, 78, 79] Operation: 91-12=79
Exploring Operation: 91-14=77, Resulting Numbers: [12, 78, 77]
Generated Node #0,3: 26:[12, 78, 77] Operation: 91-14=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[14, 12, 13], Operations: ['91-78=13']
Exploring Operation: 14-13=1, Resulting Numbers: [12, 1]
Generated Node #0,0,0: 26:[12, 1] Operation: 14-13=1
Exploring Operation: 14-12=2, Resulting Numbers: [13, 2]
Generated Node #0,0,1: 26:[13, 2] Operation: 14-12=2
Exploring Operation: 14+13=27, Resulting Numbers: [12, 27]
Generated Node #0,0,2: 26:[12, 27] Operation: 14+13=27
Exploring Operation: 14+12=26, Resulting Numbers: [13, 26]
Generated Node #0,0,3: 26:[13, 26] Operation: 14+12=26
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 26:[13, 2], Operations: ['91-78=13', '14-12=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[91, 14, 12, 78], Operations: []
Exploring Operation: 91-78=13, Resulting Numbers: [14, 12, 13]
Generated Node #0,0: 26:[14, 12, 13] Operation: 91-78=13
Moving to Node #0,0
Current State: 26:[14, 12, 13], Operations: ['91-78=13']
Exploring Operation: 14-12=2, Resulting Numbers: [13, 2]
Generated Node #0,0,1: 26:[13, 2] Operation: 14-12=2
Moving to Node #0,0,1
Current State: 26:[13, 2], Operations: ['91-78=13', '14-12=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 |
hs_4
|
mult_heuristic
|
[
4,
21,
61,
64
] | 14 |
[
"21-4=17",
"64-61=3",
"17-3=14"
] |
Current State: 14:[4, 21, 61, 64], Operations: []
Exploring Operation: 21-4=17, Resulting Numbers: [61, 64, 17]
Generated Node #2: [61, 64, 17] from Operation: 21-4=17
Current State: 14:[61, 64, 17], Operations: ['21-4=17']
Exploring Operation: 64-61=3, Resulting Numbers: [17, 3]
Generated Node #3: [17, 3] from Operation: 64-61=3
Current State: 14:[17, 3], Operations: ['21-4=17', '64-61=3']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 |
Current State: 14:[4, 21, 61, 64], Operations: []
Exploring Operation: 64-61=3, Resulting Numbers: [4, 21, 3]
Generated Node #0,0: 14:[4, 21, 3] Operation: 64-61=3
Exploring Operation: 61-21=40, Resulting Numbers: [4, 64, 40]
Generated Node #0,1: 14:[4, 64, 40] Operation: 61-21=40
Exploring Operation: 64/4=16, Resulting Numbers: [21, 61, 16]
Generated Node #0,2: 14:[21, 61, 16] Operation: 64/4=16
Exploring Operation: 64-21=43, Resulting Numbers: [4, 61, 43]
Generated Node #0,3: 14:[4, 61, 43] Operation: 64-21=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[4, 21, 3], Operations: ['64-61=3']
Exploring Operation: 21-3=18, Resulting Numbers: [4, 18]
Generated Node #0,0,0: 14:[4, 18] Operation: 21-3=18
Exploring Operation: 21-4=17, Resulting Numbers: [3, 17]
Generated Node #0,0,1: 14:[3, 17] Operation: 21-4=17
Exploring Operation: 4+3=7, Resulting Numbers: [21, 7]
Generated Node #0,0,2: 14:[21, 7] Operation: 4+3=7
Exploring Operation: 21/3=7, Resulting Numbers: [4, 7]
Generated Node #0,0,3: 14:[4, 7] Operation: 21/3=7
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 14:[4, 7], Operations: ['64-61=3', '21/3=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 14:[3, 17], Operations: ['64-61=3', '21-4=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,14 unequal: No Solution
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:[4, 21, 61, 64], Operations: []
Exploring Operation: 64-61=3, Resulting Numbers: [4, 21, 3]
Generated Node #0,0: 14:[4, 21, 3] Operation: 64-61=3
Moving to Node #0,0
Current State: 14:[4, 21, 3], Operations: ['64-61=3']
Exploring Operation: 21-4=17, Resulting Numbers: [3, 17]
Generated Node #0,0,1: 14:[3, 17] Operation: 21-4=17
Moving to Node #0,0,1
Current State: 14:[3, 17], Operations: ['64-61=3', '21-4=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 |
hs_4
|
sum_heuristic
|
[
47,
49,
91,
91
] | 49 |
[
"91-91=0",
"47*0=0",
"49+0=49"
] |
Current State: 49:[47, 49, 91, 91], Operations: []
Exploring Operation: 91-91=0, Resulting Numbers: [47, 49, 0]
Generated Node #2: [47, 49, 0] from Operation: 91-91=0
Current State: 49:[47, 49, 0], Operations: ['91-91=0']
Exploring Operation: 47*0=0, Resulting Numbers: [49, 0]
Generated Node #3: [49, 0] from Operation: 47*0=0
Current State: 49:[49, 0], Operations: ['91-91=0', '47*0=0']
Exploring Operation: 49+0=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 |
Current State: 49:[47, 49, 91, 91], Operations: []
Exploring Operation: 91-91=0, Resulting Numbers: [47, 49, 0]
Generated Node #0,0: 49:[47, 49, 0] Operation: 91-91=0
Exploring Operation: 91-47=44, Resulting Numbers: [49, 91, 44]
Generated Node #0,1: 49:[49, 91, 44] Operation: 91-47=44
Exploring Operation: 91/91=1, Resulting Numbers: [47, 49, 1]
Generated Node #0,2: 49:[47, 49, 1] Operation: 91/91=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[47, 49, 1], Operations: ['91/91=1']
Exploring Operation: 47/1=47, Resulting Numbers: [49, 47]
Generated Node #0,2,0: 49:[49, 47] Operation: 47/1=47
Exploring Operation: 47+1=48, Resulting Numbers: [49, 48]
Generated Node #0,2,1: 49:[49, 48] Operation: 47+1=48
Exploring Operation: 47*1=47, Resulting Numbers: [49, 47]
Generated Node #0,2,2: 49:[49, 47] Operation: 47*1=47
Moving to Node #0,2,1
Current State: 49:[49, 48], Operations: ['91/91=1', '47+1=48']
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 49+48=97, Resulting Numbers: [97]
97,49 unequal: No Solution
Exploring Operation: 49*48=2352, Resulting Numbers: [2352]
2352,49 unequal: No Solution
Moving to Node #0,2,0
Current State: 49:[49, 47], Operations: ['91/91=1', '47/1=47']
Exploring Operation: 49*47=2303, Resulting Numbers: [2303]
2303,49 unequal: No Solution
Exploring Operation: 49+47=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[49, 47], Operations: ['91/91=1', '47*1=47']
Exploring Operation: 49*47=2303, Resulting Numbers: [2303]
2303,49 unequal: No Solution
Exploring Operation: 49+47=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,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
Current State: 49:[47, 49, 0], Operations: ['91-91=0']
Exploring Operation: 47+0=47, Resulting Numbers: [49, 47]
Generated Node #0,0,0: 49:[49, 47] Operation: 47+0=47
Exploring Operation: 49+0=49, Resulting Numbers: [47, 49]
Generated Node #0,0,1: 49:[47, 49] Operation: 49+0=49
Exploring Operation: 47-0=47, Resulting Numbers: [49, 47]
Generated Node #0,0,2: 49:[49, 47] Operation: 47-0=47
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[49, 47], Operations: ['91-91=0', '47+0=47']
Exploring Operation: 49*47=2303, Resulting Numbers: [2303]
2303,49 unequal: No Solution
Exploring Operation: 49+47=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,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,0,1
Current State: 49:[47, 49], Operations: ['91-91=0', '49+0=49']
Exploring Operation: 47*49=2303, Resulting Numbers: [2303]
2303,49 unequal: No Solution
Exploring Operation: 47+49=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,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,0,2
Current State: 49:[49, 47], Operations: ['91-91=0', '47-0=47']
Exploring Operation: 49*47=2303, Resulting Numbers: [2303]
2303,49 unequal: No Solution
Exploring Operation: 49+47=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[49, 91, 44], Operations: ['91-47=44']
Exploring Operation: 91-49=42, Resulting Numbers: [44, 42]
Generated Node #0,1,0: 49:[44, 42] Operation: 91-49=42
Exploring Operation: 49-44=5, Resulting Numbers: [91, 5]
Generated Node #0,1,1: 49:[91, 5] Operation: 49-44=5
Exploring Operation: 91-44=47, Resulting Numbers: [49, 47]
Generated Node #0,1,2: 49:[49, 47] Operation: 91-44=47
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 49:[49, 47], Operations: ['91-47=44', '91-44=47']
Exploring Operation: 49*47=2303, Resulting Numbers: [2303]
2303,49 unequal: No Solution
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 49+47=96, Resulting Numbers: [96]
96,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 49:[44, 42], Operations: ['91-47=44', '91-49=42']
Exploring Operation: 44*42=1848, Resulting Numbers: [1848]
1848,49 unequal: No Solution
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 49:[91, 5], Operations: ['91-47=44', '49-44=5']
Exploring Operation: 91*5=455, Resulting Numbers: [455]
455,49 unequal: No Solution
Exploring Operation: 91+5=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
84,
2,
95,
74
] | 100 |
[
"84-74=10",
"10/2=5",
"95+5=100"
] |
Current State: 100:[84, 2, 95, 74], Operations: []
Exploring Operation: 84-74=10, Resulting Numbers: [2, 95, 10]
Generated Node #2: [2, 95, 10] from Operation: 84-74=10
Current State: 100:[2, 95, 10], Operations: ['84-74=10']
Exploring Operation: 10/2=5, Resulting Numbers: [95, 5]
Generated Node #3: [95, 5] from Operation: 10/2=5
Current State: 100:[95, 5], Operations: ['84-74=10', '10/2=5']
Exploring Operation: 95+5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 |
Current State: 100:[84, 2, 95, 74], Operations: []
Exploring Operation: 95-84=11, Resulting Numbers: [2, 74, 11]
Generated Node #0,0: 100:[2, 74, 11] Operation: 95-84=11
Exploring Operation: 95-74=21, Resulting Numbers: [84, 2, 21]
Generated Node #0,1: 100:[84, 2, 21] Operation: 95-74=21
Exploring Operation: 84-74=10, Resulting Numbers: [2, 95, 10]
Generated Node #0,2: 100:[2, 95, 10] Operation: 84-74=10
Moving to Node #0,2
Current State: 100:[2, 95, 10], Operations: ['84-74=10']
Exploring Operation: 2+95=97, Resulting Numbers: [10, 97]
Generated Node #0,2,0: 100:[10, 97] Operation: 2+95=97
Exploring Operation: 2*10=20, Resulting Numbers: [95, 20]
Generated Node #0,2,1: 100:[95, 20] Operation: 2*10=20
Exploring Operation: 10/2=5, Resulting Numbers: [95, 5]
Generated Node #0,2,2: 100:[95, 5] Operation: 10/2=5
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 100:[10, 97], Operations: ['84-74=10', '2+95=97']
Exploring Operation: 10+97=107, Resulting Numbers: [107]
107,100 unequal: No Solution
Exploring Operation: 10*97=970, Resulting Numbers: [970]
970,100 unequal: No Solution
Exploring Operation: 97-10=87, Resulting Numbers: [87]
87,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 100:[95, 20], Operations: ['84-74=10', '2*10=20']
Exploring Operation: 95-20=75, Resulting Numbers: [75]
75,100 unequal: No Solution
Exploring Operation: 95*20=1900, Resulting Numbers: [1900]
1900,100 unequal: No Solution
Exploring Operation: 95+20=115, Resulting Numbers: [115]
115,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 100:[95, 5], Operations: ['84-74=10', '10/2=5']
Exploring Operation: 95+5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[84, 2, 95, 74], Operations: []
Exploring Operation: 84-74=10, Resulting Numbers: [2, 95, 10]
Generated Node #0,2: 100:[2, 95, 10] Operation: 84-74=10
Moving to Node #0,2
Current State: 100:[2, 95, 10], Operations: ['84-74=10']
Exploring Operation: 10/2=5, Resulting Numbers: [95, 5]
Generated Node #0,2,2: 100:[95, 5] Operation: 10/2=5
Moving to Node #0,2,2
Current State: 100:[95, 5], Operations: ['84-74=10', '10/2=5']
Exploring Operation: 95+5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 |
hs_3
|
sum_heuristic
|
[
90,
79,
10,
94
] | 85 |
[
"90+79=169",
"94-10=84",
"169-84=85"
] |
Current State: 85:[90, 79, 10, 94], Operations: []
Exploring Operation: 90+79=169, Resulting Numbers: [10, 94, 169]
Generated Node #2: [10, 94, 169] from Operation: 90+79=169
Current State: 85:[10, 94, 169], Operations: ['90+79=169']
Exploring Operation: 94-10=84, Resulting Numbers: [169, 84]
Generated Node #3: [169, 84] from Operation: 94-10=84
Current State: 85:[169, 84], Operations: ['90+79=169', '94-10=84']
Exploring Operation: 169-84=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 |
Current State: 85:[90, 79, 10, 94], Operations: []
Exploring Operation: 94-10=84, Resulting Numbers: [90, 79, 84]
Generated Node #0,0: 85:[90, 79, 84] Operation: 94-10=84
Exploring Operation: 94-79=15, Resulting Numbers: [90, 10, 15]
Generated Node #0,1: 85:[90, 10, 15] Operation: 94-79=15
Exploring Operation: 94-90=4, Resulting Numbers: [79, 10, 4]
Generated Node #0,2: 85:[79, 10, 4] Operation: 94-90=4
Moving to Node #0,0
Current State: 85:[90, 79, 84], Operations: ['94-10=84']
Exploring Operation: 90-84=6, Resulting Numbers: [79, 6]
Generated Node #0,0,0: 85:[79, 6] Operation: 90-84=6
Exploring Operation: 84-79=5, Resulting Numbers: [90, 5]
Generated Node #0,0,1: 85:[90, 5] Operation: 84-79=5
Exploring Operation: 90-79=11, Resulting Numbers: [84, 11]
Generated Node #0,0,2: 85:[84, 11] Operation: 90-79=11
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[90, 5], Operations: ['94-10=84', '84-79=5']
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 90+5=95, Resulting Numbers: [95]
95,85 unequal: No Solution
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[90, 79, 10, 94], Operations: []
Exploring Operation: 94-10=84, Resulting Numbers: [90, 79, 84]
Generated Node #0,0: 85:[90, 79, 84] Operation: 94-10=84
Moving to Node #0,0
Current State: 85:[90, 79, 84], Operations: ['94-10=84']
Exploring Operation: 84-79=5, Resulting Numbers: [90, 5]
Generated Node #0,0,1: 85:[90, 5] Operation: 84-79=5
Moving to Node #0,0,1
Current State: 85:[90, 5], Operations: ['94-10=84', '84-79=5']
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 |
hs_3
|
sum_heuristic
|
[
9,
34,
8,
44
] | 27 |
[
"34-9=25",
"8+44=52",
"52-25=27"
] |
Current State: 27:[9, 34, 8, 44], Operations: []
Exploring Operation: 34-9=25, Resulting Numbers: [8, 44, 25]
Generated Node #2: [8, 44, 25] from Operation: 34-9=25
Current State: 27:[8, 44, 25], Operations: ['34-9=25']
Exploring Operation: 8+44=52, Resulting Numbers: [25, 52]
Generated Node #3: [25, 52] from Operation: 8+44=52
Current State: 27:[25, 52], Operations: ['34-9=25', '8+44=52']
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 |
Current State: 27:[9, 34, 8, 44], Operations: []
Exploring Operation: 44-34=10, Resulting Numbers: [9, 8, 10]
Generated Node #0,0: 27:[9, 8, 10] Operation: 44-34=10
Exploring Operation: 44-9=35, Resulting Numbers: [34, 8, 35]
Generated Node #0,1: 27:[34, 8, 35] Operation: 44-9=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[9, 8, 10], Operations: ['44-34=10']
Exploring Operation: 10-8=2, Resulting Numbers: [9, 2]
Generated Node #0,0,0: 27:[9, 2] Operation: 10-8=2
Exploring Operation: 9-8=1, Resulting Numbers: [10, 1]
Generated Node #0,0,1: 27:[10, 1] Operation: 9-8=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[9, 2], Operations: ['44-34=10', '10-8=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,27 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 27:[10, 1], Operations: ['44-34=10', '9-8=1']
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[34, 8, 35], Operations: ['44-9=35']
Exploring Operation: 35-8=27, Resulting Numbers: [34, 27]
Generated Node #0,1,0: 27:[34, 27] Operation: 35-8=27
Exploring Operation: 35-34=1, Resulting Numbers: [8, 1]
Generated Node #0,1,1: 27:[8, 1] Operation: 35-34=1
Moving to Node #0,1,1
Current State: 27:[8, 1], Operations: ['44-9=35', '35-34=1']
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[34, 27], Operations: ['44-9=35', '35-8=27']
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 34+27=61, Resulting Numbers: [61]
61,27 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
|
[
35,
25,
5,
63
] | 50 |
[
"25*63=1575",
"1575/35=45",
"5+45=50"
] |
Current State: 50:[35, 25, 5, 63], Operations: []
Exploring Operation: 25*63=1575, Resulting Numbers: [35, 5, 1575]
Generated Node #2: [35, 5, 1575] from Operation: 25*63=1575
Current State: 50:[35, 5, 1575], Operations: ['25*63=1575']
Exploring Operation: 1575/35=45, Resulting Numbers: [5, 45]
Generated Node #3: [5, 45] from Operation: 1575/35=45
Current State: 50:[5, 45], Operations: ['25*63=1575', '1575/35=45']
Exploring Operation: 5+45=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 |
Current State: 50:[35, 25, 5, 63], Operations: []
Exploring Operation: 63-35=28, Resulting Numbers: [25, 5, 28]
Generated Node #0,0: 50:[25, 5, 28] Operation: 63-35=28
Exploring Operation: 35-25=10, Resulting Numbers: [5, 63, 10]
Generated Node #0,1: 50:[5, 63, 10] Operation: 35-25=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[25, 5, 28], Operations: ['63-35=28']
Exploring Operation: 28-25=3, Resulting Numbers: [5, 3]
Generated Node #0,0,0: 50:[5, 3] Operation: 28-25=3
Exploring Operation: 28-5=23, Resulting Numbers: [25, 23]
Generated Node #0,0,1: 50:[25, 23] Operation: 28-5=23
Moving to Node #0,0,0
Current State: 50:[5, 3], Operations: ['63-35=28', '28-25=3']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[25, 23], Operations: ['63-35=28', '28-5=23']
Exploring Operation: 25+23=48, Resulting Numbers: [48]
48,50 unequal: No Solution
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[5, 63, 10], Operations: ['35-25=10']
Exploring Operation: 63-5=58, Resulting Numbers: [10, 58]
Generated Node #0,1,0: 50:[10, 58] Operation: 63-5=58
Exploring Operation: 63-10=53, Resulting Numbers: [5, 53]
Generated Node #0,1,1: 50:[5, 53] Operation: 63-10=53
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 50:[5, 53], Operations: ['35-25=10', '63-10=53']
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,50 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 50:[10, 58], Operations: ['35-25=10', '63-5=58']
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,50 unequal: No Solution
Exploring Operation: 10+58=68, Resulting Numbers: [68]
68,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
79,
38,
6,
76
] | 41 |
[
"79-38=41",
"6+76=82",
"82-41=41"
] |
Current State: 41:[79, 38, 6, 76], Operations: []
Exploring Operation: 79-38=41, Resulting Numbers: [6, 76, 41]
Generated Node #2: [6, 76, 41] from Operation: 79-38=41
Current State: 41:[6, 76, 41], Operations: ['79-38=41']
Exploring Operation: 6+76=82, Resulting Numbers: [41, 82]
Generated Node #3: [41, 82] from Operation: 6+76=82
Current State: 41:[41, 82], Operations: ['79-38=41', '6+76=82']
Exploring Operation: 82-41=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 |
Current State: 41:[79, 38, 6, 76], Operations: []
Exploring Operation: 79-38=41, Resulting Numbers: [6, 76, 41]
Generated Node #0,0: 41:[6, 76, 41] Operation: 79-38=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[6, 76, 41], Operations: ['79-38=41']
Exploring Operation: 76-6=70, Resulting Numbers: [41, 70]
Generated Node #0,0,0: 41:[41, 70] Operation: 76-6=70
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[41, 70], Operations: ['79-38=41', '76-6=70']
Exploring Operation: 70-41=29, Resulting Numbers: [29]
29,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
2,
32,
85,
3
] | 53 |
[
"3-2=1",
"85-32=53",
"1*53=53"
] |
Current State: 53:[2, 32, 85, 3], Operations: []
Exploring Operation: 3-2=1, Resulting Numbers: [32, 85, 1]
Generated Node #2: [32, 85, 1] from Operation: 3-2=1
Current State: 53:[32, 85, 1], Operations: ['3-2=1']
Exploring Operation: 85-32=53, Resulting Numbers: [1, 53]
Generated Node #3: [1, 53] from Operation: 85-32=53
Current State: 53:[1, 53], Operations: ['3-2=1', '85-32=53']
Exploring Operation: 1*53=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 |
Current State: 53:[2, 32, 85, 3], Operations: []
Exploring Operation: 2*3=6, Resulting Numbers: [32, 85, 6]
Generated Node #0,0: 53:[32, 85, 6] Operation: 2*3=6
Exploring Operation: 2+32=34, Resulting Numbers: [85, 3, 34]
Generated Node #0,1: 53:[85, 3, 34] Operation: 2+32=34
Exploring Operation: 2*32=64, Resulting Numbers: [85, 3, 64]
Generated Node #0,2: 53:[85, 3, 64] Operation: 2*32=64
Moving to Node #0,2
Current State: 53:[85, 3, 64], Operations: ['2*32=64']
Exploring Operation: 85+3=88, Resulting Numbers: [64, 88]
Generated Node #0,2,0: 53:[64, 88] Operation: 85+3=88
Exploring Operation: 64-3=61, Resulting Numbers: [85, 61]
Generated Node #0,2,1: 53:[85, 61] Operation: 64-3=61
Exploring Operation: 85-3=82, Resulting Numbers: [64, 82]
Generated Node #0,2,2: 53:[64, 82] Operation: 85-3=82
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[85, 61], Operations: ['2*32=64', '64-3=61']
Exploring Operation: 85-61=24, Resulting Numbers: [24]
24,53 unequal: No Solution
Exploring Operation: 85*61=5185, Resulting Numbers: [5185]
5185,53 unequal: No Solution
Exploring Operation: 85+61=146, Resulting Numbers: [146]
146,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:[64, 82], Operations: ['2*32=64', '85-3=82']
Exploring Operation: 64*82=5248, Resulting Numbers: [5248]
5248,53 unequal: No Solution
Exploring Operation: 82-64=18, Resulting Numbers: [18]
18,53 unequal: No Solution
Exploring Operation: 64+82=146, Resulting Numbers: [146]
146,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,0
Current State: 53:[64, 88], Operations: ['2*32=64', '85+3=88']
Exploring Operation: 64*88=5632, Resulting Numbers: [5632]
5632,53 unequal: No Solution
Exploring Operation: 88-64=24, Resulting Numbers: [24]
24,53 unequal: No Solution
Exploring Operation: 64+88=152, Resulting Numbers: [152]
152,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:[32, 85, 6], Operations: ['2*3=6']
Exploring Operation: 32+6=38, Resulting Numbers: [85, 38]
Generated Node #0,0,0: 53:[85, 38] Operation: 32+6=38
Exploring Operation: 85-6=79, Resulting Numbers: [32, 79]
Generated Node #0,0,1: 53:[32, 79] Operation: 85-6=79
Exploring Operation: 85-32=53, Resulting Numbers: [6, 53]
Generated Node #0,0,2: 53:[6, 53] Operation: 85-32=53
Moving to Node #0,1
Current State: 53:[85, 3, 34], Operations: ['2+32=34']
Exploring Operation: 3+34=37, Resulting Numbers: [85, 37]
Generated Node #0,1,0: 53:[85, 37] Operation: 3+34=37
Exploring Operation: 85-3=82, Resulting Numbers: [34, 82]
Generated Node #0,1,1: 53:[34, 82] Operation: 85-3=82
Exploring Operation: 85-34=51, Resulting Numbers: [3, 51]
Generated Node #0,1,2: 53:[3, 51] Operation: 85-34=51
Moving to Node #0,0,0
Current State: 53:[85, 38], Operations: ['2*3=6', '32+6=38']
Exploring Operation: 85+38=123, Resulting Numbers: [123]
123,53 unequal: No Solution
Exploring Operation: 85*38=3230, Resulting Numbers: [3230]
3230,53 unequal: No Solution
Exploring Operation: 85-38=47, Resulting Numbers: [47]
47,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[6, 53], Operations: ['2*3=6', '85-32=53']
Exploring Operation: 6+53=59, Resulting Numbers: [59]
59,53 unequal: No Solution
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,53 unequal: No Solution
Exploring Operation: 6*53=318, Resulting Numbers: [318]
318,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[32, 79], Operations: ['2*3=6', '85-6=79']
Exploring Operation: 32+79=111, Resulting Numbers: [111]
111,53 unequal: No Solution
Exploring Operation: 32*79=2528, Resulting Numbers: [2528]
2528,53 unequal: No Solution
Exploring Operation: 79-32=47, Resulting Numbers: [47]
47,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[85, 37], Operations: ['2+32=34', '3+34=37']
Exploring Operation: 85+37=122, Resulting Numbers: [122]
122,53 unequal: No Solution
Exploring Operation: 85*37=3145, Resulting Numbers: [3145]
3145,53 unequal: No Solution
Exploring Operation: 85-37=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[34, 82], Operations: ['2+32=34', '85-3=82']
Exploring Operation: 82-34=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Exploring Operation: 34+82=116, Resulting Numbers: [116]
116,53 unequal: No Solution
Exploring Operation: 34*82=2788, Resulting Numbers: [2788]
2788,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[3, 51], Operations: ['2+32=34', '85-34=51']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,53 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
2,
12,
63,
2
] | 78 |
[
"2*12=24",
"63-24=39",
"2*39=78"
] |
Current State: 78:[2, 12, 63, 2], Operations: []
Exploring Operation: 2*12=24, Resulting Numbers: [63, 24]
Generated Node #2: [63, 24] from Operation: 2*12=24
Current State: 78:[63, 24], Operations: ['2*12=24']
Exploring Operation: 63-24=39, Resulting Numbers: [39]
39,78 equal: Goal Reached
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 |
Current State: 78:[2, 12, 63, 2], Operations: []
Exploring Operation: 12+63=75, Resulting Numbers: [2, 2, 75]
Generated Node #0,0: 78:[2, 2, 75] Operation: 12+63=75
Exploring Operation: 63-12=51, Resulting Numbers: [2, 2, 51]
Generated Node #0,1: 78:[2, 2, 51] Operation: 63-12=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[2, 2, 75], Operations: ['12+63=75']
Exploring Operation: 2+75=77, Resulting Numbers: [2, 77]
Generated Node #0,0,0: 78:[2, 77] Operation: 2+75=77
Exploring Operation: 2+75=77, Resulting Numbers: [2, 77]
Generated Node #0,0,1: 78:[2, 77] Operation: 2+75=77
Moving to Node #0,0,0
Current State: 78:[2, 77], Operations: ['12+63=75', '2+75=77']
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,78 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[2, 77], Operations: ['12+63=75', '2+75=77']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,78 unequal: No Solution
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[2, 2, 51], Operations: ['63-12=51']
Exploring Operation: 51-2=49, Resulting Numbers: [2, 49]
Generated Node #0,1,0: 78:[2, 49] Operation: 51-2=49
Exploring Operation: 51-2=49, Resulting Numbers: [2, 49]
Generated Node #0,1,1: 78:[2, 49] Operation: 51-2=49
Moving to Node #0,1,0
Current State: 78:[2, 49], Operations: ['63-12=51', '51-2=49']
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,78 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[2, 49], Operations: ['63-12=51', '51-2=49']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,78 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
47,
16,
58,
29
] | 56 |
[
"47-16=31",
"58+29=87",
"87-31=56"
] |
Current State: 56:[47, 16, 58, 29], Operations: []
Exploring Operation: 47-16=31, Resulting Numbers: [58, 29, 31]
Generated Node #2: [58, 29, 31] from Operation: 47-16=31
Current State: 56:[58, 29, 31], Operations: ['47-16=31']
Exploring Operation: 58+29=87, Resulting Numbers: [31, 87]
Generated Node #3: [31, 87] from Operation: 58+29=87
Current State: 56:[31, 87], Operations: ['47-16=31', '58+29=87']
Exploring Operation: 87-31=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 |
Current State: 56:[47, 16, 58, 29], Operations: []
Exploring Operation: 47-16=31, Resulting Numbers: [58, 29, 31]
Generated Node #0,0: 56:[58, 29, 31] Operation: 47-16=31
Exploring Operation: 58-47=11, Resulting Numbers: [16, 29, 11]
Generated Node #0,1: 56:[16, 29, 11] Operation: 58-47=11
Exploring Operation: 47-29=18, Resulting Numbers: [16, 58, 18]
Generated Node #0,2: 56:[16, 58, 18] Operation: 47-29=18
Exploring Operation: 47+16=63, Resulting Numbers: [58, 29, 63]
Generated Node #0,3: 56:[58, 29, 63] Operation: 47+16=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[58, 29, 31], Operations: ['47-16=31']
Exploring Operation: 58-31=27, Resulting Numbers: [29, 27]
Generated Node #0,0,0: 56:[29, 27] Operation: 58-31=27
Exploring Operation: 58-29=29, Resulting Numbers: [31, 29]
Generated Node #0,0,1: 56:[31, 29] Operation: 58-29=29
Exploring Operation: 58/29=2, Resulting Numbers: [31, 2]
Generated Node #0,0,2: 56:[31, 2] Operation: 58/29=2
Exploring Operation: 31-29=2, Resulting Numbers: [58, 2]
Generated Node #0,0,3: 56:[58, 2] Operation: 31-29=2
Moving to Node #0,0,0
Current State: 56:[29, 27], Operations: ['47-16=31', '58-31=27']
Exploring Operation: 29*27=783, Resulting Numbers: [783]
783,56 unequal: No Solution
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[47, 16, 58, 29], Operations: []
Exploring Operation: 47-16=31, Resulting Numbers: [58, 29, 31]
Generated Node #0,0: 56:[58, 29, 31] Operation: 47-16=31
Moving to Node #0,0
Current State: 56:[58, 29, 31], Operations: ['47-16=31']
Exploring Operation: 58-31=27, Resulting Numbers: [29, 27]
Generated Node #0,0,0: 56:[29, 27] Operation: 58-31=27
Moving to Node #0,0,0
Current State: 56:[29, 27], Operations: ['47-16=31', '58-31=27']
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 |
hs_4
|
mult_heuristic
|
[
6,
3,
73,
61
] | 75 |
[
"73-61=12",
"6*12=72",
"3+72=75"
] |
Current State: 75:[6, 3, 73, 61], Operations: []
Exploring Operation: 73-61=12, Resulting Numbers: [6, 3, 12]
Generated Node #2: [6, 3, 12] from Operation: 73-61=12
Current State: 75:[6, 3, 12], Operations: ['73-61=12']
Exploring Operation: 6*12=72, Resulting Numbers: [3, 72]
Generated Node #3: [3, 72] from Operation: 6*12=72
Current State: 75:[3, 72], Operations: ['73-61=12', '6*12=72']
Exploring Operation: 3+72=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 |
Current State: 75:[6, 3, 73, 61], Operations: []
Exploring Operation: 73-61=12, Resulting Numbers: [6, 3, 12]
Generated Node #0,0: 75:[6, 3, 12] Operation: 73-61=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[6, 3, 12], Operations: ['73-61=12']
Exploring Operation: 12-6=6, Resulting Numbers: [3, 6]
Generated Node #0,0,0: 75:[3, 6] Operation: 12-6=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[3, 6], Operations: ['73-61=12', '12-6=6']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,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_1
|
sum_heuristic
|
[
24,
69,
91,
82
] | 31 |
[
"82-69=13",
"91/13=7",
"24+7=31"
] |
Current State: 31:[24, 69, 91, 82], Operations: []
Exploring Operation: 82-69=13, Resulting Numbers: [24, 91, 13]
Generated Node #2: [24, 91, 13] from Operation: 82-69=13
Current State: 31:[24, 91, 13], Operations: ['82-69=13']
Exploring Operation: 91/13=7, Resulting Numbers: [24, 7]
Generated Node #3: [24, 7] from Operation: 91/13=7
Current State: 31:[24, 7], Operations: ['82-69=13', '91/13=7']
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 |
Current State: 31:[24, 69, 91, 82], Operations: []
Exploring Operation: 91-69=22, Resulting Numbers: [24, 82, 22]
Generated Node #0,0: 31:[24, 82, 22] Operation: 91-69=22
Exploring Operation: 91-82=9, Resulting Numbers: [24, 69, 9]
Generated Node #0,1: 31:[24, 69, 9] Operation: 91-82=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[24, 82, 22], Operations: ['91-69=22']
Exploring Operation: 82-24=58, Resulting Numbers: [22, 58]
Generated Node #0,0,0: 31:[22, 58] Operation: 82-24=58
Exploring Operation: 82-22=60, Resulting Numbers: [24, 60]
Generated Node #0,0,1: 31:[24, 60] Operation: 82-22=60
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[22, 58], Operations: ['91-69=22', '82-24=58']
Exploring Operation: 58-22=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 22+58=80, Resulting Numbers: [80]
80,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:[24, 60], Operations: ['91-69=22', '82-22=60']
Exploring Operation: 24+60=84, Resulting Numbers: [84]
84,31 unequal: No Solution
Exploring Operation: 60-24=36, Resulting Numbers: [36]
36,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:[24, 69, 9], Operations: ['91-82=9']
Exploring Operation: 69-24=45, Resulting Numbers: [9, 45]
Generated Node #0,1,0: 31:[9, 45] Operation: 69-24=45
Exploring Operation: 69-9=60, Resulting Numbers: [24, 60]
Generated Node #0,1,1: 31:[24, 60] Operation: 69-9=60
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 31:[9, 45], Operations: ['91-82=9', '69-24=45']
Exploring Operation: 9+45=54, Resulting Numbers: [54]
54,31 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,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,1,1
Current State: 31:[24, 60], Operations: ['91-82=9', '69-9=60']
Exploring Operation: 60-24=36, Resulting Numbers: [36]
36,31 unequal: No Solution
Exploring Operation: 24+60=84, Resulting Numbers: [84]
84,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
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
4,
38,
86,
32
] | 88 |
[
"38-4=34",
"86-32=54",
"34+54=88"
] |
Current State: 88:[4, 38, 86, 32], Operations: []
Exploring Operation: 38-4=34, Resulting Numbers: [86, 32, 34]
Generated Node #2: [86, 32, 34] from Operation: 38-4=34
Current State: 88:[86, 32, 34], Operations: ['38-4=34']
Exploring Operation: 86-32=54, Resulting Numbers: [34, 54]
Generated Node #3: [34, 54] from Operation: 86-32=54
Current State: 88:[34, 54], Operations: ['38-4=34', '86-32=54']
Exploring Operation: 34+54=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 |
Current State: 88:[4, 38, 86, 32], Operations: []
Exploring Operation: 38-32=6, Resulting Numbers: [4, 86, 6]
Generated Node #0,0: 88:[4, 86, 6] Operation: 38-32=6
Moving to Node #0,0
Current State: 88:[4, 86, 6], Operations: ['38-32=6']
Exploring Operation: 6-4=2, Resulting Numbers: [86, 2]
Generated Node #0,0,0: 88:[86, 2] Operation: 6-4=2
Moving to Node #0,0,0
Current State: 88:[86, 2], Operations: ['38-32=6', '6-4=2']
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[4, 38, 86, 32], Operations: []
Exploring Operation: 38-32=6, Resulting Numbers: [4, 86, 6]
Generated Node #0,0: 88:[4, 86, 6] Operation: 38-32=6
Moving to Node #0,0
Current State: 88:[4, 86, 6], Operations: ['38-32=6']
Exploring Operation: 6-4=2, Resulting Numbers: [86, 2]
Generated Node #0,0,0: 88:[86, 2] Operation: 6-4=2
Moving to Node #0,0,0
Current State: 88:[86, 2], Operations: ['38-32=6', '6-4=2']
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.993924 |
hs_1
|
sum_heuristic
|
[
46,
3,
1,
57
] | 22 |
[
"57-46=11",
"3-1=2",
"11*2=22"
] |
Current State: 22:[46, 3, 1, 57], Operations: []
Exploring Operation: 57-46=11, Resulting Numbers: [3, 1, 11]
Generated Node #2: [3, 1, 11] from Operation: 57-46=11
Current State: 22:[3, 1, 11], Operations: ['57-46=11']
Exploring Operation: 3-1=2, Resulting Numbers: [11, 2]
Generated Node #3: [11, 2] from Operation: 3-1=2
Current State: 22:[11, 2], Operations: ['57-46=11', '3-1=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 |
Current State: 22:[46, 3, 1, 57], Operations: []
Exploring Operation: 57-46=11, Resulting Numbers: [3, 1, 11]
Generated Node #0,0: 22:[3, 1, 11] Operation: 57-46=11
Moving to Node #0,0
Current State: 22:[3, 1, 11], Operations: ['57-46=11']
Exploring Operation: 3-1=2, Resulting Numbers: [11, 2]
Generated Node #0,0,0: 22:[11, 2] Operation: 3-1=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[11, 2], Operations: ['57-46=11', '3-1=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[46, 3, 1, 57], Operations: []
Exploring Operation: 57-46=11, Resulting Numbers: [3, 1, 11]
Generated Node #0,0: 22:[3, 1, 11] Operation: 57-46=11
Moving to Node #0,0
Current State: 22:[3, 1, 11], Operations: ['57-46=11']
Exploring Operation: 3-1=2, Resulting Numbers: [11, 2]
Generated Node #0,0,0: 22:[11, 2] Operation: 3-1=2
Moving to Node #0,0,0
Current State: 22:[11, 2], Operations: ['57-46=11', '3-1=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
sum_heuristic
|
[
49,
69,
3,
27
] | 11 |
[
"69-49=20",
"27/3=9",
"20-9=11"
] |
Current State: 11:[49, 69, 3, 27], Operations: []
Exploring Operation: 69-49=20, Resulting Numbers: [3, 27, 20]
Generated Node #2: [3, 27, 20] from Operation: 69-49=20
Current State: 11:[3, 27, 20], Operations: ['69-49=20']
Exploring Operation: 27/3=9, Resulting Numbers: [20, 9]
Generated Node #3: [20, 9] from Operation: 27/3=9
Current State: 11:[20, 9], Operations: ['69-49=20', '27/3=9']
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 |
Current State: 11:[49, 69, 3, 27], Operations: []
Exploring Operation: 69-49=20, Resulting Numbers: [3, 27, 20]
Generated Node #0,0: 11:[3, 27, 20] Operation: 69-49=20
Exploring Operation: 49-27=22, Resulting Numbers: [69, 3, 22]
Generated Node #0,1: 11:[69, 3, 22] Operation: 49-27=22
Exploring Operation: 69/3=23, Resulting Numbers: [49, 27, 23]
Generated Node #0,2: 11:[49, 27, 23] Operation: 69/3=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[3, 27, 20], Operations: ['69-49=20']
Exploring Operation: 27-3=24, Resulting Numbers: [20, 24]
Generated Node #0,0,0: 11:[20, 24] Operation: 27-3=24
Exploring Operation: 27/3=9, Resulting Numbers: [20, 9]
Generated Node #0,0,1: 11:[20, 9] Operation: 27/3=9
Exploring Operation: 27-20=7, Resulting Numbers: [3, 7]
Generated Node #0,0,2: 11:[3, 7] Operation: 27-20=7
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 11:[20, 9], Operations: ['69-49=20', '27/3=9']
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[49, 69, 3, 27], Operations: []
Exploring Operation: 69-49=20, Resulting Numbers: [3, 27, 20]
Generated Node #0,0: 11:[3, 27, 20] Operation: 69-49=20
Moving to Node #0,0
Current State: 11:[3, 27, 20], Operations: ['69-49=20']
Exploring Operation: 27/3=9, Resulting Numbers: [20, 9]
Generated Node #0,0,1: 11:[20, 9] Operation: 27/3=9
Moving to Node #0,0,1
Current State: 11:[20, 9], Operations: ['69-49=20', '27/3=9']
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 |
hs_3
|
mult_heuristic
|
[
4,
60,
52,
24
] | 64 |
[
"60-52=8",
"24-8=16",
"4*16=64"
] |
Current State: 64:[4, 60, 52, 24], Operations: []
Exploring Operation: 60-52=8, Resulting Numbers: [4, 24, 8]
Generated Node #2: [4, 24, 8] from Operation: 60-52=8
Current State: 64:[4, 24, 8], Operations: ['60-52=8']
Exploring Operation: 24-8=16, Resulting Numbers: [4, 16]
Generated Node #3: [4, 16] from Operation: 24-8=16
Current State: 64:[4, 16], Operations: ['60-52=8', '24-8=16']
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 |
Current State: 64:[4, 60, 52, 24], Operations: []
Exploring Operation: 60-52=8, Resulting Numbers: [4, 24, 8]
Generated Node #0,0: 64:[4, 24, 8] Operation: 60-52=8
Exploring Operation: 52/4=13, Resulting Numbers: [60, 24, 13]
Generated Node #0,1: 64:[60, 24, 13] Operation: 52/4=13
Exploring Operation: 60-24=36, Resulting Numbers: [4, 52, 36]
Generated Node #0,2: 64:[4, 52, 36] Operation: 60-24=36
Exploring Operation: 52-24=28, Resulting Numbers: [4, 60, 28]
Generated Node #0,3: 64:[4, 60, 28] Operation: 52-24=28
Exploring Operation: 52+24=76, Resulting Numbers: [4, 60, 76]
Generated Node #0,4: 64:[4, 60, 76] Operation: 52+24=76
Moving to Node #0,0
Current State: 64:[4, 24, 8], Operations: ['60-52=8']
Exploring Operation: 24+8=32, Resulting Numbers: [4, 32]
Generated Node #0,0,0: 64:[4, 32] Operation: 24+8=32
Exploring Operation: 24-8=16, Resulting Numbers: [4, 16]
Generated Node #0,0,1: 64:[4, 16] Operation: 24-8=16
Exploring Operation: 24/4=6, Resulting Numbers: [8, 6]
Generated Node #0,0,2: 64:[8, 6] Operation: 24/4=6
Exploring Operation: 4+24=28, Resulting Numbers: [8, 28]
Generated Node #0,0,3: 64:[8, 28] Operation: 4+24=28
Exploring Operation: 24/8=3, Resulting Numbers: [4, 3]
Generated Node #0,0,4: 64:[4, 3] Operation: 24/8=3
Moving to Node #0,3
Current State: 64:[4, 60, 28], Operations: ['52-24=28']
Exploring Operation: 4+60=64, Resulting Numbers: [28, 64]
Generated Node #0,3,0: 64:[28, 64] Operation: 4+60=64
Exploring Operation: 60-28=32, Resulting Numbers: [4, 32]
Generated Node #0,3,1: 64:[4, 32] Operation: 60-28=32
Exploring Operation: 28/4=7, Resulting Numbers: [60, 7]
Generated Node #0,3,2: 64:[60, 7] Operation: 28/4=7
Exploring Operation: 4+28=32, Resulting Numbers: [60, 32]
Generated Node #0,3,3: 64:[60, 32] Operation: 4+28=32
Exploring Operation: 60/4=15, Resulting Numbers: [28, 15]
Generated Node #0,3,4: 64:[28, 15] Operation: 60/4=15
Moving to Node #0,1
Current State: 64:[60, 24, 13], Operations: ['52/4=13']
Exploring Operation: 60+13=73, Resulting Numbers: [24, 73]
Generated Node #0,1,0: 64:[24, 73] Operation: 60+13=73
Exploring Operation: 60-24=36, Resulting Numbers: [13, 36]
Generated Node #0,1,1: 64:[13, 36] Operation: 60-24=36
Exploring Operation: 24-13=11, Resulting Numbers: [60, 11]
Generated Node #0,1,2: 64:[60, 11] Operation: 24-13=11
Exploring Operation: 60+24=84, Resulting Numbers: [13, 84]
Generated Node #0,1,3: 64:[13, 84] Operation: 60+24=84
Exploring Operation: 24+13=37, Resulting Numbers: [60, 37]
Generated Node #0,1,4: 64:[60, 37] Operation: 24+13=37
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[13, 36], Operations: ['52/4=13', '60-24=36']
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Exploring Operation: 13+36=49, Resulting Numbers: [49]
49,64 unequal: No Solution
Exploring Operation: 13*36=468, Resulting Numbers: [468]
468,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 64:[60, 11], Operations: ['52/4=13', '24-13=11']
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,64 unequal: No Solution
Exploring Operation: 60+11=71, Resulting Numbers: [71]
71,64 unequal: No Solution
Exploring Operation: 60*11=660, Resulting Numbers: [660]
660,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 64:[60, 37], Operations: ['52/4=13', '24+13=37']
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Exploring Operation: 60+37=97, Resulting Numbers: [97]
97,64 unequal: No Solution
Exploring Operation: 60*37=2220, Resulting Numbers: [2220]
2220,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[24, 73], Operations: ['52/4=13', '60+13=73']
Exploring Operation: 73-24=49, Resulting Numbers: [49]
49,64 unequal: No Solution
Exploring Operation: 24*73=1752, Resulting Numbers: [1752]
1752,64 unequal: No Solution
Exploring Operation: 24+73=97, Resulting Numbers: [97]
97,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 64:[13, 84], Operations: ['52/4=13', '60+24=84']
Exploring Operation: 13+84=97, Resulting Numbers: [97]
97,64 unequal: No Solution
Exploring Operation: 84-13=71, Resulting Numbers: [71]
71,64 unequal: No Solution
Exploring Operation: 13*84=1092, Resulting Numbers: [1092]
1092,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 64:[4, 52, 36], Operations: ['60-24=36']
Exploring Operation: 4+52=56, Resulting Numbers: [36, 56]
Generated Node #0,2,0: 64:[36, 56] Operation: 4+52=56
Exploring Operation: 36-4=32, Resulting Numbers: [52, 32]
Generated Node #0,2,1: 64:[52, 32] Operation: 36-4=32
Exploring Operation: 52-36=16, Resulting Numbers: [4, 16]
Generated Node #0,2,2: 64:[4, 16] Operation: 52-36=16
Exploring Operation: 36/4=9, Resulting Numbers: [52, 9]
Generated Node #0,2,3: 64:[52, 9] Operation: 36/4=9
Exploring Operation: 52/4=13, Resulting Numbers: [36, 13]
Generated Node #0,2,4: 64:[36, 13] Operation: 52/4=13
Moving to Node #0,4
Current State: 64:[4, 60, 76], Operations: ['52+24=76']
Exploring Operation: 76-60=16, Resulting Numbers: [4, 16]
Generated Node #0,4,0: 64:[4, 16] Operation: 76-60=16
Exploring Operation: 60/4=15, Resulting Numbers: [76, 15]
Generated Node #0,4,1: 64:[76, 15] Operation: 60/4=15
Exploring Operation: 76/4=19, Resulting Numbers: [60, 19]
Generated Node #0,4,2: 64:[60, 19] Operation: 76/4=19
Exploring Operation: 4+60=64, Resulting Numbers: [76, 64]
Generated Node #0,4,3: 64:[76, 64] Operation: 4+60=64
Exploring Operation: 76-4=72, Resulting Numbers: [60, 72]
Generated Node #0,4,4: 64:[60, 72] Operation: 76-4=72
Moving to Node #0,0,0
Current State: 64:[4, 32], Operations: ['60-52=8', '24+8=32']
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,64 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,64 unequal: No Solution
Moving to Node #0,3,1
Current State: 64:[4, 32], Operations: ['52-24=28', '60-28=32']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,64 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[4, 16], Operations: ['60-52=8', '24-8=16']
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[4, 60, 52, 24], Operations: []
Exploring Operation: 60-52=8, Resulting Numbers: [4, 24, 8]
Generated Node #0,0: 64:[4, 24, 8] Operation: 60-52=8
Moving to Node #0,0
Current State: 64:[4, 24, 8], Operations: ['60-52=8']
Exploring Operation: 24-8=16, Resulting Numbers: [4, 16]
Generated Node #0,0,1: 64:[4, 16] Operation: 24-8=16
Moving to Node #0,0,1
Current State: 64:[4, 16], Operations: ['60-52=8', '24-8=16']
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 0.949653 |
hs_5
|
mult_heuristic
|
[
25,
23,
14,
1
] | 63 |
[
"25+23=48",
"14+1=15",
"48+15=63"
] |
Current State: 63:[25, 23, 14, 1], Operations: []
Exploring Operation: 25+23=48, Resulting Numbers: [14, 1, 48]
Generated Node #2: [14, 1, 48] from Operation: 25+23=48
Current State: 63:[14, 1, 48], Operations: ['25+23=48']
Exploring Operation: 14+1=15, Resulting Numbers: [48, 15]
Generated Node #3: [48, 15] from Operation: 14+1=15
Current State: 63:[48, 15], Operations: ['25+23=48', '14+1=15']
Exploring Operation: 48+15=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 |
Current State: 63:[25, 23, 14, 1], Operations: []
Exploring Operation: 25-23=2, Resulting Numbers: [14, 1, 2]
Generated Node #0,0: 63:[14, 1, 2] Operation: 25-23=2
Exploring Operation: 23-1=22, Resulting Numbers: [25, 14, 22]
Generated Node #0,1: 63:[25, 14, 22] Operation: 23-1=22
Exploring Operation: 25-1=24, Resulting Numbers: [23, 14, 24]
Generated Node #0,2: 63:[23, 14, 24] Operation: 25-1=24
Exploring Operation: 25-14=11, Resulting Numbers: [23, 1, 11]
Generated Node #0,3: 63:[23, 1, 11] Operation: 25-14=11
Exploring Operation: 23-14=9, Resulting Numbers: [25, 1, 9]
Generated Node #0,4: 63:[25, 1, 9] Operation: 23-14=9
Moving to Node #0,3
Current State: 63:[23, 1, 11], Operations: ['25-14=11']
Exploring Operation: 11-1=10, Resulting Numbers: [23, 10]
Generated Node #0,3,0: 63:[23, 10] Operation: 11-1=10
Exploring Operation: 23-1=22, Resulting Numbers: [11, 22]
Generated Node #0,3,1: 63:[11, 22] Operation: 23-1=22
Exploring Operation: 23*1=23, Resulting Numbers: [11, 23]
Generated Node #0,3,2: 63:[11, 23] Operation: 23*1=23
Exploring Operation: 23/1=23, Resulting Numbers: [11, 23]
Generated Node #0,3,3: 63:[11, 23] Operation: 23/1=23
Exploring Operation: 1*11=11, Resulting Numbers: [23, 11]
Generated Node #0,3,4: 63:[23, 11] Operation: 1*11=11
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 63:[23, 10], Operations: ['25-14=11', '11-1=10']
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,63 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 23*10=230, Resulting Numbers: [230]
230,63 unequal: No Solution
No 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: 63:[11, 22], Operations: ['25-14=11', '23-1=22']
Exploring Operation: 11*22=242, Resulting Numbers: [242]
242,63 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 11+22=33, Resulting Numbers: [33]
33,63 unequal: No Solution
No 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: 63:[11, 23], Operations: ['25-14=11', '23*1=23']
Exploring Operation: 11+23=34, Resulting Numbers: [34]
34,63 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 11*23=253, Resulting Numbers: [253]
253,63 unequal: No Solution
No 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: 63:[11, 23], Operations: ['25-14=11', '23/1=23']
Exploring Operation: 11+23=34, Resulting Numbers: [34]
34,63 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 11*23=253, Resulting Numbers: [253]
253,63 unequal: No Solution
No 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: 63:[23, 11], Operations: ['25-14=11', '1*11=11']
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,63 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 23*11=253, Resulting Numbers: [253]
253,63 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: 63:[25, 1, 9], Operations: ['23-14=9']
Exploring Operation: 25*1=25, Resulting Numbers: [9, 25]
Generated Node #0,4,0: 63:[9, 25] Operation: 25*1=25
Exploring Operation: 25/1=25, Resulting Numbers: [9, 25]
Generated Node #0,4,1: 63:[9, 25] Operation: 25/1=25
Exploring Operation: 9/1=9, Resulting Numbers: [25, 9]
Generated Node #0,4,2: 63:[25, 9] Operation: 9/1=9
Exploring Operation: 1*9=9, Resulting Numbers: [25, 9]
Generated Node #0,4,3: 63:[25, 9] Operation: 1*9=9
Exploring Operation: 25-1=24, Resulting Numbers: [9, 24]
Generated Node #0,4,4: 63:[9, 24] Operation: 25-1=24
Moving to Node #0,0
Current State: 63:[14, 1, 2], Operations: ['25-23=2']
Exploring Operation: 14*1=14, Resulting Numbers: [2, 14]
Generated Node #0,0,0: 63:[2, 14] Operation: 14*1=14
Exploring Operation: 14/2=7, Resulting Numbers: [1, 7]
Generated Node #0,0,1: 63:[1, 7] Operation: 14/2=7
Exploring Operation: 14-1=13, Resulting Numbers: [2, 13]
Generated Node #0,0,2: 63:[2, 13] Operation: 14-1=13
Exploring Operation: 14-2=12, Resulting Numbers: [1, 12]
Generated Node #0,0,3: 63:[1, 12] Operation: 14-2=12
Exploring Operation: 1+2=3, Resulting Numbers: [14, 3]
Generated Node #0,0,4: 63:[14, 3] Operation: 1+2=3
Moving to Node #0,1
Current State: 63:[25, 14, 22], Operations: ['23-1=22']
Exploring Operation: 25-14=11, Resulting Numbers: [22, 11]
Generated Node #0,1,0: 63:[22, 11] Operation: 25-14=11
Exploring Operation: 25+14=39, Resulting Numbers: [22, 39]
Generated Node #0,1,1: 63:[22, 39] Operation: 25+14=39
Exploring Operation: 22-14=8, Resulting Numbers: [25, 8]
Generated Node #0,1,2: 63:[25, 8] Operation: 22-14=8
Exploring Operation: 14+22=36, Resulting Numbers: [25, 36]
Generated Node #0,1,3: 63:[25, 36] Operation: 14+22=36
Exploring Operation: 25-22=3, Resulting Numbers: [14, 3]
Generated Node #0,1,4: 63:[14, 3] Operation: 25-22=3
Moving to Node #0,2
Current State: 63:[23, 14, 24], Operations: ['25-1=24']
Exploring Operation: 23-14=9, Resulting Numbers: [24, 9]
Generated Node #0,2,0: 63:[24, 9] Operation: 23-14=9
Exploring Operation: 23+14=37, Resulting Numbers: [24, 37]
Generated Node #0,2,1: 63:[24, 37] Operation: 23+14=37
Exploring Operation: 24-14=10, Resulting Numbers: [23, 10]
Generated Node #0,2,2: 63:[23, 10] Operation: 24-14=10
Exploring Operation: 14+24=38, Resulting Numbers: [23, 38]
Generated Node #0,2,3: 63:[23, 38] Operation: 14+24=38
Exploring Operation: 24-23=1, Resulting Numbers: [14, 1]
Generated Node #0,2,4: 63:[14, 1] Operation: 24-23=1
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 63:[24, 9], Operations: ['25-1=24', '23-14=9']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,63 unequal: No Solution
Exploring Operation: 24*9=216, Resulting Numbers: [216]
216,63 unequal: No Solution
No 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: 63:[23, 10], Operations: ['25-1=24', '24-14=10']
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,63 unequal: No Solution
Exploring Operation: 23*10=230, Resulting Numbers: [230]
230,63 unequal: No Solution
No 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: 63:[14, 1], Operations: ['25-1=24', '24-23=1']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,63 unequal: No Solution
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,63 unequal: No Solution
No 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: 63:[24, 37], Operations: ['25-1=24', '23+14=37']
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 24+37=61, Resulting Numbers: [61]
61,63 unequal: No Solution
Exploring Operation: 24*37=888, Resulting Numbers: [888]
888,63 unequal: No Solution
No 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: 63:[23, 38], Operations: ['25-1=24', '14+24=38']
Exploring Operation: 23+38=61, Resulting Numbers: [61]
61,63 unequal: No Solution
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Exploring Operation: 23*38=874, Resulting Numbers: [874]
874,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 63:[1, 7], Operations: ['25-23=2', '14/2=7']
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,63 unequal: No Solution
Exploring Operation: 1*7=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 1+7=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Moving to Node #0,4,4
Current State: 63:[9, 24], Operations: ['23-14=9', '25-1=24']
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,63 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Exploring Operation: 9*24=216, Resulting Numbers: [216]
216,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[22, 11], Operations: ['23-1=22', '25-14=11']
Exploring Operation: 22+11=33, Resulting Numbers: [33]
33,63 unequal: No Solution
Exploring Operation: 22*11=242, Resulting Numbers: [242]
242,63 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Moving to Node #0,4,1
Current State: 63:[9, 25], Operations: ['23-14=9', '25/1=25']
Exploring Operation: 9+25=34, Resulting Numbers: [34]
34,63 unequal: No Solution
Exploring Operation: 9*25=225, Resulting Numbers: [225]
225,63 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Moving to Node #0,4,0
Current State: 63:[9, 25], Operations: ['23-14=9', '25*1=25']
Exploring Operation: 9*25=225, Resulting Numbers: [225]
225,63 unequal: No Solution
Exploring Operation: 9+25=34, Resulting Numbers: [34]
34,63 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Moving to Node #0,4,3
Current State: 63:[25, 9], Operations: ['23-14=9', '1*9=9']
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,63 unequal: No Solution
Exploring Operation: 25*9=225, Resulting Numbers: [225]
225,63 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Moving to Node #0,4,2
Current State: 63:[25, 9], Operations: ['23-14=9', '9/1=9']
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,63 unequal: No Solution
Exploring Operation: 25*9=225, Resulting Numbers: [225]
225,63 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[2, 13], Operations: ['25-23=2', '14-1=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Moving to Node #0,1,4
Current State: 63:[14, 3], Operations: ['23-1=22', '25-22=3']
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,63 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,63 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Moving to Node #0,0,3
Current State: 63:[1, 12], Operations: ['25-23=2', '14-2=12']
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Moving to Node #0,1,2
Current State: 63:[25, 8], Operations: ['23-1=22', '22-14=8']
Exploring Operation: 25+8=33, Resulting Numbers: [33]
33,63 unequal: No Solution
Exploring Operation: 25*8=200, Resulting Numbers: [200]
200,63 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,63 unequal: No Solution
Moving to Node #0,0,4
Current State: 63:[14, 3], Operations: ['25-23=2', '1+2=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,63 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,63 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[2, 14], Operations: ['25-23=2', '14*1=14']
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Moving to Node #0,1,3
Current State: 63:[25, 36], Operations: ['23-1=22', '14+22=36']
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Exploring Operation: 25*36=900, Resulting Numbers: [900]
900,63 unequal: No Solution
Exploring Operation: 25+36=61, Resulting Numbers: [61]
61,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[22, 39], Operations: ['23-1=22', '25+14=39']
Exploring Operation: 22*39=858, Resulting Numbers: [858]
858,63 unequal: No Solution
Exploring Operation: 22+39=61, Resulting Numbers: [61]
61,63 unequal: No Solution
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,63 unequal: No Solution
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
1,
30,
96,
9
] | 15 |
[
"30+96=126",
"126/9=14",
"1+14=15"
] |
Current State: 15:[1, 30, 96, 9], Operations: []
Exploring Operation: 30+96=126, Resulting Numbers: [1, 9, 126]
Generated Node #2: [1, 9, 126] from Operation: 30+96=126
Current State: 15:[1, 9, 126], Operations: ['30+96=126']
Exploring Operation: 126/9=14, Resulting Numbers: [1, 14]
Generated Node #3: [1, 14] from Operation: 126/9=14
Current State: 15:[1, 14], Operations: ['30+96=126', '126/9=14']
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 |
Current State: 15:[1, 30, 96, 9], Operations: []
Exploring Operation: 96-30=66, Resulting Numbers: [1, 9, 66]
Generated Node #0,0: 15:[1, 9, 66] Operation: 96-30=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[1, 9, 66], Operations: ['96-30=66']
Exploring Operation: 66-9=57, Resulting Numbers: [1, 57]
Generated Node #0,0,0: 15:[1, 57] Operation: 66-9=57
Moving to Node #0,0,0
Current State: 15:[1, 57], Operations: ['96-30=66', '66-9=57']
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,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
|
mult_heuristic
|
[
1,
16,
18,
57
] | 13 |
[
"1+18=19",
"57/19=3",
"16-3=13"
] |
Current State: 13:[1, 16, 18, 57], Operations: []
Exploring Operation: 1+18=19, Resulting Numbers: [16, 57, 19]
Generated Node #2: [16, 57, 19] from Operation: 1+18=19
Current State: 13:[16, 57, 19], Operations: ['1+18=19']
Exploring Operation: 57/19=3, Resulting Numbers: [16, 3]
Generated Node #3: [16, 3] from Operation: 57/19=3
Current State: 13:[16, 3], Operations: ['1+18=19', '57/19=3']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 |
Current State: 13:[1, 16, 18, 57], Operations: []
Exploring Operation: 16-1=15, Resulting Numbers: [18, 57, 15]
Generated Node #0,0: 13:[18, 57, 15] Operation: 16-1=15
Exploring Operation: 57-1=56, Resulting Numbers: [16, 18, 56]
Generated Node #0,1: 13:[16, 18, 56] Operation: 57-1=56
Exploring Operation: 57-18=39, Resulting Numbers: [1, 16, 39]
Generated Node #0,2: 13:[1, 16, 39] Operation: 57-18=39
Exploring Operation: 57-16=41, Resulting Numbers: [1, 18, 41]
Generated Node #0,3: 13:[1, 18, 41] Operation: 57-16=41
Exploring Operation: 18-1=17, Resulting Numbers: [16, 57, 17]
Generated Node #0,4: 13:[16, 57, 17] Operation: 18-1=17
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[1, 16, 39], Operations: ['57-18=39']
Exploring Operation: 16/1=16, Resulting Numbers: [39, 16]
Generated Node #0,2,0: 13:[39, 16] Operation: 16/1=16
Exploring Operation: 1*16=16, Resulting Numbers: [39, 16]
Generated Node #0,2,1: 13:[39, 16] Operation: 1*16=16
Exploring Operation: 39-16=23, Resulting Numbers: [1, 23]
Generated Node #0,2,2: 13:[1, 23] Operation: 39-16=23
Exploring Operation: 39-1=38, Resulting Numbers: [16, 38]
Generated Node #0,2,3: 13:[16, 38] Operation: 39-1=38
Exploring Operation: 16-1=15, Resulting Numbers: [39, 15]
Generated Node #0,2,4: 13:[39, 15] Operation: 16-1=15
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 13:[1, 23], Operations: ['57-18=39', '39-16=23']
Exploring Operation: 1+23=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 1*23=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,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,2,3
Current State: 13:[16, 38], Operations: ['57-18=39', '39-1=38']
Exploring Operation: 16+38=54, Resulting Numbers: [54]
54,13 unequal: No Solution
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 16*38=608, Resulting Numbers: [608]
608,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,2,4
Current State: 13:[39, 15], Operations: ['57-18=39', '16-1=15']
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 39+15=54, Resulting Numbers: [54]
54,13 unequal: No Solution
Exploring Operation: 39*15=585, Resulting Numbers: [585]
585,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,2,0
Current State: 13:[39, 16], Operations: ['57-18=39', '16/1=16']
Exploring Operation: 39+16=55, Resulting Numbers: [55]
55,13 unequal: No Solution
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 39*16=624, Resulting Numbers: [624]
624,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,2,1
Current State: 13:[39, 16], Operations: ['57-18=39', '1*16=16']
Exploring Operation: 39+16=55, Resulting Numbers: [55]
55,13 unequal: No Solution
Exploring Operation: 39*16=624, Resulting Numbers: [624]
624,13 unequal: No Solution
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 13:[1, 18, 41], Operations: ['57-16=41']
Exploring Operation: 18/1=18, Resulting Numbers: [41, 18]
Generated Node #0,3,0: 13:[41, 18] Operation: 18/1=18
Exploring Operation: 41-18=23, Resulting Numbers: [1, 23]
Generated Node #0,3,1: 13:[1, 23] Operation: 41-18=23
Exploring Operation: 41-1=40, Resulting Numbers: [18, 40]
Generated Node #0,3,2: 13:[18, 40] Operation: 41-1=40
Exploring Operation: 18-1=17, Resulting Numbers: [41, 17]
Generated Node #0,3,3: 13:[41, 17] Operation: 18-1=17
Exploring Operation: 1*18=18, Resulting Numbers: [41, 18]
Generated Node #0,3,4: 13:[41, 18] Operation: 1*18=18
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 13:[1, 23], Operations: ['57-16=41', '41-18=23']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 1*23=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 1+23=24, Resulting Numbers: [24]
24,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,3,2
Current State: 13:[18, 40], Operations: ['57-16=41', '41-1=40']
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 18*40=720, Resulting Numbers: [720]
720,13 unequal: No Solution
Exploring Operation: 18+40=58, Resulting Numbers: [58]
58,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,3,3
Current State: 13:[41, 17], Operations: ['57-16=41', '18-1=17']
Exploring Operation: 41*17=697, Resulting Numbers: [697]
697,13 unequal: No Solution
Exploring Operation: 41+17=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,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,3,0
Current State: 13:[41, 18], Operations: ['57-16=41', '18/1=18']
Exploring Operation: 41*18=738, Resulting Numbers: [738]
738,13 unequal: No Solution
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 41+18=59, Resulting Numbers: [59]
59,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,3,4
Current State: 13:[41, 18], Operations: ['57-16=41', '1*18=18']
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 41+18=59, Resulting Numbers: [59]
59,13 unequal: No Solution
Exploring Operation: 41*18=738, Resulting Numbers: [738]
738,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[18, 57, 15], Operations: ['16-1=15']
Exploring Operation: 18+57=75, Resulting Numbers: [15, 75]
Generated Node #0,0,0: 13:[15, 75] Operation: 18+57=75
Exploring Operation: 57-15=42, Resulting Numbers: [18, 42]
Generated Node #0,0,1: 13:[18, 42] Operation: 57-15=42
Exploring Operation: 18-15=3, Resulting Numbers: [57, 3]
Generated Node #0,0,2: 13:[57, 3] Operation: 18-15=3
Exploring Operation: 57-18=39, Resulting Numbers: [15, 39]
Generated Node #0,0,3: 13:[15, 39] Operation: 57-18=39
Exploring Operation: 18+15=33, Resulting Numbers: [57, 33]
Generated Node #0,0,4: 13:[57, 33] Operation: 18+15=33
Moving to Node #0,0,3
Current State: 13:[15, 39], Operations: ['16-1=15', '57-18=39']
Exploring Operation: 15*39=585, Resulting Numbers: [585]
585,13 unequal: No Solution
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[18, 42], Operations: ['16-1=15', '57-15=42']
Exploring Operation: 18+42=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 18*42=756, Resulting Numbers: [756]
756,13 unequal: No Solution
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[57, 3], Operations: ['16-1=15', '18-15=3']
Exploring Operation: 57+3=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 57*3=171, Resulting Numbers: [171]
171,13 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[15, 75], Operations: ['16-1=15', '18+57=75']
Exploring Operation: 75-15=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 15*75=1125, Resulting Numbers: [1125]
1125,13 unequal: No Solution
Exploring Operation: 15+75=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Exploring Operation: 75/15=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Moving to Node #0,0,4
Current State: 13:[57, 33], Operations: ['16-1=15', '18+15=33']
Exploring Operation: 57-33=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 57*33=1881, Resulting Numbers: [1881]
1881,13 unequal: No Solution
Exploring Operation: 57+33=90, Resulting Numbers: [90]
90,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,1
Current State: 13:[16, 18, 56], Operations: ['57-1=56']
Exploring Operation: 56-16=40, Resulting Numbers: [18, 40]
Generated Node #0,1,0: 13:[18, 40] Operation: 56-16=40
Exploring Operation: 56-18=38, Resulting Numbers: [16, 38]
Generated Node #0,1,1: 13:[16, 38] Operation: 56-18=38
Exploring Operation: 16+18=34, Resulting Numbers: [56, 34]
Generated Node #0,1,2: 13:[56, 34] Operation: 16+18=34
Exploring Operation: 16+56=72, Resulting Numbers: [18, 72]
Generated Node #0,1,3: 13:[18, 72] Operation: 16+56=72
Exploring Operation: 18-16=2, Resulting Numbers: [56, 2]
Generated Node #0,1,4: 13:[56, 2] Operation: 18-16=2
Moving to Node #0,1,1
Current State: 13:[16, 38], Operations: ['57-1=56', '56-18=38']
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 16*38=608, Resulting Numbers: [608]
608,13 unequal: No Solution
Exploring Operation: 16+38=54, Resulting Numbers: [54]
54,13 unequal: No Solution
Moving to Node #0,1,0
Current State: 13:[18, 40], Operations: ['57-1=56', '56-16=40']
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 18*40=720, Resulting Numbers: [720]
720,13 unequal: No Solution
Exploring Operation: 18+40=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Moving to Node #0,1,4
Current State: 13:[56, 2], Operations: ['57-1=56', '18-16=2']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,13 unequal: No Solution
Exploring Operation: 56*2=112, Resulting Numbers: [112]
112,13 unequal: No Solution
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Moving to Node #0,1,2
Current State: 13:[56, 34], Operations: ['57-1=56', '16+18=34']
Exploring Operation: 56-34=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 56*34=1904, Resulting Numbers: [1904]
1904,13 unequal: No Solution
Exploring Operation: 56+34=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Moving to Node #0,1,3
Current State: 13:[18, 72], Operations: ['57-1=56', '16+56=72']
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,13 unequal: No Solution
Exploring Operation: 18+72=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Exploring Operation: 18*72=1296, Resulting Numbers: [1296]
1296,13 unequal: No Solution
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,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,4
Current State: 13:[16, 57, 17], Operations: ['18-1=17']
Exploring Operation: 57-16=41, Resulting Numbers: [17, 41]
Generated Node #0,4,0: 13:[17, 41] Operation: 57-16=41
Exploring Operation: 57-17=40, Resulting Numbers: [16, 40]
Generated Node #0,4,1: 13:[16, 40] Operation: 57-17=40
Exploring Operation: 16+57=73, Resulting Numbers: [17, 73]
Generated Node #0,4,2: 13:[17, 73] Operation: 16+57=73
Exploring Operation: 17-16=1, Resulting Numbers: [57, 1]
Generated Node #0,4,3: 13:[57, 1] Operation: 17-16=1
Exploring Operation: 16+17=33, Resulting Numbers: [57, 33]
Generated Node #0,4,4: 13:[57, 33] Operation: 16+17=33
Moving to Node #0,4,1
Current State: 13:[16, 40], Operations: ['18-1=17', '57-17=40']
Exploring Operation: 40-16=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 16*40=640, Resulting Numbers: [640]
640,13 unequal: No Solution
Exploring Operation: 16+40=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Moving to Node #0,4,0
Current State: 13:[17, 41], Operations: ['18-1=17', '57-16=41']
Exploring Operation: 17+41=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 17*41=697, Resulting Numbers: [697]
697,13 unequal: No Solution
Moving to Node #0,4,3
Current State: 13:[57, 1], Operations: ['18-1=17', '17-16=1']
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,13 unequal: No Solution
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,13 unequal: No Solution
Moving to Node #0,4,2
Current State: 13:[17, 73], Operations: ['18-1=17', '16+57=73']
Exploring Operation: 73-17=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 17*73=1241, Resulting Numbers: [1241]
1241,13 unequal: No Solution
Exploring Operation: 17+73=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Moving to Node #0,4,4
Current State: 13:[57, 33], Operations: ['18-1=17', '16+17=33']
Exploring Operation: 57*33=1881, Resulting Numbers: [1881]
1881,13 unequal: No Solution
Exploring Operation: 57+33=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Exploring Operation: 57-33=24, Resulting Numbers: [24]
24,13 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
|
[
59,
78,
9,
7
] | 40 |
[
"9-7=2",
"59*2=118",
"118-78=40"
] |
Current State: 40:[59, 78, 9, 7], Operations: []
Exploring Operation: 9-7=2, Resulting Numbers: [59, 78, 2]
Generated Node #2: [59, 78, 2] from Operation: 9-7=2
Current State: 40:[59, 78, 2], Operations: ['9-7=2']
Exploring Operation: 59*2=118, Resulting Numbers: [78, 118]
Generated Node #3: [78, 118] from Operation: 59*2=118
Current State: 40:[78, 118], Operations: ['9-7=2', '59*2=118']
Exploring Operation: 118-78=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 |
Current State: 40:[59, 78, 9, 7], Operations: []
Exploring Operation: 78-59=19, Resulting Numbers: [9, 7, 19]
Generated Node #0,0: 40:[9, 7, 19] Operation: 78-59=19
Exploring Operation: 59-9=50, Resulting Numbers: [78, 7, 50]
Generated Node #0,1: 40:[78, 7, 50] Operation: 59-9=50
Moving to Node #0,0
Current State: 40:[9, 7, 19], Operations: ['78-59=19']
Exploring Operation: 19-9=10, Resulting Numbers: [7, 10]
Generated Node #0,0,0: 40:[7, 10] Operation: 19-9=10
Exploring Operation: 9-7=2, Resulting Numbers: [19, 2]
Generated Node #0,0,1: 40:[19, 2] Operation: 9-7=2
Moving to Node #0,1
Current State: 40:[78, 7, 50], Operations: ['59-9=50']
Exploring Operation: 78-7=71, Resulting Numbers: [50, 71]
Generated Node #0,1,0: 40:[50, 71] Operation: 78-7=71
Exploring Operation: 78-50=28, Resulting Numbers: [7, 28]
Generated Node #0,1,1: 40:[7, 28] Operation: 78-50=28
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 40:[7, 28], Operations: ['59-9=50', '78-50=28']
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,40 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,40 unequal: No Solution
No 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: 40:[50, 71], Operations: ['59-9=50', '78-7=71']
Exploring Operation: 71-50=21, Resulting Numbers: [21]
21,40 unequal: No Solution
Exploring Operation: 50+71=121, Resulting Numbers: [121]
121,40 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: 40:[7, 10], Operations: ['78-59=19', '19-9=10']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[19, 2], Operations: ['78-59=19', '9-7=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,40 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,40 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
66,
71,
13,
78
] | 11 |
[
"71-66=5",
"78/13=6",
"5+6=11"
] |
Current State: 11:[66, 71, 13, 78], Operations: []
Exploring Operation: 71-66=5, Resulting Numbers: [13, 78, 5]
Generated Node #2: [13, 78, 5] from Operation: 71-66=5
Current State: 11:[13, 78, 5], Operations: ['71-66=5']
Exploring Operation: 78/13=6, Resulting Numbers: [5, 6]
Generated Node #3: [5, 6] from Operation: 78/13=6
Current State: 11:[5, 6], Operations: ['71-66=5', '78/13=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 |
Current State: 11:[66, 71, 13, 78], Operations: []
Exploring Operation: 78-71=7, Resulting Numbers: [66, 13, 7]
Generated Node #0,0: 11:[66, 13, 7] Operation: 78-71=7
Exploring Operation: 66-13=53, Resulting Numbers: [71, 78, 53]
Generated Node #0,1: 11:[71, 78, 53] Operation: 66-13=53
Exploring Operation: 78-66=12, Resulting Numbers: [71, 13, 12]
Generated Node #0,2: 11:[71, 13, 12] Operation: 78-66=12
Exploring Operation: 78/13=6, Resulting Numbers: [66, 71, 6]
Generated Node #0,3: 11:[66, 71, 6] Operation: 78/13=6
Exploring Operation: 71-66=5, Resulting Numbers: [13, 78, 5]
Generated Node #0,4: 11:[13, 78, 5] Operation: 71-66=5
Moving to Node #0,0
Current State: 11:[66, 13, 7], Operations: ['78-71=7']
Exploring Operation: 66+7=73, Resulting Numbers: [13, 73]
Generated Node #0,0,0: 11:[13, 73] Operation: 66+7=73
Exploring Operation: 66-7=59, Resulting Numbers: [13, 59]
Generated Node #0,0,1: 11:[13, 59] Operation: 66-7=59
Exploring Operation: 13+7=20, Resulting Numbers: [66, 20]
Generated Node #0,0,2: 11:[66, 20] Operation: 13+7=20
Exploring Operation: 66-13=53, Resulting Numbers: [7, 53]
Generated Node #0,0,3: 11:[7, 53] Operation: 66-13=53
Exploring Operation: 13-7=6, Resulting Numbers: [66, 6]
Generated Node #0,0,4: 11:[66, 6] Operation: 13-7=6
Moving to Node #0,2
Current State: 11:[71, 13, 12], Operations: ['78-66=12']
Exploring Operation: 13-12=1, Resulting Numbers: [71, 1]
Generated Node #0,2,0: 11:[71, 1] Operation: 13-12=1
Exploring Operation: 71-12=59, Resulting Numbers: [13, 59]
Generated Node #0,2,1: 11:[13, 59] Operation: 71-12=59
Exploring Operation: 71+13=84, Resulting Numbers: [12, 84]
Generated Node #0,2,2: 11:[12, 84] Operation: 71+13=84
Exploring Operation: 71+12=83, Resulting Numbers: [13, 83]
Generated Node #0,2,3: 11:[13, 83] Operation: 71+12=83
Exploring Operation: 71-13=58, Resulting Numbers: [12, 58]
Generated Node #0,2,4: 11:[12, 58] Operation: 71-13=58
Moving to Node #0,4
Current State: 11:[13, 78, 5], Operations: ['71-66=5']
Exploring Operation: 78-13=65, Resulting Numbers: [5, 65]
Generated Node #0,4,0: 11:[5, 65] Operation: 78-13=65
Exploring Operation: 13+5=18, Resulting Numbers: [78, 18]
Generated Node #0,4,1: 11:[78, 18] Operation: 13+5=18
Exploring Operation: 78-5=73, Resulting Numbers: [13, 73]
Generated Node #0,4,2: 11:[13, 73] Operation: 78-5=73
Exploring Operation: 13-5=8, Resulting Numbers: [78, 8]
Generated Node #0,4,3: 11:[78, 8] Operation: 13-5=8
Exploring Operation: 78/13=6, Resulting Numbers: [5, 6]
Generated Node #0,4,4: 11:[5, 6] Operation: 78/13=6
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 11:[5, 6], Operations: ['71-66=5', '78/13=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[66, 71, 13, 78], Operations: []
Exploring Operation: 71-66=5, Resulting Numbers: [13, 78, 5]
Generated Node #0,4: 11:[13, 78, 5] Operation: 71-66=5
Moving to Node #0,4
Current State: 11:[13, 78, 5], Operations: ['71-66=5']
Exploring Operation: 78/13=6, Resulting Numbers: [5, 6]
Generated Node #0,4,4: 11:[5, 6] Operation: 78/13=6
Moving to Node #0,4,4
Current State: 11:[5, 6], Operations: ['71-66=5', '78/13=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 |
hs_5
|
mult_heuristic
|
[
55,
7,
22,
75
] | 14 |
[
"55+22=77",
"77-75=2",
"7*2=14"
] |
Current State: 14:[55, 7, 22, 75], Operations: []
Exploring Operation: 55+22=77, Resulting Numbers: [7, 75, 77]
Generated Node #2: [7, 75, 77] from Operation: 55+22=77
Current State: 14:[7, 75, 77], Operations: ['55+22=77']
Exploring Operation: 77-75=2, Resulting Numbers: [7, 2]
Generated Node #3: [7, 2] from Operation: 77-75=2
Current State: 14:[7, 2], Operations: ['55+22=77', '77-75=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 |
Current State: 14:[55, 7, 22, 75], Operations: []
Exploring Operation: 75-55=20, Resulting Numbers: [7, 22, 20]
Generated Node #0,0: 14:[7, 22, 20] Operation: 75-55=20
Moving to Node #0,0
Current State: 14:[7, 22, 20], Operations: ['75-55=20']
Exploring Operation: 22-20=2, Resulting Numbers: [7, 2]
Generated Node #0,0,0: 14:[7, 2] Operation: 22-20=2
Moving to Node #0,0,0
Current State: 14:[7, 2], Operations: ['75-55=20', '22-20=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[55, 7, 22, 75], Operations: []
Exploring Operation: 75-55=20, Resulting Numbers: [7, 22, 20]
Generated Node #0,0: 14:[7, 22, 20] Operation: 75-55=20
Moving to Node #0,0
Current State: 14:[7, 22, 20], Operations: ['75-55=20']
Exploring Operation: 22-20=2, Resulting Numbers: [7, 2]
Generated Node #0,0,0: 14:[7, 2] Operation: 22-20=2
Moving to Node #0,0,0
Current State: 14:[7, 2], Operations: ['75-55=20', '22-20=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.993924 |
hs_1
|
sum_heuristic
|
[
15,
38,
39,
90
] | 71 |
[
"90/15=6",
"38+39=77",
"77-6=71"
] |
Current State: 71:[15, 38, 39, 90], Operations: []
Exploring Operation: 90/15=6, Resulting Numbers: [38, 39, 6]
Generated Node #2: [38, 39, 6] from Operation: 90/15=6
Current State: 71:[38, 39, 6], Operations: ['90/15=6']
Exploring Operation: 38+39=77, Resulting Numbers: [6, 77]
Generated Node #3: [6, 77] from Operation: 38+39=77
Current State: 71:[6, 77], Operations: ['90/15=6', '38+39=77']
Exploring Operation: 77-6=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 |
Current State: 71:[15, 38, 39, 90], Operations: []
Exploring Operation: 38+39=77, Resulting Numbers: [15, 90, 77]
Generated Node #0,0: 71:[15, 90, 77] Operation: 38+39=77
Exploring Operation: 15+38=53, Resulting Numbers: [39, 90, 53]
Generated Node #0,1: 71:[39, 90, 53] Operation: 15+38=53
Exploring Operation: 90-15=75, Resulting Numbers: [38, 39, 75]
Generated Node #0,2: 71:[38, 39, 75] Operation: 90-15=75
Exploring Operation: 15+39=54, Resulting Numbers: [38, 90, 54]
Generated Node #0,3: 71:[38, 90, 54] Operation: 15+39=54
Moving to Node #0,1
Current State: 71:[39, 90, 53], Operations: ['15+38=53']
Exploring Operation: 39+90=129, Resulting Numbers: [53, 129]
Generated Node #0,1,0: 71:[53, 129] Operation: 39+90=129
Exploring Operation: 90-39=51, Resulting Numbers: [53, 51]
Generated Node #0,1,1: 71:[53, 51] Operation: 90-39=51
Exploring Operation: 39+53=92, Resulting Numbers: [90, 92]
Generated Node #0,1,2: 71:[90, 92] Operation: 39+53=92
Exploring Operation: 90-53=37, Resulting Numbers: [39, 37]
Generated Node #0,1,3: 71:[39, 37] Operation: 90-53=37
Moving to Node #0,3
Current State: 71:[38, 90, 54], Operations: ['15+39=54']
Exploring Operation: 38+54=92, Resulting Numbers: [90, 92]
Generated Node #0,3,0: 71:[90, 92] Operation: 38+54=92
Exploring Operation: 38+90=128, Resulting Numbers: [54, 128]
Generated Node #0,3,1: 71:[54, 128] Operation: 38+90=128
Exploring Operation: 90-54=36, Resulting Numbers: [38, 36]
Generated Node #0,3,2: 71:[38, 36] Operation: 90-54=36
Exploring Operation: 90-38=52, Resulting Numbers: [54, 52]
Generated Node #0,3,3: 71:[54, 52] Operation: 90-38=52
Moving to Node #0,2
Current State: 71:[38, 39, 75], Operations: ['90-15=75']
Exploring Operation: 38+39=77, Resulting Numbers: [75, 77]
Generated Node #0,2,0: 71:[75, 77] Operation: 38+39=77
Exploring Operation: 39-38=1, Resulting Numbers: [75, 1]
Generated Node #0,2,1: 71:[75, 1] Operation: 39-38=1
Exploring Operation: 75-39=36, Resulting Numbers: [38, 36]
Generated Node #0,2,2: 71:[38, 36] Operation: 75-39=36
Exploring Operation: 75-38=37, Resulting Numbers: [39, 37]
Generated Node #0,2,3: 71:[39, 37] Operation: 75-38=37
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 71:[75, 77], Operations: ['90-15=75', '38+39=77']
Exploring Operation: 75*77=5775, Resulting Numbers: [5775]
5775,71 unequal: No Solution
Exploring Operation: 77-75=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 75+77=152, Resulting Numbers: [152]
152,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 71:[39, 37], Operations: ['90-15=75', '75-38=37']
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 39+37=76, Resulting Numbers: [76]
76,71 unequal: No Solution
Exploring Operation: 39*37=1443, Resulting Numbers: [1443]
1443,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 71:[38, 36], Operations: ['90-15=75', '75-39=36']
Exploring Operation: 38*36=1368, Resulting Numbers: [1368]
1368,71 unequal: No Solution
Exploring Operation: 38+36=74, Resulting Numbers: [74]
74,71 unequal: No Solution
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 71:[75, 1], Operations: ['90-15=75', '39-38=1']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,71 unequal: No Solution
Exploring Operation: 75*1=75, Resulting Numbers: [75]
75,71 unequal: No Solution
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,71 unequal: No Solution
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 71:[15, 90, 77], Operations: ['38+39=77']
Exploring Operation: 77-15=62, Resulting Numbers: [90, 62]
Generated Node #0,0,0: 71:[90, 62] Operation: 77-15=62
Exploring Operation: 90-15=75, Resulting Numbers: [77, 75]
Generated Node #0,0,1: 71:[77, 75] Operation: 90-15=75
Exploring Operation: 15+77=92, Resulting Numbers: [90, 92]
Generated Node #0,0,2: 71:[90, 92] Operation: 15+77=92
Exploring Operation: 15+90=105, Resulting Numbers: [77, 105]
Generated Node #0,0,3: 71:[77, 105] Operation: 15+90=105
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[77, 75], Operations: ['38+39=77', '90-15=75']
Exploring Operation: 77-75=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 77+75=152, Resulting Numbers: [152]
152,71 unequal: No Solution
Exploring Operation: 77*75=5775, Resulting Numbers: [5775]
5775,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,0
Current State: 71:[90, 62], Operations: ['38+39=77', '77-15=62']
Exploring Operation: 90-62=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 90+62=152, Resulting Numbers: [152]
152,71 unequal: No Solution
Exploring Operation: 90*62=5580, Resulting Numbers: [5580]
5580,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,2
Current State: 71:[90, 92], Operations: ['38+39=77', '15+77=92']
Exploring Operation: 90*92=8280, Resulting Numbers: [8280]
8280,71 unequal: No Solution
Exploring Operation: 92-90=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 90+92=182, Resulting Numbers: [182]
182,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,3
Current State: 71:[77, 105], Operations: ['38+39=77', '15+90=105']
Exploring Operation: 105-77=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 77+105=182, Resulting Numbers: [182]
182,71 unequal: No Solution
Exploring Operation: 77*105=8085, Resulting Numbers: [8085]
8085,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 71:[54, 52], Operations: ['15+39=54', '90-38=52']
Exploring Operation: 54+52=106, Resulting Numbers: [106]
106,71 unequal: No Solution
Exploring Operation: 54*52=2808, Resulting Numbers: [2808]
2808,71 unequal: No Solution
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[53, 51], Operations: ['15+38=53', '90-39=51']
Exploring Operation: 53*51=2703, Resulting Numbers: [2703]
2703,71 unequal: No Solution
Exploring Operation: 53-51=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 53+51=104, Resulting Numbers: [104]
104,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[90, 92], Operations: ['15+39=54', '38+54=92']
Exploring Operation: 90+92=182, Resulting Numbers: [182]
182,71 unequal: No Solution
Exploring Operation: 90*92=8280, Resulting Numbers: [8280]
8280,71 unequal: No Solution
Exploring Operation: 92-90=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[90, 92], Operations: ['15+38=53', '39+53=92']
Exploring Operation: 92-90=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 90*92=8280, Resulting Numbers: [8280]
8280,71 unequal: No Solution
Exploring Operation: 90+92=182, Resulting Numbers: [182]
182,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[39, 37], Operations: ['15+38=53', '90-53=37']
Exploring Operation: 39+37=76, Resulting Numbers: [76]
76,71 unequal: No Solution
Exploring Operation: 39*37=1443, Resulting Numbers: [1443]
1443,71 unequal: No Solution
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[38, 36], Operations: ['15+39=54', '90-54=36']
Exploring Operation: 38+36=74, Resulting Numbers: [74]
74,71 unequal: No Solution
Exploring Operation: 38*36=1368, Resulting Numbers: [1368]
1368,71 unequal: No Solution
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[54, 128], Operations: ['15+39=54', '38+90=128']
Exploring Operation: 54+128=182, Resulting Numbers: [182]
182,71 unequal: No Solution
Exploring Operation: 54*128=6912, Resulting Numbers: [6912]
6912,71 unequal: No Solution
Exploring Operation: 128-54=74, Resulting Numbers: [74]
74,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[53, 129], Operations: ['15+38=53', '39+90=129']
Exploring Operation: 129-53=76, Resulting Numbers: [76]
76,71 unequal: No Solution
Exploring Operation: 53*129=6837, Resulting Numbers: [6837]
6837,71 unequal: No Solution
Exploring Operation: 53+129=182, Resulting Numbers: [182]
182,71 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
28,
24,
4,
26
] | 100 |
[
"28-24=4",
"4*26=104",
"104-4=100"
] |
Current State: 100:[28, 24, 4, 26], Operations: []
Exploring Operation: 28-24=4, Resulting Numbers: [4, 26, 4]
Generated Node #2: [4, 26, 4] from Operation: 28-24=4
Current State: 100:[4, 26, 4], Operations: ['28-24=4']
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,100 equal: Goal Reached
Exploring Operation: 104-4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 |
Current State: 100:[28, 24, 4, 26], Operations: []
Exploring Operation: 28-4=24, Resulting Numbers: [24, 26, 24]
Generated Node #0,0: 100:[24, 26, 24] Operation: 28-4=24
Exploring Operation: 28-24=4, Resulting Numbers: [4, 26, 4]
Generated Node #0,1: 100:[4, 26, 4] Operation: 28-24=4
Exploring Operation: 28-26=2, Resulting Numbers: [24, 4, 2]
Generated Node #0,2: 100:[24, 4, 2] Operation: 28-26=2
Exploring Operation: 28+24=52, Resulting Numbers: [4, 26, 52]
Generated Node #0,3: 100:[4, 26, 52] Operation: 28+24=52
Moving to Node #0,1
Current State: 100:[4, 26, 4], Operations: ['28-24=4']
Exploring Operation: 4/4=1, Resulting Numbers: [26, 1]
Generated Node #0,1,0: 100:[26, 1] Operation: 4/4=1
Exploring Operation: 26-4=22, Resulting Numbers: [4, 22]
Generated Node #0,1,1: 100:[4, 22] Operation: 26-4=22
Exploring Operation: 4+4=8, Resulting Numbers: [26, 8]
Generated Node #0,1,2: 100:[26, 8] Operation: 4+4=8
Exploring Operation: 26-4=22, Resulting Numbers: [4, 22]
Generated Node #0,1,3: 100:[4, 22] Operation: 26-4=22
Moving to Node #0,2
Current State: 100:[24, 4, 2], Operations: ['28-26=2']
Exploring Operation: 24/4=6, Resulting Numbers: [2, 6]
Generated Node #0,2,0: 100:[2, 6] Operation: 24/4=6
Exploring Operation: 24+2=26, Resulting Numbers: [4, 26]
Generated Node #0,2,1: 100:[4, 26] Operation: 24+2=26
Exploring Operation: 24-4=20, Resulting Numbers: [2, 20]
Generated Node #0,2,2: 100:[2, 20] Operation: 24-4=20
Exploring Operation: 4-2=2, Resulting Numbers: [24, 2]
Generated Node #0,2,3: 100:[24, 2] Operation: 4-2=2
Moving to Node #0,3
Current State: 100:[4, 26, 52], Operations: ['28+24=52']
Exploring Operation: 52-26=26, Resulting Numbers: [4, 26]
Generated Node #0,3,0: 100:[4, 26] Operation: 52-26=26
Exploring Operation: 26-4=22, Resulting Numbers: [52, 22]
Generated Node #0,3,1: 100:[52, 22] Operation: 26-4=22
Exploring Operation: 52/26=2, Resulting Numbers: [4, 2]
Generated Node #0,3,2: 100:[4, 2] Operation: 52/26=2
Exploring Operation: 52-4=48, Resulting Numbers: [26, 48]
Generated Node #0,3,3: 100:[26, 48] Operation: 52-4=48
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 100:[4, 2], Operations: ['28+24=52', '52/26=2']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,100 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,100 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 100:[4, 26], Operations: ['28+24=52', '52-26=26']
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,100 unequal: No Solution
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,100 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 100:[26, 48], Operations: ['28+24=52', '52-4=48']
Exploring Operation: 26*48=1248, Resulting Numbers: [1248]
1248,100 unequal: No Solution
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 26+48=74, Resulting Numbers: [74]
74,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 100:[52, 22], Operations: ['28+24=52', '26-4=22']
Exploring Operation: 52*22=1144, Resulting Numbers: [1144]
1144,100 unequal: No Solution
Exploring Operation: 52+22=74, Resulting Numbers: [74]
74,100 unequal: No Solution
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 100:[24, 26, 24], Operations: ['28-4=24']
Exploring Operation: 26+24=50, Resulting Numbers: [24, 50]
Generated Node #0,0,0: 100:[24, 50] Operation: 26+24=50
Exploring Operation: 24+26=50, Resulting Numbers: [24, 50]
Generated Node #0,0,1: 100:[24, 50] Operation: 24+26=50
Exploring Operation: 26-24=2, Resulting Numbers: [24, 2]
Generated Node #0,0,2: 100:[24, 2] Operation: 26-24=2
Exploring Operation: 26-24=2, Resulting Numbers: [24, 2]
Generated Node #0,0,3: 100:[24, 2] Operation: 26-24=2
Moving to Node #0,2,2
Current State: 100:[2, 20], Operations: ['28-26=2', '24-4=20']
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,100 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Moving to Node #0,2,0
Current State: 100:[2, 6], Operations: ['28-26=2', '24/4=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Moving to Node #0,2,1
Current State: 100:[4, 26], Operations: ['28-26=2', '24+2=26']
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,100 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,100 unequal: No Solution
Moving to Node #0,0,3
Current State: 100:[24, 2], Operations: ['28-4=24', '26-24=2']
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,100 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[24, 2], Operations: ['28-4=24', '26-24=2']
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,100 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Moving to Node #0,2,3
Current State: 100:[24, 2], Operations: ['28-26=2', '4-2=2']
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[24, 50], Operations: ['28-4=24', '24+26=50']
Exploring Operation: 24*50=1200, Resulting Numbers: [1200]
1200,100 unequal: No Solution
Exploring Operation: 24+50=74, Resulting Numbers: [74]
74,100 unequal: No Solution
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[24, 50], Operations: ['28-4=24', '26+24=50']
Exploring Operation: 24*50=1200, Resulting Numbers: [1200]
1200,100 unequal: No Solution
Exploring Operation: 24+50=74, Resulting Numbers: [74]
74,100 unequal: No Solution
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Moving to Node #0,1,3
Current State: 100:[4, 22], Operations: ['28-24=4', '26-4=22']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[26, 1], Operations: ['28-24=4', '4/4=1']
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,100 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[4, 22], Operations: ['28-24=4', '26-4=22']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,100 unequal: No Solution
Moving to Node #0,1,2
Current State: 100:[26, 8], Operations: ['28-24=4', '4+4=8']
Exploring Operation: 26*8=208, Resulting Numbers: [208]
208,100 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 26+8=34, Resulting Numbers: [34]
34,100 unequal: No Solution
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
11,
93,
97,
29
] | 72 |
[
"29-11=18",
"97-93=4",
"18*4=72"
] |
Current State: 72:[11, 93, 97, 29], Operations: []
Exploring Operation: 29-11=18, Resulting Numbers: [93, 97, 18]
Generated Node #2: [93, 97, 18] from Operation: 29-11=18
Current State: 72:[93, 97, 18], Operations: ['29-11=18']
Exploring Operation: 97-93=4, Resulting Numbers: [18, 4]
Generated Node #3: [18, 4] from Operation: 97-93=4
Current State: 72:[18, 4], Operations: ['29-11=18', '97-93=4']
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 |
Current State: 72:[11, 93, 97, 29], Operations: []
Exploring Operation: 97-93=4, Resulting Numbers: [11, 29, 4]
Generated Node #0,0: 72:[11, 29, 4] Operation: 97-93=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[11, 29, 4], Operations: ['97-93=4']
Exploring Operation: 29-11=18, Resulting Numbers: [4, 18]
Generated Node #0,0,0: 72:[4, 18] Operation: 29-11=18
Moving to Node #0,0,0
Current State: 72:[4, 18], Operations: ['97-93=4', '29-11=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[11, 93, 97, 29], Operations: []
Exploring Operation: 97-93=4, Resulting Numbers: [11, 29, 4]
Generated Node #0,0: 72:[11, 29, 4] Operation: 97-93=4
Moving to Node #0,0
Current State: 72:[11, 29, 4], Operations: ['97-93=4']
Exploring Operation: 29-11=18, Resulting Numbers: [4, 18]
Generated Node #0,0,0: 72:[4, 18] Operation: 29-11=18
Moving to Node #0,0,0
Current State: 72:[4, 18], Operations: ['97-93=4', '29-11=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
mult_heuristic
|
[
78,
60,
8,
62
] | 94 |
[
"62-60=2",
"8*2=16",
"78+16=94"
] |
Current State: 94:[78, 60, 8, 62], Operations: []
Exploring Operation: 62-60=2, Resulting Numbers: [78, 8, 2]
Generated Node #2: [78, 8, 2] from Operation: 62-60=2
Current State: 94:[78, 8, 2], Operations: ['62-60=2']
Exploring Operation: 8*2=16, Resulting Numbers: [78, 16]
Generated Node #3: [78, 16] from Operation: 8*2=16
Current State: 94:[78, 16], Operations: ['62-60=2', '8*2=16']
Exploring Operation: 78+16=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[78, 60, 8, 62], Operations: []
Exploring Operation: 78-62=16, Resulting Numbers: [60, 8, 16]
Generated Node #0,0: 94:[60, 8, 16] Operation: 78-62=16
Exploring Operation: 62-60=2, Resulting Numbers: [78, 8, 2]
Generated Node #0,1: 94:[78, 8, 2] Operation: 62-60=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[78, 8, 2], Operations: ['62-60=2']
Exploring Operation: 78+8=86, Resulting Numbers: [2, 86]
Generated Node #0,1,0: 94:[2, 86] Operation: 78+8=86
Exploring Operation: 78/2=39, Resulting Numbers: [8, 39]
Generated Node #0,1,1: 94:[8, 39] Operation: 78/2=39
Moving to Node #0,1,0
Current State: 94:[2, 86], Operations: ['62-60=2', '78+8=86']
Exploring Operation: 2+86=88, Resulting Numbers: [88]
88,94 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[8, 39], Operations: ['62-60=2', '78/2=39']
Exploring Operation: 8+39=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[60, 8, 16], Operations: ['78-62=16']
Exploring Operation: 16/8=2, Resulting Numbers: [60, 2]
Generated Node #0,0,0: 94:[60, 2] Operation: 16/8=2
Exploring Operation: 60-16=44, Resulting Numbers: [8, 44]
Generated Node #0,0,1: 94:[8, 44] Operation: 60-16=44
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 94:[8, 44], Operations: ['78-62=16', '60-16=44']
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,94 unequal: No Solution
Exploring Operation: 8+44=52, Resulting Numbers: [52]
52,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[60, 2], Operations: ['78-62=16', '16/8=2']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,94 unequal: No Solution
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
40,
2,
27,
20
] | 26 |
[
"40/2=20",
"20/20=1",
"27-1=26"
] |
Current State: 26:[40, 2, 27, 20], Operations: []
Exploring Operation: 40/2=20, Resulting Numbers: [27, 20, 20]
Generated Node #2: [27, 20, 20] from Operation: 40/2=20
Current State: 26:[27, 20, 20], Operations: ['40/2=20']
Exploring Operation: 20/20=1, Resulting Numbers: [27, 1]
Generated Node #3: [27, 1] from Operation: 20/20=1
Current State: 26:[27, 1], Operations: ['40/2=20', '20/20=1']
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 |
Current State: 26:[40, 2, 27, 20], Operations: []
Exploring Operation: 40-27=13, Resulting Numbers: [2, 20, 13]
Generated Node #0,0: 26:[2, 20, 13] Operation: 40-27=13
Exploring Operation: 40/2=20, Resulting Numbers: [27, 20, 20]
Generated Node #0,1: 26:[27, 20, 20] Operation: 40/2=20
Exploring Operation: 40/20=2, Resulting Numbers: [2, 27, 2]
Generated Node #0,2: 26:[2, 27, 2] Operation: 40/20=2
Exploring Operation: 40-20=20, Resulting Numbers: [2, 27, 20]
Generated Node #0,3: 26:[2, 27, 20] Operation: 40-20=20
Exploring Operation: 20/2=10, Resulting Numbers: [40, 27, 10]
Generated Node #0,4: 26:[40, 27, 10] Operation: 20/2=10
Moving to Node #0,2
Current State: 26:[2, 27, 2], Operations: ['40/20=2']
Exploring Operation: 2+2=4, Resulting Numbers: [27, 4]
Generated Node #0,2,0: 26:[27, 4] Operation: 2+2=4
Exploring Operation: 2+27=29, Resulting Numbers: [2, 29]
Generated Node #0,2,1: 26:[2, 29] Operation: 2+27=29
Exploring Operation: 27-2=25, Resulting Numbers: [2, 25]
Generated Node #0,2,2: 26:[2, 25] Operation: 27-2=25
Exploring Operation: 2/2=1, Resulting Numbers: [27, 1]
Generated Node #0,2,3: 26:[27, 1] Operation: 2/2=1
Exploring Operation: 27-2=25, Resulting Numbers: [2, 25]
Generated Node #0,2,4: 26:[2, 25] Operation: 27-2=25
Moving to Node #0,0
Current State: 26:[2, 20, 13], Operations: ['40-27=13']
Exploring Operation: 20-13=7, Resulting Numbers: [2, 7]
Generated Node #0,0,0: 26:[2, 7] Operation: 20-13=7
Exploring Operation: 2+20=22, Resulting Numbers: [13, 22]
Generated Node #0,0,1: 26:[13, 22] Operation: 2+20=22
Exploring Operation: 2*13=26, Resulting Numbers: [20, 26]
Generated Node #0,0,2: 26:[20, 26] Operation: 2*13=26
Exploring Operation: 20/2=10, Resulting Numbers: [13, 10]
Generated Node #0,0,3: 26:[13, 10] Operation: 20/2=10
Exploring Operation: 20-2=18, Resulting Numbers: [13, 18]
Generated Node #0,0,4: 26:[13, 18] Operation: 20-2=18
Moving to Node #0,3
Current State: 26:[2, 27, 20], Operations: ['40-20=20']
Exploring Operation: 20/2=10, Resulting Numbers: [27, 10]
Generated Node #0,3,0: 26:[27, 10] Operation: 20/2=10
Exploring Operation: 20-2=18, Resulting Numbers: [27, 18]
Generated Node #0,3,1: 26:[27, 18] Operation: 20-2=18
Exploring Operation: 27-20=7, Resulting Numbers: [2, 7]
Generated Node #0,3,2: 26:[2, 7] Operation: 27-20=7
Exploring Operation: 2+20=22, Resulting Numbers: [27, 22]
Generated Node #0,3,3: 26:[27, 22] Operation: 2+20=22
Exploring Operation: 27-2=25, Resulting Numbers: [20, 25]
Generated Node #0,3,4: 26:[20, 25] Operation: 27-2=25
Moving to Node #0,1
Current State: 26:[27, 20, 20], Operations: ['40/2=20']
Exploring Operation: 27-20=7, Resulting Numbers: [20, 7]
Generated Node #0,1,0: 26:[20, 7] Operation: 27-20=7
Exploring Operation: 20/20=1, Resulting Numbers: [27, 1]
Generated Node #0,1,1: 26:[27, 1] Operation: 20/20=1
Exploring Operation: 27-20=7, Resulting Numbers: [20, 7]
Generated Node #0,1,2: 26:[20, 7] Operation: 27-20=7
Exploring Operation: 20+20=40, Resulting Numbers: [27, 40]
Generated Node #0,1,3: 26:[27, 40] Operation: 20+20=40
Exploring Operation: 20-20=0, Resulting Numbers: [27, 0]
Generated Node #0,1,4: 26:[27, 0] Operation: 20-20=0
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 26:[27, 1], Operations: ['40/2=20', '20/20=1']
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,26 unequal: No Solution
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,26 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[40, 2, 27, 20], Operations: []
Exploring Operation: 40/2=20, Resulting Numbers: [27, 20, 20]
Generated Node #0,1: 26:[27, 20, 20] Operation: 40/2=20
Moving to Node #0,1
Current State: 26:[27, 20, 20], Operations: ['40/2=20']
Exploring Operation: 20/20=1, Resulting Numbers: [27, 1]
Generated Node #0,1,1: 26:[27, 1] Operation: 20/20=1
Moving to Node #0,1,1
Current State: 26:[27, 1], Operations: ['40/2=20', '20/20=1']
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 |
hs_5
|
mult_heuristic
|
[
98,
69,
49,
87
] | 46 |
[
"98-69=29",
"87/29=3",
"49-3=46"
] |
Current State: 46:[98, 69, 49, 87], Operations: []
Exploring Operation: 98-69=29, Resulting Numbers: [49, 87, 29]
Generated Node #2: [49, 87, 29] from Operation: 98-69=29
Current State: 46:[49, 87, 29], Operations: ['98-69=29']
Exploring Operation: 87/29=3, Resulting Numbers: [49, 3]
Generated Node #3: [49, 3] from Operation: 87/29=3
Current State: 46:[49, 3], Operations: ['98-69=29', '87/29=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 |
Current State: 46:[98, 69, 49, 87], Operations: []
Exploring Operation: 98-69=29, Resulting Numbers: [49, 87, 29]
Generated Node #0,0: 46:[49, 87, 29] Operation: 98-69=29
Exploring Operation: 87-69=18, Resulting Numbers: [98, 49, 18]
Generated Node #0,1: 46:[98, 49, 18] Operation: 87-69=18
Exploring Operation: 98-87=11, Resulting Numbers: [69, 49, 11]
Generated Node #0,2: 46:[69, 49, 11] Operation: 98-87=11
Exploring Operation: 98-49=49, Resulting Numbers: [69, 87, 49]
Generated Node #0,3: 46:[69, 87, 49] Operation: 98-49=49
Exploring Operation: 98/49=2, Resulting Numbers: [69, 87, 2]
Generated Node #0,4: 46:[69, 87, 2] Operation: 98/49=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[69, 49, 11], Operations: ['98-87=11']
Exploring Operation: 69-11=58, Resulting Numbers: [49, 58]
Generated Node #0,2,0: 46:[49, 58] Operation: 69-11=58
Exploring Operation: 69-49=20, Resulting Numbers: [11, 20]
Generated Node #0,2,1: 46:[11, 20] Operation: 69-49=20
Exploring Operation: 49+11=60, Resulting Numbers: [69, 60]
Generated Node #0,2,2: 46:[69, 60] Operation: 49+11=60
Exploring Operation: 49-11=38, Resulting Numbers: [69, 38]
Generated Node #0,2,3: 46:[69, 38] Operation: 49-11=38
Exploring Operation: 69+11=80, Resulting Numbers: [49, 80]
Generated Node #0,2,4: 46:[49, 80] Operation: 69+11=80
Moving to Node #0,2,1
Current State: 46:[11, 20], Operations: ['98-87=11', '69-49=20']
Exploring Operation: 11*20=220, Resulting Numbers: [220]
220,46 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Moving to Node #0,2,0
Current State: 46:[49, 58], Operations: ['98-87=11', '69-11=58']
Exploring Operation: 49*58=2842, Resulting Numbers: [2842]
2842,46 unequal: No Solution
Exploring Operation: 49+58=107, Resulting Numbers: [107]
107,46 unequal: No Solution
Exploring Operation: 58-49=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Moving to Node #0,2,3
Current State: 46:[69, 38], Operations: ['98-87=11', '49-11=38']
Exploring Operation: 69+38=107, Resulting Numbers: [107]
107,46 unequal: No Solution
Exploring Operation: 69*38=2622, Resulting Numbers: [2622]
2622,46 unequal: No Solution
Exploring Operation: 69-38=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[69, 60], Operations: ['98-87=11', '49+11=60']
Exploring Operation: 69*60=4140, Resulting Numbers: [4140]
4140,46 unequal: No Solution
Exploring Operation: 69+60=129, Resulting Numbers: [129]
129,46 unequal: No Solution
Exploring Operation: 69-60=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Moving to Node #0,2,4
Current State: 46:[49, 80], Operations: ['98-87=11', '69+11=80']
Exploring Operation: 80-49=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 49+80=129, Resulting Numbers: [129]
129,46 unequal: No Solution
Exploring Operation: 49*80=3920, Resulting Numbers: [3920]
3920,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[49, 87, 29], Operations: ['98-69=29']
Exploring Operation: 87-49=38, Resulting Numbers: [29, 38]
Generated Node #0,0,0: 46:[29, 38] Operation: 87-49=38
Exploring Operation: 49+29=78, Resulting Numbers: [87, 78]
Generated Node #0,0,1: 46:[87, 78] Operation: 49+29=78
Exploring Operation: 49-29=20, Resulting Numbers: [87, 20]
Generated Node #0,0,2: 46:[87, 20] Operation: 49-29=20
Exploring Operation: 87/29=3, Resulting Numbers: [49, 3]
Generated Node #0,0,3: 46:[49, 3] Operation: 87/29=3
Exploring Operation: 87-29=58, Resulting Numbers: [49, 58]
Generated Node #0,0,4: 46:[49, 58] Operation: 87-29=58
Moving to Node #0,0,3
Current State: 46:[49, 3], Operations: ['98-69=29', '87/29=3']
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,46 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[98, 69, 49, 87], Operations: []
Exploring Operation: 98-69=29, Resulting Numbers: [49, 87, 29]
Generated Node #0,0: 46:[49, 87, 29] Operation: 98-69=29
Moving to Node #0,0
Current State: 46:[49, 87, 29], Operations: ['98-69=29']
Exploring Operation: 87/29=3, Resulting Numbers: [49, 3]
Generated Node #0,0,3: 46:[49, 3] Operation: 87/29=3
Moving to Node #0,0,3
Current State: 46:[49, 3], Operations: ['98-69=29', '87/29=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 |
hs_5
|
mult_heuristic
|
[
51,
17,
11,
47
] | 68 |
[
"17*47=799",
"799-51=748",
"748/11=68"
] |
Current State: 68:[51, 17, 11, 47], Operations: []
Exploring Operation: 17*47=799, Resulting Numbers: [51, 11, 799]
Generated Node #2: [51, 11, 799] from Operation: 17*47=799
Current State: 68:[51, 11, 799], Operations: ['17*47=799']
Exploring Operation: 799-51=748, Resulting Numbers: [11, 748]
Generated Node #3: [11, 748] from Operation: 799-51=748
Current State: 68:[11, 748], Operations: ['17*47=799', '799-51=748']
Exploring Operation: 748/11=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 |
Current State: 68:[51, 17, 11, 47], Operations: []
Exploring Operation: 51+11=62, Resulting Numbers: [17, 47, 62]
Generated Node #0,0: 68:[17, 47, 62] Operation: 51+11=62
Exploring Operation: 51-11=40, Resulting Numbers: [17, 47, 40]
Generated Node #0,1: 68:[17, 47, 40] Operation: 51-11=40
Exploring Operation: 51-17=34, Resulting Numbers: [11, 47, 34]
Generated Node #0,2: 68:[11, 47, 34] Operation: 51-17=34
Exploring Operation: 51-47=4, Resulting Numbers: [17, 11, 4]
Generated Node #0,3: 68:[17, 11, 4] Operation: 51-47=4
Exploring Operation: 51+17=68, Resulting Numbers: [11, 47, 68]
Generated Node #0,4: 68:[11, 47, 68] Operation: 51+17=68
Moving to Node #0,3
Current State: 68:[17, 11, 4], Operations: ['51-47=4']
Exploring Operation: 17+11=28, Resulting Numbers: [4, 28]
Generated Node #0,3,0: 68:[4, 28] Operation: 17+11=28
Exploring Operation: 17-11=6, Resulting Numbers: [4, 6]
Generated Node #0,3,1: 68:[4, 6] Operation: 17-11=6
Exploring Operation: 17*4=68, Resulting Numbers: [11, 68]
Generated Node #0,3,2: 68:[11, 68] Operation: 17*4=68
Exploring Operation: 11+4=15, Resulting Numbers: [17, 15]
Generated Node #0,3,3: 68:[17, 15] Operation: 11+4=15
Exploring Operation: 11-4=7, Resulting Numbers: [17, 7]
Generated Node #0,3,4: 68:[17, 7] Operation: 11-4=7
Moving to Node #0,1
Current State: 68:[17, 47, 40], Operations: ['51-11=40']
Exploring Operation: 47-17=30, Resulting Numbers: [40, 30]
Generated Node #0,1,0: 68:[40, 30] Operation: 47-17=30
Exploring Operation: 40-17=23, Resulting Numbers: [47, 23]
Generated Node #0,1,1: 68:[47, 23] Operation: 40-17=23
Exploring Operation: 17+47=64, Resulting Numbers: [40, 64]
Generated Node #0,1,2: 68:[40, 64] Operation: 17+47=64
Exploring Operation: 47+40=87, Resulting Numbers: [17, 87]
Generated Node #0,1,3: 68:[17, 87] Operation: 47+40=87
Exploring Operation: 47-40=7, Resulting Numbers: [17, 7]
Generated Node #0,1,4: 68:[17, 7] Operation: 47-40=7
Moving to Node #0,4
Current State: 68:[11, 47, 68], Operations: ['51+17=68']
Exploring Operation: 47-11=36, Resulting Numbers: [68, 36]
Generated Node #0,4,0: 68:[68, 36] Operation: 47-11=36
Exploring Operation: 11+47=58, Resulting Numbers: [68, 58]
Generated Node #0,4,1: 68:[68, 58] Operation: 11+47=58
Exploring Operation: 11+68=79, Resulting Numbers: [47, 79]
Generated Node #0,4,2: 68:[47, 79] Operation: 11+68=79
Exploring Operation: 68-47=21, Resulting Numbers: [11, 21]
Generated Node #0,4,3: 68:[11, 21] Operation: 68-47=21
Exploring Operation: 68-11=57, Resulting Numbers: [47, 57]
Generated Node #0,4,4: 68:[47, 57] Operation: 68-11=57
Moving to Node #0,0
Current State: 68:[17, 47, 62], Operations: ['51+11=62']
Exploring Operation: 17+62=79, Resulting Numbers: [47, 79]
Generated Node #0,0,0: 68:[47, 79] Operation: 17+62=79
Exploring Operation: 17+47=64, Resulting Numbers: [62, 64]
Generated Node #0,0,1: 68:[62, 64] Operation: 17+47=64
Exploring Operation: 47-17=30, Resulting Numbers: [62, 30]
Generated Node #0,0,2: 68:[62, 30] Operation: 47-17=30
Exploring Operation: 62-17=45, Resulting Numbers: [47, 45]
Generated Node #0,0,3: 68:[47, 45] Operation: 62-17=45
Exploring Operation: 62-47=15, Resulting Numbers: [17, 15]
Generated Node #0,0,4: 68:[17, 15] Operation: 62-47=15
Moving to Node #0,2
Current State: 68:[11, 47, 34], Operations: ['51-17=34']
Exploring Operation: 11+47=58, Resulting Numbers: [34, 58]
Generated Node #0,2,0: 68:[34, 58] Operation: 11+47=58
Exploring Operation: 47+34=81, Resulting Numbers: [11, 81]
Generated Node #0,2,1: 68:[11, 81] Operation: 47+34=81
Exploring Operation: 47-34=13, Resulting Numbers: [11, 13]
Generated Node #0,2,2: 68:[11, 13] Operation: 47-34=13
Exploring Operation: 34-11=23, Resulting Numbers: [47, 23]
Generated Node #0,2,3: 68:[47, 23] Operation: 34-11=23
Exploring Operation: 47-11=36, Resulting Numbers: [34, 36]
Generated Node #0,2,4: 68:[34, 36] Operation: 47-11=36
Moving to Node #0,3,1
Current State: 68:[4, 6], Operations: ['51-47=4', '17-11=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Moving to Node #0,3,3
Current State: 68:[17, 15], Operations: ['51-47=4', '11+4=15']
Exploring Operation: 17+15=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 17*15=255, Resulting Numbers: [255]
255,68 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Moving to Node #0,4,0
Current State: 68:[68, 36], Operations: ['51+17=68', '47-11=36']
Exploring Operation: 68-36=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 68+36=104, Resulting Numbers: [104]
104,68 unequal: No Solution
Exploring Operation: 68*36=2448, Resulting Numbers: [2448]
2448,68 unequal: No Solution
Moving to Node #0,2,4
Current State: 68:[34, 36], Operations: ['51-17=34', '47-11=36']
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,68 unequal: No Solution
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 34*36=1224, Resulting Numbers: [1224]
1224,68 unequal: No Solution
Moving to Node #0,0,4
Current State: 68:[17, 15], Operations: ['51+11=62', '62-47=15']
Exploring Operation: 17*15=255, Resulting Numbers: [255]
255,68 unequal: No Solution
Exploring Operation: 17+15=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Moving to Node #0,3,4
Current State: 68:[17, 7], Operations: ['51-47=4', '11-4=7']
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Exploring Operation: 17*7=119, Resulting Numbers: [119]
119,68 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Moving to Node #0,1,4
Current State: 68:[17, 7], Operations: ['51-11=40', '47-40=7']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Exploring Operation: 17*7=119, Resulting Numbers: [119]
119,68 unequal: No Solution
Moving to Node #0,3,2
Current State: 68:[11, 68], Operations: ['51-47=4', '17*4=68']
Exploring Operation: 68-11=57, Resulting Numbers: [57]
57,68 unequal: No Solution
Exploring Operation: 11+68=79, Resulting Numbers: [79]
79,68 unequal: No Solution
Exploring Operation: 11*68=748, Resulting Numbers: [748]
748,68 unequal: No Solution
Moving to Node #0,3,0
Current State: 68:[4, 28], Operations: ['51-47=4', '17+11=28']
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 4*28=112, Resulting Numbers: [112]
112,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[40, 30], Operations: ['51-11=40', '47-17=30']
Exploring Operation: 40+30=70, Resulting Numbers: [70]
70,68 unequal: No Solution
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Exploring Operation: 40*30=1200, Resulting Numbers: [1200]
1200,68 unequal: No Solution
Moving to Node #0,4,3
Current State: 68:[11, 21], Operations: ['51+17=68', '68-47=21']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,68 unequal: No Solution
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Moving to Node #0,4,1
Current State: 68:[68, 58], Operations: ['51+17=68', '11+47=58']
Exploring Operation: 68+58=126, Resulting Numbers: [126]
126,68 unequal: No Solution
Exploring Operation: 68-58=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Exploring Operation: 68*58=3944, Resulting Numbers: [3944]
3944,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[40, 64], Operations: ['51-11=40', '17+47=64']
Exploring Operation: 40+64=104, Resulting Numbers: [104]
104,68 unequal: No Solution
Exploring Operation: 40*64=2560, Resulting Numbers: [2560]
2560,68 unequal: No Solution
Exploring Operation: 64-40=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Moving to Node #0,2,2
Current State: 68:[11, 13], Operations: ['51-17=34', '47-34=13']
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 11*13=143, Resulting Numbers: [143]
143,68 unequal: No Solution
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Moving to Node #0,2,0
Current State: 68:[34, 58], Operations: ['51-17=34', '11+47=58']
Exploring Operation: 58-34=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Exploring Operation: 34*58=1972, Resulting Numbers: [1972]
1972,68 unequal: No Solution
Exploring Operation: 34+58=92, Resulting Numbers: [92]
92,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[62, 30], Operations: ['51+11=62', '47-17=30']
Exploring Operation: 62*30=1860, Resulting Numbers: [1860]
1860,68 unequal: No Solution
Exploring Operation: 62-30=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 62+30=92, Resulting Numbers: [92]
92,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[62, 64], Operations: ['51+11=62', '17+47=64']
Exploring Operation: 62*64=3968, Resulting Numbers: [3968]
3968,68 unequal: No Solution
Exploring Operation: 64-62=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 62+64=126, Resulting Numbers: [126]
126,68 unequal: No Solution
Moving to Node #0,2,3
Current State: 68:[47, 23], Operations: ['51-17=34', '34-11=23']
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Exploring Operation: 47+23=70, Resulting Numbers: [70]
70,68 unequal: No Solution
Exploring Operation: 47*23=1081, Resulting Numbers: [1081]
1081,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[11, 81], Operations: ['51-17=34', '47+34=81']
Exploring Operation: 11*81=891, Resulting Numbers: [891]
891,68 unequal: No Solution
Exploring Operation: 81-11=70, Resulting Numbers: [70]
70,68 unequal: No Solution
Exploring Operation: 11+81=92, Resulting Numbers: [92]
92,68 unequal: No Solution
Moving to Node #0,1,3
Current State: 68:[17, 87], Operations: ['51-11=40', '47+40=87']
Exploring Operation: 17+87=104, Resulting Numbers: [104]
104,68 unequal: No Solution
Exploring Operation: 87-17=70, Resulting Numbers: [70]
70,68 unequal: No Solution
Exploring Operation: 17*87=1479, Resulting Numbers: [1479]
1479,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[47, 23], Operations: ['51-11=40', '40-17=23']
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Exploring Operation: 47*23=1081, Resulting Numbers: [1081]
1081,68 unequal: No Solution
Exploring Operation: 47+23=70, Resulting Numbers: [70]
70,68 unequal: No Solution
Moving to Node #0,4,4
Current State: 68:[47, 57], Operations: ['51+17=68', '68-11=57']
Exploring Operation: 57-47=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Exploring Operation: 47*57=2679, Resulting Numbers: [2679]
2679,68 unequal: No Solution
Exploring Operation: 47+57=104, Resulting Numbers: [104]
104,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[47, 79], Operations: ['51+11=62', '17+62=79']
Exploring Operation: 79-47=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 47+79=126, Resulting Numbers: [126]
126,68 unequal: No Solution
Exploring Operation: 47*79=3713, Resulting Numbers: [3713]
3713,68 unequal: No Solution
Moving to Node #0,0,3
Current State: 68:[47, 45], Operations: ['51+11=62', '62-17=45']
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 47+45=92, Resulting Numbers: [92]
92,68 unequal: No Solution
Exploring Operation: 47*45=2115, Resulting Numbers: [2115]
2115,68 unequal: No Solution
Moving to Node #0,4,2
Current State: 68:[47, 79], Operations: ['51+17=68', '11+68=79']
Exploring Operation: 47*79=3713, Resulting Numbers: [3713]
3713,68 unequal: No Solution
Exploring Operation: 79-47=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 47+79=126, Resulting Numbers: [126]
126,68 unequal: No Solution
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
95,
20,
7,
63
] | 19 |
[
"95-20=75",
"63-7=56",
"75-56=19"
] |
Current State: 19:[95, 20, 7, 63], Operations: []
Exploring Operation: 95-20=75, Resulting Numbers: [7, 63, 75]
Generated Node #2: [7, 63, 75] from Operation: 95-20=75
Current State: 19:[7, 63, 75], Operations: ['95-20=75']
Exploring Operation: 63-7=56, Resulting Numbers: [75, 56]
Generated Node #3: [75, 56] from Operation: 63-7=56
Current State: 19:[75, 56], Operations: ['95-20=75', '63-7=56']
Exploring Operation: 75-56=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 |
Current State: 19:[95, 20, 7, 63], Operations: []
Exploring Operation: 63/7=9, Resulting Numbers: [95, 20, 9]
Generated Node #0,0: 19:[95, 20, 9] Operation: 63/7=9
Exploring Operation: 95-63=32, Resulting Numbers: [20, 7, 32]
Generated Node #0,1: 19:[20, 7, 32] Operation: 95-63=32
Moving to Node #0,1
Current State: 19:[20, 7, 32], Operations: ['95-63=32']
Exploring Operation: 32-7=25, Resulting Numbers: [20, 25]
Generated Node #0,1,0: 19:[20, 25] Operation: 32-7=25
Exploring Operation: 20-7=13, Resulting Numbers: [32, 13]
Generated Node #0,1,1: 19:[32, 13] Operation: 20-7=13
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 19:[20, 25], Operations: ['95-63=32', '32-7=25']
Exploring Operation: 20+25=45, Resulting Numbers: [45]
45,19 unequal: No Solution
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,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,1,1
Current State: 19:[32, 13], Operations: ['95-63=32', '20-7=13']
Exploring Operation: 32+13=45, Resulting Numbers: [45]
45,19 unequal: No Solution
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[95, 20, 7, 63], Operations: []
Exploring Operation: 95-63=32, Resulting Numbers: [20, 7, 32]
Generated Node #0,1: 19:[20, 7, 32] Operation: 95-63=32
Moving to Node #0,1
Current State: 19:[20, 7, 32], Operations: ['95-63=32']
Exploring Operation: 20-7=13, Resulting Numbers: [32, 13]
Generated Node #0,1,1: 19:[32, 13] Operation: 20-7=13
Moving to Node #0,1,1
Current State: 19:[32, 13], Operations: ['95-63=32', '20-7=13']
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 |
hs_2
|
mult_heuristic
|
[
46,
89,
41,
47
] | 45 |
[
"89-46=43",
"41+47=88",
"88-43=45"
] |
Current State: 45:[46, 89, 41, 47], Operations: []
Exploring Operation: 89-46=43, Resulting Numbers: [41, 47, 43]
Generated Node #2: [41, 47, 43] from Operation: 89-46=43
Current State: 45:[41, 47, 43], Operations: ['89-46=43']
Exploring Operation: 41+47=88, Resulting Numbers: [43, 88]
Generated Node #3: [43, 88] from Operation: 41+47=88
Current State: 45:[43, 88], Operations: ['89-46=43', '41+47=88']
Exploring Operation: 88-43=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 |
Current State: 45:[46, 89, 41, 47], Operations: []
Exploring Operation: 89-41=48, Resulting Numbers: [46, 47, 48]
Generated Node #0,0: 45:[46, 47, 48] Operation: 89-41=48
Exploring Operation: 89-46=43, Resulting Numbers: [41, 47, 43]
Generated Node #0,1: 45:[41, 47, 43] Operation: 89-46=43
Exploring Operation: 89-47=42, Resulting Numbers: [46, 41, 42]
Generated Node #0,2: 45:[46, 41, 42] Operation: 89-47=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[46, 47, 48], Operations: ['89-41=48']
Exploring Operation: 48-47=1, Resulting Numbers: [46, 1]
Generated Node #0,0,0: 45:[46, 1] Operation: 48-47=1
Exploring Operation: 47-46=1, Resulting Numbers: [48, 1]
Generated Node #0,0,1: 45:[48, 1] Operation: 47-46=1
Exploring Operation: 48-46=2, Resulting Numbers: [47, 2]
Generated Node #0,0,2: 45:[47, 2] Operation: 48-46=2
Moving to Node #0,0,0
Current State: 45:[46, 1], Operations: ['89-41=48', '48-47=1']
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,45 unequal: No Solution
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,45 unequal: No Solution
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[46, 89, 41, 47], Operations: []
Exploring Operation: 89-41=48, Resulting Numbers: [46, 47, 48]
Generated Node #0,0: 45:[46, 47, 48] Operation: 89-41=48
Moving to Node #0,0
Current State: 45:[46, 47, 48], Operations: ['89-41=48']
Exploring Operation: 48-47=1, Resulting Numbers: [46, 1]
Generated Node #0,0,0: 45:[46, 1] Operation: 48-47=1
Moving to Node #0,0,0
Current State: 45:[46, 1], Operations: ['89-41=48', '48-47=1']
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 |
hs_3
|
mult_heuristic
|
[
77,
88,
11,
45
] | 44 |
[
"88-77=11",
"11/11=1",
"45-1=44"
] |
Current State: 44:[77, 88, 11, 45], Operations: []
Exploring Operation: 88-77=11, Resulting Numbers: [11, 45, 11]
Generated Node #2: [11, 45, 11] from Operation: 88-77=11
Current State: 44:[11, 45, 11], Operations: ['88-77=11']
Exploring Operation: 11/11=1, Resulting Numbers: [45, 1]
Generated Node #3: [45, 1] from Operation: 11/11=1
Current State: 44:[45, 1], Operations: ['88-77=11', '11/11=1']
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 |
Current State: 44:[77, 88, 11, 45], Operations: []
Exploring Operation: 88-77=11, Resulting Numbers: [11, 45, 11]
Generated Node #0,0: 44:[11, 45, 11] Operation: 88-77=11
Exploring Operation: 88-45=43, Resulting Numbers: [77, 11, 43]
Generated Node #0,1: 44:[77, 11, 43] Operation: 88-45=43
Moving to Node #0,0
Current State: 44:[11, 45, 11], Operations: ['88-77=11']
Exploring Operation: 11/11=1, Resulting Numbers: [45, 1]
Generated Node #0,0,0: 44:[45, 1] Operation: 11/11=1
Exploring Operation: 11+11=22, Resulting Numbers: [45, 22]
Generated Node #0,0,1: 44:[45, 22] Operation: 11+11=22
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 44:[45, 22], Operations: ['88-77=11', '11+11=22']
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,44 unequal: No Solution
Exploring Operation: 45+22=67, Resulting Numbers: [67]
67,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[45, 1], Operations: ['88-77=11', '11/11=1']
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[77, 88, 11, 45], Operations: []
Exploring Operation: 88-77=11, Resulting Numbers: [11, 45, 11]
Generated Node #0,0: 44:[11, 45, 11] Operation: 88-77=11
Moving to Node #0,0
Current State: 44:[11, 45, 11], Operations: ['88-77=11']
Exploring Operation: 11/11=1, Resulting Numbers: [45, 1]
Generated Node #0,0,0: 44:[45, 1] Operation: 11/11=1
Moving to Node #0,0,0
Current State: 44:[45, 1], Operations: ['88-77=11', '11/11=1']
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 |
hs_2
|
mult_heuristic
|
[
42,
2,
92,
34
] | 60 |
[
"42+34=76",
"2*76=152",
"152-92=60"
] |
Current State: 60:[42, 2, 92, 34], Operations: []
Exploring Operation: 42+34=76, Resulting Numbers: [2, 92, 76]
Generated Node #2: [2, 92, 76] from Operation: 42+34=76
Current State: 60:[2, 92, 76], Operations: ['42+34=76']
Exploring Operation: 2*76=152, Resulting Numbers: [92, 152]
Generated Node #3: [92, 152] from Operation: 2*76=152
Current State: 60:[92, 152], Operations: ['42+34=76', '2*76=152']
Exploring Operation: 152-92=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 |
Current State: 60:[42, 2, 92, 34], Operations: []
Exploring Operation: 92-34=58, Resulting Numbers: [42, 2, 58]
Generated Node #0,0: 60:[42, 2, 58] Operation: 92-34=58
Exploring Operation: 92/2=46, Resulting Numbers: [42, 34, 46]
Generated Node #0,1: 60:[42, 34, 46] Operation: 92/2=46
Exploring Operation: 92-42=50, Resulting Numbers: [2, 34, 50]
Generated Node #0,2: 60:[2, 34, 50] Operation: 92-42=50
Exploring Operation: 42/2=21, Resulting Numbers: [92, 34, 21]
Generated Node #0,3: 60:[92, 34, 21] Operation: 42/2=21
Exploring Operation: 42-34=8, Resulting Numbers: [2, 92, 8]
Generated Node #0,4: 60:[2, 92, 8] Operation: 42-34=8
Moving to Node #0,0
Current State: 60:[42, 2, 58], Operations: ['92-34=58']
Exploring Operation: 2+58=60, Resulting Numbers: [42, 60]
Generated Node #0,0,0: 60:[42, 60] Operation: 2+58=60
Exploring Operation: 42-2=40, Resulting Numbers: [58, 40]
Generated Node #0,0,1: 60:[58, 40] Operation: 42-2=40
Exploring Operation: 58/2=29, Resulting Numbers: [42, 29]
Generated Node #0,0,2: 60:[42, 29] Operation: 58/2=29
Exploring Operation: 42/2=21, Resulting Numbers: [58, 21]
Generated Node #0,0,3: 60:[58, 21] Operation: 42/2=21
Exploring Operation: 58-42=16, Resulting Numbers: [2, 16]
Generated Node #0,0,4: 60:[2, 16] Operation: 58-42=16
Moving to Node #0,2
Current State: 60:[2, 34, 50], Operations: ['92-42=50']
Exploring Operation: 2+50=52, Resulting Numbers: [34, 52]
Generated Node #0,2,0: 60:[34, 52] Operation: 2+50=52
Exploring Operation: 50-34=16, Resulting Numbers: [2, 16]
Generated Node #0,2,1: 60:[2, 16] Operation: 50-34=16
Exploring Operation: 34-2=32, Resulting Numbers: [50, 32]
Generated Node #0,2,2: 60:[50, 32] Operation: 34-2=32
Exploring Operation: 50/2=25, Resulting Numbers: [34, 25]
Generated Node #0,2,3: 60:[34, 25] Operation: 50/2=25
Exploring Operation: 34/2=17, Resulting Numbers: [50, 17]
Generated Node #0,2,4: 60:[50, 17] Operation: 34/2=17
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 60:[2, 16], Operations: ['92-42=50', '50-34=16']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,60 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 60:[34, 25], Operations: ['92-42=50', '50/2=25']
Exploring Operation: 34+25=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 34*25=850, Resulting Numbers: [850]
850,60 unequal: No Solution
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 60:[34, 52], Operations: ['92-42=50', '2+50=52']
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 34+52=86, Resulting Numbers: [86]
86,60 unequal: No Solution
Exploring Operation: 34*52=1768, Resulting Numbers: [1768]
1768,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 60:[50, 32], Operations: ['92-42=50', '34-2=32']
Exploring Operation: 50*32=1600, Resulting Numbers: [1600]
1600,60 unequal: No Solution
Exploring Operation: 50+32=82, Resulting Numbers: [82]
82,60 unequal: No Solution
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 60:[50, 17], Operations: ['92-42=50', '34/2=17']
Exploring Operation: 50+17=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,60 unequal: No Solution
Exploring Operation: 50*17=850, Resulting Numbers: [850]
850,60 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: 60:[42, 34, 46], Operations: ['92/2=46']
Exploring Operation: 46-42=4, Resulting Numbers: [34, 4]
Generated Node #0,1,0: 60:[34, 4] Operation: 46-42=4
Exploring Operation: 42+46=88, Resulting Numbers: [34, 88]
Generated Node #0,1,1: 60:[34, 88] Operation: 42+46=88
Exploring Operation: 42+34=76, Resulting Numbers: [46, 76]
Generated Node #0,1,2: 60:[46, 76] Operation: 42+34=76
Exploring Operation: 42-34=8, Resulting Numbers: [46, 8]
Generated Node #0,1,3: 60:[46, 8] Operation: 42-34=8
Exploring Operation: 46-34=12, Resulting Numbers: [42, 12]
Generated Node #0,1,4: 60:[42, 12] Operation: 46-34=12
Moving to Node #0,4
Current State: 60:[2, 92, 8], Operations: ['42-34=8']
Exploring Operation: 2+8=10, Resulting Numbers: [92, 10]
Generated Node #0,4,0: 60:[92, 10] Operation: 2+8=10
Exploring Operation: 8-2=6, Resulting Numbers: [92, 6]
Generated Node #0,4,1: 60:[92, 6] Operation: 8-2=6
Exploring Operation: 92/2=46, Resulting Numbers: [8, 46]
Generated Node #0,4,2: 60:[8, 46] Operation: 92/2=46
Exploring Operation: 92-2=90, Resulting Numbers: [8, 90]
Generated Node #0,4,3: 60:[8, 90] Operation: 92-2=90
Exploring Operation: 92-8=84, Resulting Numbers: [2, 84]
Generated Node #0,4,4: 60:[2, 84] Operation: 92-8=84
Moving to Node #0,3
Current State: 60:[92, 34, 21], Operations: ['42/2=21']
Exploring Operation: 34+21=55, Resulting Numbers: [92, 55]
Generated Node #0,3,0: 60:[92, 55] Operation: 34+21=55
Exploring Operation: 92+21=113, Resulting Numbers: [34, 113]
Generated Node #0,3,1: 60:[34, 113] Operation: 92+21=113
Exploring Operation: 92-34=58, Resulting Numbers: [21, 58]
Generated Node #0,3,2: 60:[21, 58] Operation: 92-34=58
Exploring Operation: 34-21=13, Resulting Numbers: [92, 13]
Generated Node #0,3,3: 60:[92, 13] Operation: 34-21=13
Exploring Operation: 92-21=71, Resulting Numbers: [34, 71]
Generated Node #0,3,4: 60:[34, 71] Operation: 92-21=71
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 60:[21, 58], Operations: ['42/2=21', '92-34=58']
Exploring Operation: 21+58=79, Resulting Numbers: [79]
79,60 unequal: No Solution
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,60 unequal: No Solution
Exploring Operation: 21*58=1218, Resulting Numbers: [1218]
1218,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 60:[34, 71], Operations: ['42/2=21', '92-21=71']
Exploring Operation: 34+71=105, Resulting Numbers: [105]
105,60 unequal: No Solution
Exploring Operation: 71-34=37, Resulting Numbers: [37]
37,60 unequal: No Solution
Exploring Operation: 34*71=2414, Resulting Numbers: [2414]
2414,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 60:[92, 13], Operations: ['42/2=21', '34-21=13']
Exploring Operation: 92-13=79, Resulting Numbers: [79]
79,60 unequal: No Solution
Exploring Operation: 92+13=105, Resulting Numbers: [105]
105,60 unequal: No Solution
Exploring Operation: 92*13=1196, Resulting Numbers: [1196]
1196,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 60:[92, 55], Operations: ['42/2=21', '34+21=55']
Exploring Operation: 92-55=37, Resulting Numbers: [37]
37,60 unequal: No Solution
Exploring Operation: 92+55=147, Resulting Numbers: [147]
147,60 unequal: No Solution
Exploring Operation: 92*55=5060, Resulting Numbers: [5060]
5060,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 60:[34, 113], Operations: ['42/2=21', '92+21=113']
Exploring Operation: 34+113=147, Resulting Numbers: [147]
147,60 unequal: No Solution
Exploring Operation: 113-34=79, Resulting Numbers: [79]
79,60 unequal: No Solution
Exploring Operation: 34*113=3842, Resulting Numbers: [3842]
3842,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,4
Current State: 60:[2, 16], Operations: ['92-34=58', '58-42=16']
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,60 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Moving to Node #0,0,3
Current State: 60:[58, 21], Operations: ['92-34=58', '42/2=21']
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,60 unequal: No Solution
Exploring Operation: 58+21=79, Resulting Numbers: [79]
79,60 unequal: No Solution
Exploring Operation: 58*21=1218, Resulting Numbers: [1218]
1218,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[34, 4], Operations: ['92/2=46', '46-42=4']
Exploring Operation: 34*4=136, Resulting Numbers: [136]
136,60 unequal: No Solution
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,60 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Moving to Node #0,1,4
Current State: 60:[42, 12], Operations: ['92/2=46', '46-34=12']
Exploring Operation: 42*12=504, Resulting Numbers: [504]
504,60 unequal: No Solution
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[42, 60], Operations: ['92-34=58', '2+58=60']
Exploring Operation: 60-42=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 42+60=102, Resulting Numbers: [102]
102,60 unequal: No Solution
Exploring Operation: 42*60=2520, Resulting Numbers: [2520]
2520,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[58, 40], Operations: ['92-34=58', '42-2=40']
Exploring Operation: 58+40=98, Resulting Numbers: [98]
98,60 unequal: No Solution
Exploring Operation: 58*40=2320, Resulting Numbers: [2320]
2320,60 unequal: No Solution
Exploring Operation: 58-40=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[42, 29], Operations: ['92-34=58', '58/2=29']
Exploring Operation: 42-29=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 42+29=71, Resulting Numbers: [71]
71,60 unequal: No Solution
Exploring Operation: 42*29=1218, Resulting Numbers: [1218]
1218,60 unequal: No Solution
Moving to Node #0,4,2
Current State: 60:[8, 46], Operations: ['42-34=8', '92/2=46']
Exploring Operation: 8*46=368, Resulting Numbers: [368]
368,60 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,60 unequal: No Solution
Exploring Operation: 8+46=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Moving to Node #0,1,3
Current State: 60:[46, 8], Operations: ['92/2=46', '42-34=8']
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Exploring Operation: 46*8=368, Resulting Numbers: [368]
368,60 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,60 unequal: No Solution
Moving to Node #0,4,4
Current State: 60:[2, 84], Operations: ['42-34=8', '92-8=84']
Exploring Operation: 2+84=86, Resulting Numbers: [86]
86,60 unequal: No Solution
Exploring Operation: 2*84=168, Resulting Numbers: [168]
168,60 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,60 unequal: No Solution
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[46, 76], Operations: ['92/2=46', '42+34=76']
Exploring Operation: 46+76=122, Resulting Numbers: [122]
122,60 unequal: No Solution
Exploring Operation: 46*76=3496, Resulting Numbers: [3496]
3496,60 unequal: No Solution
Exploring Operation: 76-46=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Moving to Node #0,4,0
Current State: 60:[92, 10], Operations: ['42-34=8', '2+8=10']
Exploring Operation: 92*10=920, Resulting Numbers: [920]
920,60 unequal: No Solution
Exploring Operation: 92-10=82, Resulting Numbers: [82]
82,60 unequal: No Solution
Exploring Operation: 92+10=102, Resulting Numbers: [102]
102,60 unequal: No Solution
Moving to Node #0,4,1
Current State: 60:[92, 6], Operations: ['42-34=8', '8-2=6']
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,60 unequal: No Solution
Exploring Operation: 92*6=552, Resulting Numbers: [552]
552,60 unequal: No Solution
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[34, 88], Operations: ['92/2=46', '42+46=88']
Exploring Operation: 34*88=2992, Resulting Numbers: [2992]
2992,60 unequal: No Solution
Exploring Operation: 34+88=122, Resulting Numbers: [122]
122,60 unequal: No Solution
Exploring Operation: 88-34=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Moving to Node #0,4,3
Current State: 60:[8, 90], Operations: ['42-34=8', '92-2=90']
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,60 unequal: No Solution
Exploring Operation: 8+90=98, Resulting Numbers: [98]
98,60 unequal: No Solution
Exploring Operation: 8*90=720, Resulting Numbers: [720]
720,60 unequal: No Solution
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
68,
7,
48,
65
] | 67 |
[
"68+65=133",
"133/7=19",
"48+19=67"
] |
Current State: 67:[68, 7, 48, 65], Operations: []
Exploring Operation: 68+65=133, Resulting Numbers: [7, 48, 133]
Generated Node #2: [7, 48, 133] from Operation: 68+65=133
Current State: 67:[7, 48, 133], Operations: ['68+65=133']
Exploring Operation: 133/7=19, Resulting Numbers: [48, 19]
Generated Node #3: [48, 19] from Operation: 133/7=19
Current State: 67:[48, 19], Operations: ['68+65=133', '133/7=19']
Exploring Operation: 48+19=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 |
Current State: 67:[68, 7, 48, 65], Operations: []
Exploring Operation: 7+48=55, Resulting Numbers: [68, 65, 55]
Generated Node #0,0: 67:[68, 65, 55] Operation: 7+48=55
Exploring Operation: 68+7=75, Resulting Numbers: [48, 65, 75]
Generated Node #0,1: 67:[48, 65, 75] Operation: 68+7=75
Exploring Operation: 7+65=72, Resulting Numbers: [68, 48, 72]
Generated Node #0,2: 67:[68, 48, 72] Operation: 7+65=72
Exploring Operation: 48-7=41, Resulting Numbers: [68, 65, 41]
Generated Node #0,3: 67:[68, 65, 41] Operation: 48-7=41
Exploring Operation: 68-7=61, Resulting Numbers: [48, 65, 61]
Generated Node #0,4: 67:[48, 65, 61] Operation: 68-7=61
Moving to Node #0,0
Current State: 67:[68, 65, 55], Operations: ['7+48=55']
Exploring Operation: 65+55=120, Resulting Numbers: [68, 120]
Generated Node #0,0,0: 67:[68, 120] Operation: 65+55=120
Exploring Operation: 68-65=3, Resulting Numbers: [55, 3]
Generated Node #0,0,1: 67:[55, 3] Operation: 68-65=3
Exploring Operation: 68+55=123, Resulting Numbers: [65, 123]
Generated Node #0,0,2: 67:[65, 123] Operation: 68+55=123
Exploring Operation: 68-55=13, Resulting Numbers: [65, 13]
Generated Node #0,0,3: 67:[65, 13] Operation: 68-55=13
Exploring Operation: 65-55=10, Resulting Numbers: [68, 10]
Generated Node #0,0,4: 67:[68, 10] Operation: 65-55=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[68, 120], Operations: ['7+48=55', '65+55=120']
Exploring Operation: 68+120=188, Resulting Numbers: [188]
188,67 unequal: No Solution
Exploring Operation: 120-68=52, Resulting Numbers: [52]
52,67 unequal: No Solution
Exploring Operation: 68*120=8160, Resulting Numbers: [8160]
8160,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 67:[65, 13], Operations: ['7+48=55', '68-55=13']
Exploring Operation: 65-13=52, Resulting Numbers: [52]
52,67 unequal: No Solution
Exploring Operation: 65*13=845, Resulting Numbers: [845]
845,67 unequal: No Solution
Exploring Operation: 65+13=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 65/13=5, Resulting Numbers: [5]
5,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 67:[65, 123], Operations: ['7+48=55', '68+55=123']
Exploring Operation: 123-65=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 65+123=188, Resulting Numbers: [188]
188,67 unequal: No Solution
Exploring Operation: 65*123=7995, Resulting Numbers: [7995]
7995,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 67:[68, 10], Operations: ['7+48=55', '65-55=10']
Exploring Operation: 68*10=680, Resulting Numbers: [680]
680,67 unequal: No Solution
Exploring Operation: 68+10=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 68-10=58, Resulting Numbers: [58]
58,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[55, 3], Operations: ['7+48=55', '68-65=3']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,67 unequal: No Solution
Exploring Operation: 55*3=165, Resulting Numbers: [165]
165,67 unequal: No Solution
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,67 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: 67:[68, 48, 72], Operations: ['7+65=72']
Exploring Operation: 72-48=24, Resulting Numbers: [68, 24]
Generated Node #0,2,0: 67:[68, 24] Operation: 72-48=24
Exploring Operation: 68+48=116, Resulting Numbers: [72, 116]
Generated Node #0,2,1: 67:[72, 116] Operation: 68+48=116
Exploring Operation: 72-68=4, Resulting Numbers: [48, 4]
Generated Node #0,2,2: 67:[48, 4] Operation: 72-68=4
Exploring Operation: 68-48=20, Resulting Numbers: [72, 20]
Generated Node #0,2,3: 67:[72, 20] Operation: 68-48=20
Exploring Operation: 48+72=120, Resulting Numbers: [68, 120]
Generated Node #0,2,4: 67:[68, 120] Operation: 48+72=120
Moving to Node #0,4
Current State: 67:[48, 65, 61], Operations: ['68-7=61']
Exploring Operation: 48+61=109, Resulting Numbers: [65, 109]
Generated Node #0,4,0: 67:[65, 109] Operation: 48+61=109
Exploring Operation: 48+65=113, Resulting Numbers: [61, 113]
Generated Node #0,4,1: 67:[61, 113] Operation: 48+65=113
Exploring Operation: 65+61=126, Resulting Numbers: [48, 126]
Generated Node #0,4,2: 67:[48, 126] Operation: 65+61=126
Exploring Operation: 61-48=13, Resulting Numbers: [65, 13]
Generated Node #0,4,3: 67:[65, 13] Operation: 61-48=13
Exploring Operation: 65-48=17, Resulting Numbers: [61, 17]
Generated Node #0,4,4: 67:[61, 17] Operation: 65-48=17
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 67:[65, 109], Operations: ['68-7=61', '48+61=109']
Exploring Operation: 65*109=7085, Resulting Numbers: [7085]
7085,67 unequal: No Solution
Exploring Operation: 109-65=44, Resulting Numbers: [44]
44,67 unequal: No Solution
Exploring Operation: 65+109=174, Resulting Numbers: [174]
174,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 67:[61, 113], Operations: ['68-7=61', '48+65=113']
Exploring Operation: 61*113=6893, Resulting Numbers: [6893]
6893,67 unequal: No Solution
Exploring Operation: 61+113=174, Resulting Numbers: [174]
174,67 unequal: No Solution
Exploring Operation: 113-61=52, Resulting Numbers: [52]
52,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 67:[65, 13], Operations: ['68-7=61', '61-48=13']
Exploring Operation: 65+13=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 65/13=5, Resulting Numbers: [5]
5,67 unequal: No Solution
Exploring Operation: 65-13=52, Resulting Numbers: [52]
52,67 unequal: No Solution
Exploring Operation: 65*13=845, Resulting Numbers: [845]
845,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 67:[61, 17], Operations: ['68-7=61', '65-48=17']
Exploring Operation: 61+17=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 61-17=44, Resulting Numbers: [44]
44,67 unequal: No Solution
Exploring Operation: 61*17=1037, Resulting Numbers: [1037]
1037,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 67:[48, 126], Operations: ['68-7=61', '65+61=126']
Exploring Operation: 48*126=6048, Resulting Numbers: [6048]
6048,67 unequal: No Solution
Exploring Operation: 48+126=174, Resulting Numbers: [174]
174,67 unequal: No Solution
Exploring Operation: 126-48=78, Resulting Numbers: [78]
78,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 67:[48, 65, 75], Operations: ['68+7=75']
Exploring Operation: 75-48=27, Resulting Numbers: [65, 27]
Generated Node #0,1,0: 67:[65, 27] Operation: 75-48=27
Exploring Operation: 65-48=17, Resulting Numbers: [75, 17]
Generated Node #0,1,1: 67:[75, 17] Operation: 65-48=17
Exploring Operation: 75-65=10, Resulting Numbers: [48, 10]
Generated Node #0,1,2: 67:[48, 10] Operation: 75-65=10
Exploring Operation: 48+75=123, Resulting Numbers: [65, 123]
Generated Node #0,1,3: 67:[65, 123] Operation: 48+75=123
Exploring Operation: 48+65=113, Resulting Numbers: [75, 113]
Generated Node #0,1,4: 67:[75, 113] Operation: 48+65=113
Moving to Node #0,3
Current State: 67:[68, 65, 41], Operations: ['48-7=41']
Exploring Operation: 65+41=106, Resulting Numbers: [68, 106]
Generated Node #0,3,0: 67:[68, 106] Operation: 65+41=106
Exploring Operation: 68-41=27, Resulting Numbers: [65, 27]
Generated Node #0,3,1: 67:[65, 27] Operation: 68-41=27
Exploring Operation: 65-41=24, Resulting Numbers: [68, 24]
Generated Node #0,3,2: 67:[68, 24] Operation: 65-41=24
Exploring Operation: 68+41=109, Resulting Numbers: [65, 109]
Generated Node #0,3,3: 67:[65, 109] Operation: 68+41=109
Exploring Operation: 68-65=3, Resulting Numbers: [41, 3]
Generated Node #0,3,4: 67:[41, 3] Operation: 68-65=3
Moving to Node #0,3,0
Current State: 67:[68, 106], Operations: ['48-7=41', '65+41=106']
Exploring Operation: 68*106=7208, Resulting Numbers: [7208]
7208,67 unequal: No Solution
Exploring Operation: 68+106=174, Resulting Numbers: [174]
174,67 unequal: No Solution
Exploring Operation: 106-68=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[65, 27], Operations: ['48-7=41', '68-41=27']
Exploring Operation: 65+27=92, Resulting Numbers: [92]
92,67 unequal: No Solution
Exploring Operation: 65*27=1755, Resulting Numbers: [1755]
1755,67 unequal: No Solution
Exploring Operation: 65-27=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[65, 27], Operations: ['68+7=75', '75-48=27']
Exploring Operation: 65+27=92, Resulting Numbers: [92]
92,67 unequal: No Solution
Exploring Operation: 65-27=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Exploring Operation: 65*27=1755, Resulting Numbers: [1755]
1755,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[65, 109], Operations: ['48-7=41', '68+41=109']
Exploring Operation: 65*109=7085, Resulting Numbers: [7085]
7085,67 unequal: No Solution
Exploring Operation: 65+109=174, Resulting Numbers: [174]
174,67 unequal: No Solution
Exploring Operation: 109-65=44, Resulting Numbers: [44]
44,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[68, 24], Operations: ['7+65=72', '72-48=24']
Exploring Operation: 68*24=1632, Resulting Numbers: [1632]
1632,67 unequal: No Solution
Exploring Operation: 68-24=44, Resulting Numbers: [44]
44,67 unequal: No Solution
Exploring Operation: 68+24=92, Resulting Numbers: [92]
92,67 unequal: No Solution
Moving to Node #0,3,2
Current State: 67:[68, 24], Operations: ['48-7=41', '65-41=24']
Exploring Operation: 68*24=1632, Resulting Numbers: [1632]
1632,67 unequal: No Solution
Exploring Operation: 68+24=92, Resulting Numbers: [92]
92,67 unequal: No Solution
Exploring Operation: 68-24=44, Resulting Numbers: [44]
44,67 unequal: No Solution
Moving to Node #0,2,3
Current State: 67:[72, 20], Operations: ['7+65=72', '68-48=20']
Exploring Operation: 72-20=52, Resulting Numbers: [52]
52,67 unequal: No Solution
Exploring Operation: 72*20=1440, Resulting Numbers: [1440]
1440,67 unequal: No Solution
Exploring Operation: 72+20=92, Resulting Numbers: [92]
92,67 unequal: No Solution
Moving to Node #0,1,4
Current State: 67:[75, 113], Operations: ['68+7=75', '48+65=113']
Exploring Operation: 75*113=8475, Resulting Numbers: [8475]
8475,67 unequal: No Solution
Exploring Operation: 75+113=188, Resulting Numbers: [188]
188,67 unequal: No Solution
Exploring Operation: 113-75=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[72, 116], Operations: ['7+65=72', '68+48=116']
Exploring Operation: 72*116=8352, Resulting Numbers: [8352]
8352,67 unequal: No Solution
Exploring Operation: 72+116=188, Resulting Numbers: [188]
188,67 unequal: No Solution
Exploring Operation: 116-72=44, Resulting Numbers: [44]
44,67 unequal: No Solution
Moving to Node #0,2,4
Current State: 67:[68, 120], Operations: ['7+65=72', '48+72=120']
Exploring Operation: 120-68=52, Resulting Numbers: [52]
52,67 unequal: No Solution
Exploring Operation: 68*120=8160, Resulting Numbers: [8160]
8160,67 unequal: No Solution
Exploring Operation: 68+120=188, Resulting Numbers: [188]
188,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[75, 17], Operations: ['68+7=75', '65-48=17']
Exploring Operation: 75-17=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 75+17=92, Resulting Numbers: [92]
92,67 unequal: No Solution
Exploring Operation: 75*17=1275, Resulting Numbers: [1275]
1275,67 unequal: No Solution
Moving to Node #0,1,3
Current State: 67:[65, 123], Operations: ['68+7=75', '48+75=123']
Exploring Operation: 65+123=188, Resulting Numbers: [188]
188,67 unequal: No Solution
Exploring Operation: 123-65=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 65*123=7995, Resulting Numbers: [7995]
7995,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[48, 10], Operations: ['68+7=75', '75-65=10']
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Exploring Operation: 48*10=480, Resulting Numbers: [480]
480,67 unequal: No Solution
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[48, 4], Operations: ['7+65=72', '72-68=4']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,67 unequal: No Solution
Exploring Operation: 48+4=52, Resulting Numbers: [52]
52,67 unequal: No Solution
Exploring Operation: 48*4=192, Resulting Numbers: [192]
192,67 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Moving to Node #0,3,4
Current State: 67:[41, 3], Operations: ['48-7=41', '68-65=3']
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,67 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,67 unequal: No Solution
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
10,
92,
90,
78
] | 83 |
[
"92-90=2",
"10/2=5",
"78+5=83"
] |
Current State: 83:[10, 92, 90, 78], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [10, 78, 2]
Generated Node #2: [10, 78, 2] from Operation: 92-90=2
Current State: 83:[10, 78, 2], Operations: ['92-90=2']
Exploring Operation: 10/2=5, Resulting Numbers: [78, 5]
Generated Node #3: [78, 5] from Operation: 10/2=5
Current State: 83:[78, 5], Operations: ['92-90=2', '10/2=5']
Exploring Operation: 78+5=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 |
Current State: 83:[10, 92, 90, 78], Operations: []
Exploring Operation: 90-10=80, Resulting Numbers: [92, 78, 80]
Generated Node #0,0: 83:[92, 78, 80] Operation: 90-10=80
Exploring Operation: 92-10=82, Resulting Numbers: [90, 78, 82]
Generated Node #0,1: 83:[90, 78, 82] Operation: 92-10=82
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[90, 78, 82], Operations: ['92-10=82']
Exploring Operation: 90-78=12, Resulting Numbers: [82, 12]
Generated Node #0,1,0: 83:[82, 12] Operation: 90-78=12
Exploring Operation: 90-82=8, Resulting Numbers: [78, 8]
Generated Node #0,1,1: 83:[78, 8] Operation: 90-82=8
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[82, 12], Operations: ['92-10=82', '90-78=12']
Exploring Operation: 82-12=70, Resulting Numbers: [70]
70,83 unequal: No Solution
Exploring Operation: 82+12=94, Resulting Numbers: [94]
94,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 83:[78, 8], Operations: ['92-10=82', '90-82=8']
Exploring Operation: 78-8=70, Resulting Numbers: [70]
70,83 unequal: No Solution
Exploring Operation: 78+8=86, Resulting Numbers: [86]
86,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[92, 78, 80], Operations: ['90-10=80']
Exploring Operation: 92-78=14, Resulting Numbers: [80, 14]
Generated Node #0,0,0: 83:[80, 14] Operation: 92-78=14
Exploring Operation: 92-80=12, Resulting Numbers: [78, 12]
Generated Node #0,0,1: 83:[78, 12] Operation: 92-80=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[80, 14], Operations: ['90-10=80', '92-78=14']
Exploring Operation: 80-14=66, Resulting Numbers: [66]
66,83 unequal: No Solution
Exploring Operation: 80+14=94, Resulting Numbers: [94]
94,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[78, 12], Operations: ['90-10=80', '92-80=12']
Exploring Operation: 78+12=90, Resulting Numbers: [90]
90,83 unequal: No Solution
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
51,
47,
5,
5
] | 20 |
[
"51*5=255",
"47*5=235",
"255-235=20"
] |
Current State: 20:[51, 47, 5, 5], Operations: []
Exploring Operation: 51*5=255, Resulting Numbers: [47, 255]
Generated Node #2: [47, 255] from Operation: 51*5=255
Current State: 20:[47, 255], Operations: ['51*5=255']
Exploring Operation: 47*5=235, Resulting Numbers: [255, 235]
Generated Node #3: [255, 235] from Operation: 47*5=235
Current State: 20:[255, 235], Operations: ['51*5=255', '47*5=235']
Exploring Operation: 255-235=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 |
Current State: 20:[51, 47, 5, 5], Operations: []
Exploring Operation: 51-47=4, Resulting Numbers: [5, 5, 4]
Generated Node #0,0: 20:[5, 5, 4] Operation: 51-47=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[5, 5, 4], Operations: ['51-47=4']
Exploring Operation: 5+5=10, Resulting Numbers: [4, 10]
Generated Node #0,0,0: 20:[4, 10] Operation: 5+5=10
Moving to Node #0,0,0
Current State: 20:[4, 10], Operations: ['51-47=4', '5+5=10']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,20 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
|
[
84,
21,
81,
60
] | 85 |
[
"81-21=60",
"60/60=1",
"84+1=85"
] |
Current State: 85:[84, 21, 81, 60], Operations: []
Exploring Operation: 81-21=60, Resulting Numbers: [84, 60, 60]
Generated Node #2: [84, 60, 60] from Operation: 81-21=60
Current State: 85:[84, 60, 60], Operations: ['81-21=60']
Exploring Operation: 60/60=1, Resulting Numbers: [84, 1]
Generated Node #3: [84, 1] from Operation: 60/60=1
Current State: 85:[84, 1], Operations: ['81-21=60', '60/60=1']
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 |
Current State: 85:[84, 21, 81, 60], Operations: []
Exploring Operation: 81-60=21, Resulting Numbers: [84, 21, 21]
Generated Node #0,0: 85:[84, 21, 21] Operation: 81-60=21
Exploring Operation: 21+60=81, Resulting Numbers: [84, 81, 81]
Generated Node #0,1: 85:[84, 81, 81] Operation: 21+60=81
Moving to Node #0,0
Current State: 85:[84, 21, 21], Operations: ['81-60=21']
Exploring Operation: 84/21=4, Resulting Numbers: [21, 4]
Generated Node #0,0,0: 85:[21, 4] Operation: 84/21=4
Exploring Operation: 84/21=4, Resulting Numbers: [21, 4]
Generated Node #0,0,1: 85:[21, 4] Operation: 84/21=4
Moving to Node #0,1
Current State: 85:[84, 81, 81], Operations: ['21+60=81']
Exploring Operation: 81/81=1, Resulting Numbers: [84, 1]
Generated Node #0,1,0: 85:[84, 1] Operation: 81/81=1
Exploring Operation: 84-81=3, Resulting Numbers: [81, 3]
Generated Node #0,1,1: 85:[81, 3] Operation: 84-81=3
Moving to Node #0,0,0
Current State: 85:[21, 4], Operations: ['81-60=21', '84/21=4']
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[84, 1], Operations: ['21+60=81', '81/81=1']
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[84, 21, 81, 60], Operations: []
Exploring Operation: 21+60=81, Resulting Numbers: [84, 81, 81]
Generated Node #0,1: 85:[84, 81, 81] Operation: 21+60=81
Moving to Node #0,1
Current State: 85:[84, 81, 81], Operations: ['21+60=81']
Exploring Operation: 81/81=1, Resulting Numbers: [84, 1]
Generated Node #0,1,0: 85:[84, 1] Operation: 81/81=1
Moving to Node #0,1,0
Current State: 85:[84, 1], Operations: ['21+60=81', '81/81=1']
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.987847 |
hs_2
|
sum_heuristic
|
[
34,
12,
10,
51
] | 34 |
[
"51-34=17",
"12-10=2",
"17*2=34"
] |
Current State: 34:[34, 12, 10, 51], Operations: []
Exploring Operation: 51-34=17, Resulting Numbers: [12, 10, 17]
Generated Node #2: [12, 10, 17] from Operation: 51-34=17
Current State: 34:[12, 10, 17], Operations: ['51-34=17']
Exploring Operation: 12-10=2, Resulting Numbers: [17, 2]
Generated Node #3: [17, 2] from Operation: 12-10=2
Current State: 34:[17, 2], Operations: ['51-34=17', '12-10=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 |
Current State: 34:[34, 12, 10, 51], Operations: []
Exploring Operation: 51-10=41, Resulting Numbers: [34, 12, 41]
Generated Node #0,0: 34:[34, 12, 41] Operation: 51-10=41
Exploring Operation: 51-34=17, Resulting Numbers: [12, 10, 17]
Generated Node #0,1: 34:[12, 10, 17] Operation: 51-34=17
Exploring Operation: 51-12=39, Resulting Numbers: [34, 10, 39]
Generated Node #0,2: 34:[34, 10, 39] Operation: 51-12=39
Exploring Operation: 12-10=2, Resulting Numbers: [34, 51, 2]
Generated Node #0,3: 34:[34, 51, 2] Operation: 12-10=2
Moving to Node #0,0
Current State: 34:[34, 12, 41], Operations: ['51-10=41']
Exploring Operation: 41-34=7, Resulting Numbers: [12, 7]
Generated Node #0,0,0: 34:[12, 7] Operation: 41-34=7
Exploring Operation: 34+12=46, Resulting Numbers: [41, 46]
Generated Node #0,0,1: 34:[41, 46] Operation: 34+12=46
Exploring Operation: 41-12=29, Resulting Numbers: [34, 29]
Generated Node #0,0,2: 34:[34, 29] Operation: 41-12=29
Exploring Operation: 34-12=22, Resulting Numbers: [41, 22]
Generated Node #0,0,3: 34:[41, 22] Operation: 34-12=22
Moving to Node #0,2
Current State: 34:[34, 10, 39], Operations: ['51-12=39']
Exploring Operation: 34+10=44, Resulting Numbers: [39, 44]
Generated Node #0,2,0: 34:[39, 44] Operation: 34+10=44
Exploring Operation: 39-10=29, Resulting Numbers: [34, 29]
Generated Node #0,2,1: 34:[34, 29] Operation: 39-10=29
Exploring Operation: 34-10=24, Resulting Numbers: [39, 24]
Generated Node #0,2,2: 34:[39, 24] Operation: 34-10=24
Exploring Operation: 39-34=5, Resulting Numbers: [10, 5]
Generated Node #0,2,3: 34:[10, 5] Operation: 39-34=5
Moving to Node #0,1
Current State: 34:[12, 10, 17], Operations: ['51-34=17']
Exploring Operation: 12-10=2, Resulting Numbers: [17, 2]
Generated Node #0,1,0: 34:[17, 2] Operation: 12-10=2
Exploring Operation: 17-12=5, Resulting Numbers: [10, 5]
Generated Node #0,1,1: 34:[10, 5] Operation: 17-12=5
Exploring Operation: 12+10=22, Resulting Numbers: [17, 22]
Generated Node #0,1,2: 34:[17, 22] Operation: 12+10=22
Exploring Operation: 17-10=7, Resulting Numbers: [12, 7]
Generated Node #0,1,3: 34:[12, 7] Operation: 17-10=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[17, 2], Operations: ['51-34=17', '12-10=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[34, 12, 10, 51], Operations: []
Exploring Operation: 51-34=17, Resulting Numbers: [12, 10, 17]
Generated Node #0,1: 34:[12, 10, 17] Operation: 51-34=17
Moving to Node #0,1
Current State: 34:[12, 10, 17], Operations: ['51-34=17']
Exploring Operation: 12-10=2, Resulting Numbers: [17, 2]
Generated Node #0,1,0: 34:[17, 2] Operation: 12-10=2
Moving to Node #0,1,0
Current State: 34:[17, 2], Operations: ['51-34=17', '12-10=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 |
hs_4
|
sum_heuristic
|
[
76,
28,
87,
2
] | 78 |
[
"76-28=48",
"87-48=39",
"2*39=78"
] |
Current State: 78:[76, 28, 87, 2], Operations: []
Exploring Operation: 76-28=48, Resulting Numbers: [87, 2, 48]
Generated Node #2: [87, 2, 48] from Operation: 76-28=48
Current State: 78:[87, 2, 48], Operations: ['76-28=48']
Exploring Operation: 87-48=39, Resulting Numbers: [2, 39]
Generated Node #3: [2, 39] from Operation: 87-48=39
Current State: 78:[2, 39], Operations: ['76-28=48', '87-48=39']
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 |
Current State: 78:[76, 28, 87, 2], Operations: []
Exploring Operation: 28-2=26, Resulting Numbers: [76, 87, 26]
Generated Node #0,0: 78:[76, 87, 26] Operation: 28-2=26
Exploring Operation: 76+2=78, Resulting Numbers: [28, 87, 78]
Generated Node #0,1: 78:[28, 87, 78] Operation: 76+2=78
Exploring Operation: 87-2=85, Resulting Numbers: [76, 28, 85]
Generated Node #0,2: 78:[76, 28, 85] Operation: 87-2=85
Exploring Operation: 87-76=11, Resulting Numbers: [28, 2, 11]
Generated Node #0,3: 78:[28, 2, 11] Operation: 87-76=11
Start Sub Search at level 1: Moving to Node #0,3
Current State: 78:[28, 2, 11], Operations: ['87-76=11']
Exploring Operation: 28+11=39, Resulting Numbers: [2, 39]
Generated Node #0,3,0: 78:[2, 39] Operation: 28+11=39
Exploring Operation: 28-2=26, Resulting Numbers: [11, 26]
Generated Node #0,3,1: 78:[11, 26] Operation: 28-2=26
Exploring Operation: 2+11=13, Resulting Numbers: [28, 13]
Generated Node #0,3,2: 78:[28, 13] Operation: 2+11=13
Exploring Operation: 28/2=14, Resulting Numbers: [11, 14]
Generated Node #0,3,3: 78:[11, 14] Operation: 28/2=14
Moving to Node #0,3,0
Current State: 78:[2, 39], Operations: ['87-76=11', '28+11=39']
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[76, 28, 87, 2], Operations: []
Exploring Operation: 87-76=11, Resulting Numbers: [28, 2, 11]
Generated Node #0,3: 78:[28, 2, 11] Operation: 87-76=11
Moving to Node #0,3
Current State: 78:[28, 2, 11], Operations: ['87-76=11']
Exploring Operation: 28+11=39, Resulting Numbers: [2, 39]
Generated Node #0,3,0: 78:[2, 39] Operation: 28+11=39
Moving to Node #0,3,0
Current State: 78:[2, 39], Operations: ['87-76=11', '28+11=39']
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 |
hs_4
|
sum_heuristic
|
[
8,
7,
83,
64
] | 85 |
[
"8*64=512",
"83+512=595",
"595/7=85"
] |
Current State: 85:[8, 7, 83, 64], Operations: []
Exploring Operation: 8*64=512, Resulting Numbers: [7, 83, 512]
Generated Node #2: [7, 83, 512] from Operation: 8*64=512
Current State: 85:[7, 83, 512], Operations: ['8*64=512']
Exploring Operation: 83+512=595, Resulting Numbers: [7, 595]
Generated Node #3: [7, 595] from Operation: 83+512=595
Current State: 85:[7, 595], Operations: ['8*64=512', '83+512=595']
Exploring Operation: 595/7=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 |
Current State: 85:[8, 7, 83, 64], Operations: []
Exploring Operation: 64/8=8, Resulting Numbers: [7, 83, 8]
Generated Node #0,0: 85:[7, 83, 8] Operation: 64/8=8
Exploring Operation: 7+64=71, Resulting Numbers: [8, 83, 71]
Generated Node #0,1: 85:[8, 83, 71] Operation: 7+64=71
Exploring Operation: 83-64=19, Resulting Numbers: [8, 7, 19]
Generated Node #0,2: 85:[8, 7, 19] Operation: 83-64=19
Exploring Operation: 8+64=72, Resulting Numbers: [7, 83, 72]
Generated Node #0,3: 85:[7, 83, 72] Operation: 8+64=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[7, 83, 8], Operations: ['64/8=8']
Exploring Operation: 83+8=91, Resulting Numbers: [7, 91]
Generated Node #0,0,0: 85:[7, 91] Operation: 83+8=91
Exploring Operation: 7+83=90, Resulting Numbers: [8, 90]
Generated Node #0,0,1: 85:[8, 90] Operation: 7+83=90
Exploring Operation: 7+8=15, Resulting Numbers: [83, 15]
Generated Node #0,0,2: 85:[83, 15] Operation: 7+8=15
Exploring Operation: 8-7=1, Resulting Numbers: [83, 1]
Generated Node #0,0,3: 85:[83, 1] Operation: 8-7=1
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 85:[83, 15], Operations: ['64/8=8', '7+8=15']
Exploring Operation: 83-15=68, Resulting Numbers: [68]
68,85 unequal: No Solution
Exploring Operation: 83+15=98, Resulting Numbers: [98]
98,85 unequal: No Solution
Exploring Operation: 83*15=1245, Resulting Numbers: [1245]
1245,85 unequal: No Solution
No 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: 85:[83, 1], Operations: ['64/8=8', '8-7=1']
Exploring Operation: 83+1=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 83*1=83, Resulting Numbers: [83]
83,85 unequal: No Solution
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,85 unequal: No Solution
Exploring Operation: 83/1=83, Resulting Numbers: [83]
83,85 unequal: No Solution
No 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: 85:[7, 91], Operations: ['64/8=8', '83+8=91']
Exploring Operation: 7+91=98, Resulting Numbers: [98]
98,85 unequal: No Solution
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 7*91=637, Resulting Numbers: [637]
637,85 unequal: No Solution
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,85 unequal: No Solution
No 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: 85:[8, 90], Operations: ['64/8=8', '7+83=90']
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,85 unequal: No Solution
Exploring Operation: 8*90=720, Resulting Numbers: [720]
720,85 unequal: No Solution
Exploring Operation: 8+90=98, Resulting Numbers: [98]
98,85 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: 85:[8, 7, 19], Operations: ['83-64=19']
Exploring Operation: 8+7=15, Resulting Numbers: [19, 15]
Generated Node #0,2,0: 85:[19, 15] Operation: 8+7=15
Exploring Operation: 19-8=11, Resulting Numbers: [7, 11]
Generated Node #0,2,1: 85:[7, 11] Operation: 19-8=11
Exploring Operation: 19-7=12, Resulting Numbers: [8, 12]
Generated Node #0,2,2: 85:[8, 12] Operation: 19-7=12
Exploring Operation: 8-7=1, Resulting Numbers: [19, 1]
Generated Node #0,2,3: 85:[19, 1] Operation: 8-7=1
Moving to Node #0,2,0
Current State: 85:[19, 15], Operations: ['83-64=19', '8+7=15']
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 19*15=285, Resulting Numbers: [285]
285,85 unequal: No Solution
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Moving to Node #0,2,3
Current State: 85:[19, 1], Operations: ['83-64=19', '8-7=1']
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[8, 12], Operations: ['83-64=19', '19-7=12']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,85 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[7, 11], Operations: ['83-64=19', '19-8=11']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,85 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 85:[7, 83, 72], Operations: ['8+64=72']
Exploring Operation: 83-72=11, Resulting Numbers: [7, 11]
Generated Node #0,3,0: 85:[7, 11] Operation: 83-72=11
Exploring Operation: 7+72=79, Resulting Numbers: [83, 79]
Generated Node #0,3,1: 85:[83, 79] Operation: 7+72=79
Exploring Operation: 7+83=90, Resulting Numbers: [72, 90]
Generated Node #0,3,2: 85:[72, 90] Operation: 7+83=90
Exploring Operation: 83-7=76, Resulting Numbers: [72, 76]
Generated Node #0,3,3: 85:[72, 76] Operation: 83-7=76
Moving to Node #0,3,0
Current State: 85:[7, 11], Operations: ['8+64=72', '83-72=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,85 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Moving to Node #0,3,1
Current State: 85:[83, 79], Operations: ['8+64=72', '7+72=79']
Exploring Operation: 83+79=162, Resulting Numbers: [162]
162,85 unequal: No Solution
Exploring Operation: 83-79=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 83*79=6557, Resulting Numbers: [6557]
6557,85 unequal: No Solution
Moving to Node #0,3,2
Current State: 85:[72, 90], Operations: ['8+64=72', '7+83=90']
Exploring Operation: 90-72=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 72+90=162, Resulting Numbers: [162]
162,85 unequal: No Solution
Exploring Operation: 72*90=6480, Resulting Numbers: [6480]
6480,85 unequal: No Solution
Moving to Node #0,3,3
Current State: 85:[72, 76], Operations: ['8+64=72', '83-7=76']
Exploring Operation: 76-72=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 72+76=148, Resulting Numbers: [148]
148,85 unequal: No Solution
Exploring Operation: 72*76=5472, Resulting Numbers: [5472]
5472,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[8, 83, 71], Operations: ['7+64=71']
Exploring Operation: 83-71=12, Resulting Numbers: [8, 12]
Generated Node #0,1,0: 85:[8, 12] Operation: 83-71=12
Exploring Operation: 8+71=79, Resulting Numbers: [83, 79]
Generated Node #0,1,1: 85:[83, 79] Operation: 8+71=79
Exploring Operation: 8+83=91, Resulting Numbers: [71, 91]
Generated Node #0,1,2: 85:[71, 91] Operation: 8+83=91
Exploring Operation: 83-8=75, Resulting Numbers: [71, 75]
Generated Node #0,1,3: 85:[71, 75] Operation: 83-8=75
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 85:[8, 12], Operations: ['7+64=71', '83-71=12']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,85 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,85 unequal: No Solution
No 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: 85:[83, 79], Operations: ['7+64=71', '8+71=79']
Exploring Operation: 83+79=162, Resulting Numbers: [162]
162,85 unequal: No Solution
Exploring Operation: 83-79=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 83*79=6557, Resulting Numbers: [6557]
6557,85 unequal: No Solution
No 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: 85:[71, 91], Operations: ['7+64=71', '8+83=91']
Exploring Operation: 91-71=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Exploring Operation: 71+91=162, Resulting Numbers: [162]
162,85 unequal: No Solution
Exploring Operation: 71*91=6461, Resulting Numbers: [6461]
6461,85 unequal: No Solution
No 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: 85:[71, 75], Operations: ['7+64=71', '83-8=75']
Exploring Operation: 71+75=146, Resulting Numbers: [146]
146,85 unequal: No Solution
Exploring Operation: 75-71=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 71*75=5325, Resulting Numbers: [5325]
5325,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
52,
13,
38,
94
] | 67 |
[
"52+13=65",
"38+94=132",
"132-65=67"
] |
Current State: 67:[52, 13, 38, 94], Operations: []
Exploring Operation: 52+13=65, Resulting Numbers: [38, 94, 65]
Generated Node #2: [38, 94, 65] from Operation: 52+13=65
Current State: 67:[38, 94, 65], Operations: ['52+13=65']
Exploring Operation: 38+94=132, Resulting Numbers: [65, 132]
Generated Node #3: [65, 132] from Operation: 38+94=132
Current State: 67:[65, 132], Operations: ['52+13=65', '38+94=132']
Exploring Operation: 132-65=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 |
Current State: 67:[52, 13, 38, 94], Operations: []
Exploring Operation: 13+38=51, Resulting Numbers: [52, 94, 51]
Generated Node #0,0: 67:[52, 94, 51] Operation: 13+38=51
Exploring Operation: 52+13=65, Resulting Numbers: [38, 94, 65]
Generated Node #0,1: 67:[38, 94, 65] Operation: 52+13=65
Exploring Operation: 94-13=81, Resulting Numbers: [52, 38, 81]
Generated Node #0,2: 67:[52, 38, 81] Operation: 94-13=81
Exploring Operation: 94-38=56, Resulting Numbers: [52, 13, 56]
Generated Node #0,3: 67:[52, 13, 56] Operation: 94-38=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[52, 94, 51], Operations: ['13+38=51']
Exploring Operation: 94-52=42, Resulting Numbers: [51, 42]
Generated Node #0,0,0: 67:[51, 42] Operation: 94-52=42
Exploring Operation: 52+51=103, Resulting Numbers: [94, 103]
Generated Node #0,0,1: 67:[94, 103] Operation: 52+51=103
Exploring Operation: 94-51=43, Resulting Numbers: [52, 43]
Generated Node #0,0,2: 67:[52, 43] Operation: 94-51=43
Exploring Operation: 52-51=1, Resulting Numbers: [94, 1]
Generated Node #0,0,3: 67:[94, 1] Operation: 52-51=1
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 67:[52, 43], Operations: ['13+38=51', '94-51=43']
Exploring Operation: 52+43=95, Resulting Numbers: [95]
95,67 unequal: No Solution
Exploring Operation: 52*43=2236, Resulting Numbers: [2236]
2236,67 unequal: No Solution
Exploring Operation: 52-43=9, Resulting Numbers: [9]
9,67 unequal: No Solution
No 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: 67:[51, 42], Operations: ['13+38=51', '94-52=42']
Exploring Operation: 51+42=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 51-42=9, Resulting Numbers: [9]
9,67 unequal: No Solution
Exploring Operation: 51*42=2142, Resulting Numbers: [2142]
2142,67 unequal: No Solution
No 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: 67:[94, 103], Operations: ['13+38=51', '52+51=103']
Exploring Operation: 94*103=9682, Resulting Numbers: [9682]
9682,67 unequal: No Solution
Exploring Operation: 103-94=9, Resulting Numbers: [9]
9,67 unequal: No Solution
Exploring Operation: 94+103=197, Resulting Numbers: [197]
197,67 unequal: No Solution
No 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: 67:[94, 1], Operations: ['13+38=51', '52-51=1']
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,67 unequal: No Solution
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,67 unequal: No Solution
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,67 unequal: No Solution
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,67 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: 67:[38, 94, 65], Operations: ['52+13=65']
Exploring Operation: 38+94=132, Resulting Numbers: [65, 132]
Generated Node #0,1,0: 67:[65, 132] Operation: 38+94=132
Exploring Operation: 38+65=103, Resulting Numbers: [94, 103]
Generated Node #0,1,1: 67:[94, 103] Operation: 38+65=103
Exploring Operation: 65-38=27, Resulting Numbers: [94, 27]
Generated Node #0,1,2: 67:[94, 27] Operation: 65-38=27
Exploring Operation: 94-38=56, Resulting Numbers: [65, 56]
Generated Node #0,1,3: 67:[65, 56] Operation: 94-38=56
Moving to Node #0,1,3
Current State: 67:[65, 56], Operations: ['52+13=65', '94-38=56']
Exploring Operation: 65*56=3640, Resulting Numbers: [3640]
3640,67 unequal: No Solution
Exploring Operation: 65-56=9, Resulting Numbers: [9]
9,67 unequal: No Solution
Exploring Operation: 65+56=121, Resulting Numbers: [121]
121,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[94, 103], Operations: ['52+13=65', '38+65=103']
Exploring Operation: 94+103=197, Resulting Numbers: [197]
197,67 unequal: No Solution
Exploring Operation: 94*103=9682, Resulting Numbers: [9682]
9682,67 unequal: No Solution
Exploring Operation: 103-94=9, Resulting Numbers: [9]
9,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[94, 27], Operations: ['52+13=65', '65-38=27']
Exploring Operation: 94-27=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[52, 13, 38, 94], Operations: []
Exploring Operation: 52+13=65, Resulting Numbers: [38, 94, 65]
Generated Node #0,1: 67:[38, 94, 65] Operation: 52+13=65
Moving to Node #0,1
Current State: 67:[38, 94, 65], Operations: ['52+13=65']
Exploring Operation: 65-38=27, Resulting Numbers: [94, 27]
Generated Node #0,1,2: 67:[94, 27] Operation: 65-38=27
Moving to Node #0,1,2
Current State: 67:[94, 27], Operations: ['52+13=65', '65-38=27']
Exploring Operation: 94-27=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 |
hs_4
|
sum_heuristic
|
[
5,
93,
9,
51
] | 27 |
[
"93-9=84",
"51+84=135",
"135/5=27"
] |
Current State: 27:[5, 93, 9, 51], Operations: []
Exploring Operation: 93-9=84, Resulting Numbers: [5, 51, 84]
Generated Node #2: [5, 51, 84] from Operation: 93-9=84
Current State: 27:[5, 51, 84], Operations: ['93-9=84']
Exploring Operation: 51+84=135, Resulting Numbers: [5, 135]
Generated Node #3: [5, 135] from Operation: 51+84=135
Current State: 27:[5, 135], Operations: ['93-9=84', '51+84=135']
Exploring Operation: 135/5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 |
Current State: 27:[5, 93, 9, 51], Operations: []
Exploring Operation: 93-51=42, Resulting Numbers: [5, 9, 42]
Generated Node #0,0: 27:[5, 9, 42] Operation: 93-51=42
Exploring Operation: 51-9=42, Resulting Numbers: [5, 93, 42]
Generated Node #0,1: 27:[5, 93, 42] Operation: 51-9=42
Exploring Operation: 93-5=88, Resulting Numbers: [9, 51, 88]
Generated Node #0,2: 27:[9, 51, 88] Operation: 93-5=88
Exploring Operation: 93-9=84, Resulting Numbers: [5, 51, 84]
Generated Node #0,3: 27:[5, 51, 84] Operation: 93-9=84
Moving to Node #0,0
Current State: 27:[5, 9, 42], Operations: ['93-51=42']
Exploring Operation: 42-9=33, Resulting Numbers: [5, 33]
Generated Node #0,0,0: 27:[5, 33] Operation: 42-9=33
Exploring Operation: 5+9=14, Resulting Numbers: [42, 14]
Generated Node #0,0,1: 27:[42, 14] Operation: 5+9=14
Exploring Operation: 42-5=37, Resulting Numbers: [9, 37]
Generated Node #0,0,2: 27:[9, 37] Operation: 42-5=37
Exploring Operation: 9-5=4, Resulting Numbers: [42, 4]
Generated Node #0,0,3: 27:[42, 4] Operation: 9-5=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[5, 33], Operations: ['93-51=42', '42-9=33']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,27 unequal: No Solution
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 27:[9, 37], Operations: ['93-51=42', '42-5=37']
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Exploring Operation: 9+37=46, Resulting Numbers: [46]
46,27 unequal: No Solution
Exploring Operation: 9*37=333, Resulting Numbers: [333]
333,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 27:[42, 4], Operations: ['93-51=42', '9-5=4']
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,27 unequal: No Solution
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,27 unequal: No Solution
Exploring Operation: 42*4=168, Resulting Numbers: [168]
168,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 27:[42, 14], Operations: ['93-51=42', '5+9=14']
Exploring Operation: 42*14=588, Resulting Numbers: [588]
588,27 unequal: No Solution
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Exploring Operation: 42+14=56, Resulting Numbers: [56]
56,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 27:[5, 51, 84], Operations: ['93-9=84']
Exploring Operation: 84-5=79, Resulting Numbers: [51, 79]
Generated Node #0,3,0: 27:[51, 79] Operation: 84-5=79
Exploring Operation: 5+51=56, Resulting Numbers: [84, 56]
Generated Node #0,3,1: 27:[84, 56] Operation: 5+51=56
Exploring Operation: 51-5=46, Resulting Numbers: [84, 46]
Generated Node #0,3,2: 27:[84, 46] Operation: 51-5=46
Exploring Operation: 84-51=33, Resulting Numbers: [5, 33]
Generated Node #0,3,3: 27:[5, 33] Operation: 84-51=33
Moving to Node #0,1
Current State: 27:[5, 93, 42], Operations: ['51-9=42']
Exploring Operation: 5+93=98, Resulting Numbers: [42, 98]
Generated Node #0,1,0: 27:[42, 98] Operation: 5+93=98
Exploring Operation: 93-5=88, Resulting Numbers: [42, 88]
Generated Node #0,1,1: 27:[42, 88] Operation: 93-5=88
Exploring Operation: 42-5=37, Resulting Numbers: [93, 37]
Generated Node #0,1,2: 27:[93, 37] Operation: 42-5=37
Exploring Operation: 93-42=51, Resulting Numbers: [5, 51]
Generated Node #0,1,3: 27:[5, 51] Operation: 93-42=51
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 27:[5, 51], Operations: ['51-9=42', '93-42=51']
Exploring Operation: 5*51=255, Resulting Numbers: [255]
255,27 unequal: No Solution
Exploring Operation: 5+51=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 27:[42, 88], Operations: ['51-9=42', '93-5=88']
Exploring Operation: 42*88=3696, Resulting Numbers: [3696]
3696,27 unequal: No Solution
Exploring Operation: 88-42=46, Resulting Numbers: [46]
46,27 unequal: No Solution
Exploring Operation: 42+88=130, Resulting Numbers: [130]
130,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 27:[93, 37], Operations: ['51-9=42', '42-5=37']
Exploring Operation: 93-37=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 93+37=130, Resulting Numbers: [130]
130,27 unequal: No Solution
Exploring Operation: 93*37=3441, Resulting Numbers: [3441]
3441,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 27:[42, 98], Operations: ['51-9=42', '5+93=98']
Exploring Operation: 98-42=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 42+98=140, Resulting Numbers: [140]
140,27 unequal: No Solution
Exploring Operation: 42*98=4116, Resulting Numbers: [4116]
4116,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 27:[9, 51, 88], Operations: ['93-5=88']
Exploring Operation: 88-9=79, Resulting Numbers: [51, 79]
Generated Node #0,2,0: 27:[51, 79] Operation: 88-9=79
Exploring Operation: 9+51=60, Resulting Numbers: [88, 60]
Generated Node #0,2,1: 27:[88, 60] Operation: 9+51=60
Exploring Operation: 88-51=37, Resulting Numbers: [9, 37]
Generated Node #0,2,2: 27:[9, 37] Operation: 88-51=37
Exploring Operation: 51-9=42, Resulting Numbers: [88, 42]
Generated Node #0,2,3: 27:[88, 42] Operation: 51-9=42
Moving to Node #0,3,3
Current State: 27:[5, 33], Operations: ['93-9=84', '84-51=33']
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,27 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,27 unequal: No Solution
Moving to Node #0,2,2
Current State: 27:[9, 37], Operations: ['93-5=88', '88-51=37']
Exploring Operation: 9*37=333, Resulting Numbers: [333]
333,27 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Exploring Operation: 9+37=46, Resulting Numbers: [46]
46,27 unequal: No Solution
Moving to Node #0,3,2
Current State: 27:[84, 46], Operations: ['93-9=84', '51-5=46']
Exploring Operation: 84+46=130, Resulting Numbers: [130]
130,27 unequal: No Solution
Exploring Operation: 84*46=3864, Resulting Numbers: [3864]
3864,27 unequal: No Solution
Exploring Operation: 84-46=38, Resulting Numbers: [38]
38,27 unequal: No Solution
Moving to Node #0,2,0
Current State: 27:[51, 79], Operations: ['93-5=88', '88-9=79']
Exploring Operation: 79-51=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Exploring Operation: 51*79=4029, Resulting Numbers: [4029]
4029,27 unequal: No Solution
Exploring Operation: 51+79=130, Resulting Numbers: [130]
130,27 unequal: No Solution
Moving to Node #0,2,3
Current State: 27:[88, 42], Operations: ['93-5=88', '51-9=42']
Exploring Operation: 88+42=130, Resulting Numbers: [130]
130,27 unequal: No Solution
Exploring Operation: 88*42=3696, Resulting Numbers: [3696]
3696,27 unequal: No Solution
Exploring Operation: 88-42=46, Resulting Numbers: [46]
46,27 unequal: No Solution
Moving to Node #0,3,0
Current State: 27:[51, 79], Operations: ['93-9=84', '84-5=79']
Exploring Operation: 51+79=130, Resulting Numbers: [130]
130,27 unequal: No Solution
Exploring Operation: 79-51=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Exploring Operation: 51*79=4029, Resulting Numbers: [4029]
4029,27 unequal: No Solution
Moving to Node #0,3,1
Current State: 27:[84, 56], Operations: ['93-9=84', '5+51=56']
Exploring Operation: 84+56=140, Resulting Numbers: [140]
140,27 unequal: No Solution
Exploring Operation: 84-56=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Exploring Operation: 84*56=4704, Resulting Numbers: [4704]
4704,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[88, 60], Operations: ['93-5=88', '9+51=60']
Exploring Operation: 88-60=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Exploring Operation: 88*60=5280, Resulting Numbers: [5280]
5280,27 unequal: No Solution
Exploring Operation: 88+60=148, Resulting Numbers: [148]
148,27 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
79,
28,
25,
35
] | 59 |
[
"28*25=700",
"700/35=20",
"79-20=59"
] |
Current State: 59:[79, 28, 25, 35], Operations: []
Exploring Operation: 28*25=700, Resulting Numbers: [79, 35, 700]
Generated Node #2: [79, 35, 700] from Operation: 28*25=700
Current State: 59:[79, 35, 700], Operations: ['28*25=700']
Exploring Operation: 700/35=20, Resulting Numbers: [79, 20]
Generated Node #3: [79, 20] from Operation: 700/35=20
Current State: 59:[79, 20], Operations: ['28*25=700', '700/35=20']
Exploring Operation: 79-20=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 |
Current State: 59:[79, 28, 25, 35], Operations: []
Exploring Operation: 28+25=53, Resulting Numbers: [79, 35, 53]
Generated Node #0,0: 59:[79, 35, 53] Operation: 28+25=53
Moving to Node #0,0
Current State: 59:[79, 35, 53], Operations: ['28+25=53']
Exploring Operation: 79-35=44, Resulting Numbers: [53, 44]
Generated Node #0,0,0: 59:[53, 44] Operation: 79-35=44
Moving to Node #0,0,0
Current State: 59:[53, 44], Operations: ['28+25=53', '79-35=44']
Exploring Operation: 53+44=97, Resulting Numbers: [97]
97,59 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
11,
48,
16,
21
] | 77 |
[
"11*16=176",
"21*176=3696",
"3696/48=77"
] |
Current State: 77:[11, 48, 16, 21], Operations: []
Exploring Operation: 11*16=176, Resulting Numbers: [48, 21, 176]
Generated Node #2: [48, 21, 176] from Operation: 11*16=176
Current State: 77:[48, 21, 176], Operations: ['11*16=176']
Exploring Operation: 21*176=3696, Resulting Numbers: [48, 3696]
Generated Node #3: [48, 3696] from Operation: 21*176=3696
Current State: 77:[48, 3696], Operations: ['11*16=176', '21*176=3696']
Exploring Operation: 3696/48=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 |
Current State: 77:[11, 48, 16, 21], Operations: []
Exploring Operation: 48+21=69, Resulting Numbers: [11, 16, 69]
Generated Node #0,0: 77:[11, 16, 69] Operation: 48+21=69
Moving to Node #0,0
Current State: 77:[11, 16, 69], Operations: ['48+21=69']
Exploring Operation: 11+69=80, Resulting Numbers: [16, 80]
Generated Node #0,0,0: 77:[16, 80] Operation: 11+69=80
Moving to Node #0,0,0
Current State: 77:[16, 80], Operations: ['48+21=69', '11+69=80']
Exploring Operation: 80/16=5, Resulting Numbers: [5]
5,77 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
70,
44,
22,
58
] | 23 |
[
"70*22=1540",
"1540/44=35",
"58-35=23"
] |
Current State: 23:[70, 44, 22, 58], Operations: []
Exploring Operation: 70*22=1540, Resulting Numbers: [44, 58, 1540]
Generated Node #2: [44, 58, 1540] from Operation: 70*22=1540
Current State: 23:[44, 58, 1540], Operations: ['70*22=1540']
Exploring Operation: 1540/44=35, Resulting Numbers: [58, 35]
Generated Node #3: [58, 35] from Operation: 1540/44=35
Current State: 23:[58, 35], Operations: ['70*22=1540', '1540/44=35']
Exploring Operation: 58-35=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 |
Current State: 23:[70, 44, 22, 58], Operations: []
Exploring Operation: 70-44=26, Resulting Numbers: [22, 58, 26]
Generated Node #0,0: 23:[22, 58, 26] Operation: 70-44=26
Exploring Operation: 58-22=36, Resulting Numbers: [70, 44, 36]
Generated Node #0,1: 23:[70, 44, 36] Operation: 58-22=36
Exploring Operation: 70-58=12, Resulting Numbers: [44, 22, 12]
Generated Node #0,2: 23:[44, 22, 12] Operation: 70-58=12
Exploring Operation: 70-22=48, Resulting Numbers: [44, 58, 48]
Generated Node #0,3: 23:[44, 58, 48] Operation: 70-22=48
Exploring Operation: 58-44=14, Resulting Numbers: [70, 22, 14]
Generated Node #0,4: 23:[70, 22, 14] Operation: 58-44=14
Moving to Node #0,2
Current State: 23:[44, 22, 12], Operations: ['70-58=12']
Exploring Operation: 44/22=2, Resulting Numbers: [12, 2]
Generated Node #0,2,0: 23:[12, 2] Operation: 44/22=2
Exploring Operation: 22+12=34, Resulting Numbers: [44, 34]
Generated Node #0,2,1: 23:[44, 34] Operation: 22+12=34
Exploring Operation: 44-22=22, Resulting Numbers: [12, 22]
Generated Node #0,2,2: 23:[12, 22] Operation: 44-22=22
Exploring Operation: 44-12=32, Resulting Numbers: [22, 32]
Generated Node #0,2,3: 23:[22, 32] Operation: 44-12=32
Exploring Operation: 44+12=56, Resulting Numbers: [22, 56]
Generated Node #0,2,4: 23:[22, 56] Operation: 44+12=56
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 23:[22, 32], Operations: ['70-58=12', '44-12=32']
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Exploring Operation: 22+32=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Exploring Operation: 22*32=704, Resulting Numbers: [704]
704,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,2,2
Current State: 23:[12, 22], Operations: ['70-58=12', '44-22=22']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Exploring Operation: 12*22=264, Resulting Numbers: [264]
264,23 unequal: No Solution
Exploring Operation: 12+22=34, Resulting Numbers: [34]
34,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,2,0
Current State: 23:[12, 2], Operations: ['70-58=12', '44/22=2']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,23 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,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,2,1
Current State: 23:[44, 34], Operations: ['70-58=12', '22+12=34']
Exploring Operation: 44*34=1496, Resulting Numbers: [1496]
1496,23 unequal: No Solution
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Exploring Operation: 44+34=78, Resulting Numbers: [78]
78,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,2,4
Current State: 23:[22, 56], Operations: ['70-58=12', '44+12=56']
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 22+56=78, Resulting Numbers: [78]
78,23 unequal: No Solution
Exploring Operation: 22*56=1232, Resulting Numbers: [1232]
1232,23 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: 23:[22, 58, 26], Operations: ['70-44=26']
Exploring Operation: 22+26=48, Resulting Numbers: [58, 48]
Generated Node #0,0,0: 23:[58, 48] Operation: 22+26=48
Exploring Operation: 22+58=80, Resulting Numbers: [26, 80]
Generated Node #0,0,1: 23:[26, 80] Operation: 22+58=80
Exploring Operation: 58-26=32, Resulting Numbers: [22, 32]
Generated Node #0,0,2: 23:[22, 32] Operation: 58-26=32
Exploring Operation: 58-22=36, Resulting Numbers: [26, 36]
Generated Node #0,0,3: 23:[26, 36] Operation: 58-22=36
Exploring Operation: 26-22=4, Resulting Numbers: [58, 4]
Generated Node #0,0,4: 23:[58, 4] Operation: 26-22=4
Moving to Node #0,4
Current State: 23:[70, 22, 14], Operations: ['58-44=14']
Exploring Operation: 70/14=5, Resulting Numbers: [22, 5]
Generated Node #0,4,0: 23:[22, 5] Operation: 70/14=5
Exploring Operation: 70-14=56, Resulting Numbers: [22, 56]
Generated Node #0,4,1: 23:[22, 56] Operation: 70-14=56
Exploring Operation: 70-22=48, Resulting Numbers: [14, 48]
Generated Node #0,4,2: 23:[14, 48] Operation: 70-22=48
Exploring Operation: 70+14=84, Resulting Numbers: [22, 84]
Generated Node #0,4,3: 23:[22, 84] Operation: 70+14=84
Exploring Operation: 22+14=36, Resulting Numbers: [70, 36]
Generated Node #0,4,4: 23:[70, 36] Operation: 22+14=36
Moving to Node #0,1
Current State: 23:[70, 44, 36], Operations: ['58-22=36']
Exploring Operation: 70-36=34, Resulting Numbers: [44, 34]
Generated Node #0,1,0: 23:[44, 34] Operation: 70-36=34
Exploring Operation: 70+36=106, Resulting Numbers: [44, 106]
Generated Node #0,1,1: 23:[44, 106] Operation: 70+36=106
Exploring Operation: 70+44=114, Resulting Numbers: [36, 114]
Generated Node #0,1,2: 23:[36, 114] Operation: 70+44=114
Exploring Operation: 44-36=8, Resulting Numbers: [70, 8]
Generated Node #0,1,3: 23:[70, 8] Operation: 44-36=8
Exploring Operation: 70-44=26, Resulting Numbers: [36, 26]
Generated Node #0,1,4: 23:[36, 26] Operation: 70-44=26
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 23:[36, 26], Operations: ['58-22=36', '70-44=26']
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Exploring Operation: 36+26=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 36*26=936, Resulting Numbers: [936]
936,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,0
Current State: 23:[44, 34], Operations: ['58-22=36', '70-36=34']
Exploring Operation: 44*34=1496, Resulting Numbers: [1496]
1496,23 unequal: No Solution
Exploring Operation: 44+34=78, Resulting Numbers: [78]
78,23 unequal: No Solution
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,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,3
Current State: 23:[70, 8], Operations: ['58-22=36', '44-36=8']
Exploring Operation: 70-8=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 70*8=560, Resulting Numbers: [560]
560,23 unequal: No Solution
Exploring Operation: 70+8=78, Resulting Numbers: [78]
78,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,1
Current State: 23:[44, 106], Operations: ['58-22=36', '70+36=106']
Exploring Operation: 106-44=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 44+106=150, Resulting Numbers: [150]
150,23 unequal: No Solution
Exploring Operation: 44*106=4664, Resulting Numbers: [4664]
4664,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,2
Current State: 23:[36, 114], Operations: ['58-22=36', '70+44=114']
Exploring Operation: 114-36=78, Resulting Numbers: [78]
78,23 unequal: No Solution
Exploring Operation: 36+114=150, Resulting Numbers: [150]
150,23 unequal: No Solution
Exploring Operation: 36*114=4104, Resulting Numbers: [4104]
4104,23 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: 23:[44, 58, 48], Operations: ['70-22=48']
Exploring Operation: 58-44=14, Resulting Numbers: [48, 14]
Generated Node #0,3,0: 23:[48, 14] Operation: 58-44=14
Exploring Operation: 44+58=102, Resulting Numbers: [48, 102]
Generated Node #0,3,1: 23:[48, 102] Operation: 44+58=102
Exploring Operation: 48-44=4, Resulting Numbers: [58, 4]
Generated Node #0,3,2: 23:[58, 4] Operation: 48-44=4
Exploring Operation: 44+48=92, Resulting Numbers: [58, 92]
Generated Node #0,3,3: 23:[58, 92] Operation: 44+48=92
Exploring Operation: 58-48=10, Resulting Numbers: [44, 10]
Generated Node #0,3,4: 23:[44, 10] Operation: 58-48=10
Moving to Node #0,0,2
Current State: 23:[22, 32], Operations: ['70-44=26', '58-26=32']
Exploring Operation: 22*32=704, Resulting Numbers: [704]
704,23 unequal: No Solution
Exploring Operation: 22+32=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Moving to Node #0,0,3
Current State: 23:[26, 36], Operations: ['70-44=26', '58-22=36']
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Exploring Operation: 26*36=936, Resulting Numbers: [936]
936,23 unequal: No Solution
Exploring Operation: 26+36=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Moving to Node #0,4,0
Current State: 23:[22, 5], Operations: ['58-44=14', '70/14=5']
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 22*5=110, Resulting Numbers: [110]
110,23 unequal: No Solution
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Moving to Node #0,4,1
Current State: 23:[22, 56], Operations: ['58-44=14', '70-14=56']
Exploring Operation: 22*56=1232, Resulting Numbers: [1232]
1232,23 unequal: No Solution
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 22+56=78, Resulting Numbers: [78]
78,23 unequal: No Solution
Moving to Node #0,3,4
Current State: 23:[44, 10], Operations: ['70-22=48', '58-48=10']
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,23 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Moving to Node #0,3,0
Current State: 23:[48, 14], Operations: ['70-22=48', '58-44=14']
Exploring Operation: 48*14=672, Resulting Numbers: [672]
672,23 unequal: No Solution
Exploring Operation: 48+14=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Moving to Node #0,4,2
Current State: 23:[14, 48], Operations: ['58-44=14', '70-22=48']
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 14*48=672, Resulting Numbers: [672]
672,23 unequal: No Solution
Exploring Operation: 14+48=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Moving to Node #0,0,4
Current State: 23:[58, 4], Operations: ['70-44=26', '26-22=4']
Exploring Operation: 58+4=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Exploring Operation: 58*4=232, Resulting Numbers: [232]
232,23 unequal: No Solution
Moving to Node #0,3,2
Current State: 23:[58, 4], Operations: ['70-22=48', '48-44=4']
Exploring Operation: 58*4=232, Resulting Numbers: [232]
232,23 unequal: No Solution
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Exploring Operation: 58+4=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[58, 48], Operations: ['70-44=26', '22+26=48']
Exploring Operation: 58*48=2784, Resulting Numbers: [2784]
2784,23 unequal: No Solution
Exploring Operation: 58+48=106, Resulting Numbers: [106]
106,23 unequal: No Solution
Exploring Operation: 58-48=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[26, 80], Operations: ['70-44=26', '22+58=80']
Exploring Operation: 80-26=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Exploring Operation: 26+80=106, Resulting Numbers: [106]
106,23 unequal: No Solution
Exploring Operation: 26*80=2080, Resulting Numbers: [2080]
2080,23 unequal: No Solution
Moving to Node #0,4,4
Current State: 23:[70, 36], Operations: ['58-44=14', '22+14=36']
Exploring Operation: 70*36=2520, Resulting Numbers: [2520]
2520,23 unequal: No Solution
Exploring Operation: 70+36=106, Resulting Numbers: [106]
106,23 unequal: No Solution
Exploring Operation: 70-36=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Moving to Node #0,4,3
Current State: 23:[22, 84], Operations: ['58-44=14', '70+14=84']
Exploring Operation: 22+84=106, Resulting Numbers: [106]
106,23 unequal: No Solution
Exploring Operation: 84-22=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 22*84=1848, Resulting Numbers: [1848]
1848,23 unequal: No Solution
Moving to Node #0,3,1
Current State: 23:[48, 102], Operations: ['70-22=48', '44+58=102']
Exploring Operation: 48*102=4896, Resulting Numbers: [4896]
4896,23 unequal: No Solution
Exploring Operation: 48+102=150, Resulting Numbers: [150]
150,23 unequal: No Solution
Exploring Operation: 102-48=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Moving to Node #0,3,3
Current State: 23:[58, 92], Operations: ['70-22=48', '44+48=92']
Exploring Operation: 58*92=5336, Resulting Numbers: [5336]
5336,23 unequal: No Solution
Exploring Operation: 58+92=150, Resulting Numbers: [150]
150,23 unequal: No Solution
Exploring Operation: 92-58=34, Resulting Numbers: [34]
34,23 unequal: No Solution
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
87,
23,
3,
81
] | 75 |
[
"87/3=29",
"23+81=104",
"104-29=75"
] |
Current State: 75:[87, 23, 3, 81], Operations: []
Exploring Operation: 87/3=29, Resulting Numbers: [23, 81, 29]
Generated Node #2: [23, 81, 29] from Operation: 87/3=29
Current State: 75:[23, 81, 29], Operations: ['87/3=29']
Exploring Operation: 23+81=104, Resulting Numbers: [29, 104]
Generated Node #3: [29, 104] from Operation: 23+81=104
Current State: 75:[29, 104], Operations: ['87/3=29', '23+81=104']
Exploring Operation: 104-29=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 |
Current State: 75:[87, 23, 3, 81], Operations: []
Exploring Operation: 87/3=29, Resulting Numbers: [23, 81, 29]
Generated Node #0,0: 75:[23, 81, 29] Operation: 87/3=29
Exploring Operation: 81/3=27, Resulting Numbers: [87, 23, 27]
Generated Node #0,1: 75:[87, 23, 27] Operation: 81/3=27
Exploring Operation: 87-23=64, Resulting Numbers: [3, 81, 64]
Generated Node #0,2: 75:[3, 81, 64] Operation: 87-23=64
Exploring Operation: 87-81=6, Resulting Numbers: [23, 3, 6]
Generated Node #0,3: 75:[23, 3, 6] Operation: 87-81=6
Moving to Node #0,3
Current State: 75:[23, 3, 6], Operations: ['87-81=6']
Exploring Operation: 23+3=26, Resulting Numbers: [6, 26]
Generated Node #0,3,0: 75:[6, 26] Operation: 23+3=26
Exploring Operation: 6/3=2, Resulting Numbers: [23, 2]
Generated Node #0,3,1: 75:[23, 2] Operation: 6/3=2
Exploring Operation: 23-6=17, Resulting Numbers: [3, 17]
Generated Node #0,3,2: 75:[3, 17] Operation: 23-6=17
Exploring Operation: 6-3=3, Resulting Numbers: [23, 3]
Generated Node #0,3,3: 75:[23, 3] Operation: 6-3=3
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 75:[6, 26], Operations: ['87-81=6', '23+3=26']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 6*26=156, Resulting Numbers: [156]
156,75 unequal: No Solution
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 75:[3, 17], Operations: ['87-81=6', '23-6=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 75:[23, 3], Operations: ['87-81=6', '6-3=3']
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 75:[23, 2], Operations: ['87-81=6', '6/3=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,75 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 75:[23, 81, 29], Operations: ['87/3=29']
Exploring Operation: 81-29=52, Resulting Numbers: [23, 52]
Generated Node #0,0,0: 75:[23, 52] Operation: 81-29=52
Exploring Operation: 29-23=6, Resulting Numbers: [81, 6]
Generated Node #0,0,1: 75:[81, 6] Operation: 29-23=6
Exploring Operation: 23+29=52, Resulting Numbers: [81, 52]
Generated Node #0,0,2: 75:[81, 52] Operation: 23+29=52
Exploring Operation: 81-23=58, Resulting Numbers: [29, 58]
Generated Node #0,0,3: 75:[29, 58] Operation: 81-23=58
Moving to Node #0,1
Current State: 75:[87, 23, 27], Operations: ['81/3=27']
Exploring Operation: 87-27=60, Resulting Numbers: [23, 60]
Generated Node #0,1,0: 75:[23, 60] Operation: 87-27=60
Exploring Operation: 87-23=64, Resulting Numbers: [27, 64]
Generated Node #0,1,1: 75:[27, 64] Operation: 87-23=64
Exploring Operation: 27-23=4, Resulting Numbers: [87, 4]
Generated Node #0,1,2: 75:[87, 4] Operation: 27-23=4
Exploring Operation: 87+23=110, Resulting Numbers: [27, 110]
Generated Node #0,1,3: 75:[27, 110] Operation: 87+23=110
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[27, 64], Operations: ['81/3=27', '87-23=64']
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,75 unequal: No Solution
Exploring Operation: 27+64=91, Resulting Numbers: [91]
91,75 unequal: No Solution
Exploring Operation: 27*64=1728, Resulting Numbers: [1728]
1728,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 75:[87, 4], Operations: ['81/3=27', '27-23=4']
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,75 unequal: No Solution
Exploring Operation: 87+4=91, Resulting Numbers: [91]
91,75 unequal: No Solution
Exploring Operation: 87*4=348, Resulting Numbers: [348]
348,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[23, 60], Operations: ['81/3=27', '87-27=60']
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,75 unequal: No Solution
Exploring Operation: 23+60=83, Resulting Numbers: [83]
83,75 unequal: No Solution
Exploring Operation: 23*60=1380, Resulting Numbers: [1380]
1380,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 75:[27, 110], Operations: ['81/3=27', '87+23=110']
Exploring Operation: 27+110=137, Resulting Numbers: [137]
137,75 unequal: No Solution
Exploring Operation: 110-27=83, Resulting Numbers: [83]
83,75 unequal: No Solution
Exploring Operation: 27*110=2970, Resulting Numbers: [2970]
2970,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 75:[3, 81, 64], Operations: ['87-23=64']
Exploring Operation: 3+64=67, Resulting Numbers: [81, 67]
Generated Node #0,2,0: 75:[81, 67] Operation: 3+64=67
Exploring Operation: 81/3=27, Resulting Numbers: [64, 27]
Generated Node #0,2,1: 75:[64, 27] Operation: 81/3=27
Exploring Operation: 81-64=17, Resulting Numbers: [3, 17]
Generated Node #0,2,2: 75:[3, 17] Operation: 81-64=17
Exploring Operation: 81-3=78, Resulting Numbers: [64, 78]
Generated Node #0,2,3: 75:[64, 78] Operation: 81-3=78
Moving to Node #0,2,2
Current State: 75:[3, 17], Operations: ['87-23=64', '81-64=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[81, 6], Operations: ['87/3=29', '29-23=6']
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[87, 23, 3, 81], Operations: []
Exploring Operation: 87/3=29, Resulting Numbers: [23, 81, 29]
Generated Node #0,0: 75:[23, 81, 29] Operation: 87/3=29
Moving to Node #0,0
Current State: 75:[23, 81, 29], Operations: ['87/3=29']
Exploring Operation: 29-23=6, Resulting Numbers: [81, 6]
Generated Node #0,0,1: 75:[81, 6] Operation: 29-23=6
Moving to Node #0,0,1
Current State: 75:[81, 6], Operations: ['87/3=29', '29-23=6']
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 0.954861 |
hs_4
|
mult_heuristic
|
[
74,
97,
12,
73
] | 72 |
[
"97-73=24",
"24/12=2",
"74-2=72"
] |
Current State: 72:[74, 97, 12, 73], Operations: []
Exploring Operation: 97-73=24, Resulting Numbers: [74, 12, 24]
Generated Node #2: [74, 12, 24] from Operation: 97-73=24
Current State: 72:[74, 12, 24], Operations: ['97-73=24']
Exploring Operation: 24/12=2, Resulting Numbers: [74, 2]
Generated Node #3: [74, 2] from Operation: 24/12=2
Current State: 72:[74, 2], Operations: ['97-73=24', '24/12=2']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 |
Current State: 72:[74, 97, 12, 73], Operations: []
Exploring Operation: 97-12=85, Resulting Numbers: [74, 73, 85]
Generated Node #0,0: 72:[74, 73, 85] Operation: 97-12=85
Exploring Operation: 97-74=23, Resulting Numbers: [12, 73, 23]
Generated Node #0,1: 72:[12, 73, 23] Operation: 97-74=23
Exploring Operation: 74-73=1, Resulting Numbers: [97, 12, 1]
Generated Node #0,2: 72:[97, 12, 1] Operation: 74-73=1
Exploring Operation: 97-73=24, Resulting Numbers: [74, 12, 24]
Generated Node #0,3: 72:[74, 12, 24] Operation: 97-73=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[12, 73, 23], Operations: ['97-74=23']
Exploring Operation: 12+23=35, Resulting Numbers: [73, 35]
Generated Node #0,1,0: 72:[73, 35] Operation: 12+23=35
Exploring Operation: 23-12=11, Resulting Numbers: [73, 11]
Generated Node #0,1,1: 72:[73, 11] Operation: 23-12=11
Exploring Operation: 73-12=61, Resulting Numbers: [23, 61]
Generated Node #0,1,2: 72:[23, 61] Operation: 73-12=61
Exploring Operation: 12+73=85, Resulting Numbers: [23, 85]
Generated Node #0,1,3: 72:[23, 85] Operation: 12+73=85
Moving to Node #0,1,0
Current State: 72:[73, 35], Operations: ['97-74=23', '12+23=35']
Exploring Operation: 73*35=2555, Resulting Numbers: [2555]
2555,72 unequal: No Solution
Exploring Operation: 73-35=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 73+35=108, Resulting Numbers: [108]
108,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[73, 11], Operations: ['97-74=23', '23-12=11']
Exploring Operation: 73+11=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 73-11=62, Resulting Numbers: [62]
62,72 unequal: No Solution
Exploring Operation: 73*11=803, Resulting Numbers: [803]
803,72 unequal: No Solution
Moving to Node #0,1,2
Current State: 72:[23, 61], Operations: ['97-74=23', '73-12=61']
Exploring Operation: 61-23=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 23+61=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 23*61=1403, Resulting Numbers: [1403]
1403,72 unequal: No Solution
Moving to Node #0,1,3
Current State: 72:[23, 85], Operations: ['97-74=23', '12+73=85']
Exploring Operation: 23*85=1955, Resulting Numbers: [1955]
1955,72 unequal: No Solution
Exploring Operation: 85-23=62, Resulting Numbers: [62]
62,72 unequal: No Solution
Exploring Operation: 23+85=108, Resulting Numbers: [108]
108,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,3
Current State: 72:[74, 12, 24], Operations: ['97-73=24']
Exploring Operation: 12+24=36, Resulting Numbers: [74, 36]
Generated Node #0,3,0: 72:[74, 36] Operation: 12+24=36
Exploring Operation: 74-12=62, Resulting Numbers: [24, 62]
Generated Node #0,3,1: 72:[24, 62] Operation: 74-12=62
Exploring Operation: 24-12=12, Resulting Numbers: [74, 12]
Generated Node #0,3,2: 72:[74, 12] Operation: 24-12=12
Exploring Operation: 24/12=2, Resulting Numbers: [74, 2]
Generated Node #0,3,3: 72:[74, 2] Operation: 24/12=2
Moving to Node #0,3,0
Current State: 72:[74, 36], Operations: ['97-73=24', '12+24=36']
Exploring Operation: 74-36=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 74*36=2664, Resulting Numbers: [2664]
2664,72 unequal: No Solution
Exploring Operation: 74+36=110, Resulting Numbers: [110]
110,72 unequal: No Solution
Moving to Node #0,3,3
Current State: 72:[74, 2], Operations: ['97-73=24', '24/12=2']
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,72 unequal: No Solution
Exploring Operation: 74*2=148, Resulting Numbers: [148]
148,72 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[74, 97, 12, 73], Operations: []
Exploring Operation: 97-73=24, Resulting Numbers: [74, 12, 24]
Generated Node #0,3: 72:[74, 12, 24] Operation: 97-73=24
Moving to Node #0,3
Current State: 72:[74, 12, 24], Operations: ['97-73=24']
Exploring Operation: 24/12=2, Resulting Numbers: [74, 2]
Generated Node #0,3,3: 72:[74, 2] Operation: 24/12=2
Moving to Node #0,3,3
Current State: 72:[74, 2], Operations: ['97-73=24', '24/12=2']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 |
hs_4
|
mult_heuristic
|
[
53,
38,
3,
56
] | 74 |
[
"53-38=15",
"3+56=59",
"15+59=74"
] |
Current State: 74:[53, 38, 3, 56], Operations: []
Exploring Operation: 53-38=15, Resulting Numbers: [3, 56, 15]
Generated Node #2: [3, 56, 15] from Operation: 53-38=15
Current State: 74:[3, 56, 15], Operations: ['53-38=15']
Exploring Operation: 3+56=59, Resulting Numbers: [15, 59]
Generated Node #3: [15, 59] from Operation: 3+56=59
Current State: 74:[15, 59], Operations: ['53-38=15', '3+56=59']
Exploring Operation: 15+59=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 |
Current State: 74:[53, 38, 3, 56], Operations: []
Exploring Operation: 53-3=50, Resulting Numbers: [38, 56, 50]
Generated Node #0,0: 74:[38, 56, 50] Operation: 53-3=50
Exploring Operation: 53-38=15, Resulting Numbers: [3, 56, 15]
Generated Node #0,1: 74:[3, 56, 15] Operation: 53-38=15
Exploring Operation: 3+56=59, Resulting Numbers: [53, 38, 59]
Generated Node #0,2: 74:[53, 38, 59] Operation: 3+56=59
Exploring Operation: 56-53=3, Resulting Numbers: [38, 3, 3]
Generated Node #0,3: 74:[38, 3, 3] Operation: 56-53=3
Moving to Node #0,3
Current State: 74:[38, 3, 3], Operations: ['56-53=3']
Exploring Operation: 38-3=35, Resulting Numbers: [3, 35]
Generated Node #0,3,0: 74:[3, 35] Operation: 38-3=35
Exploring Operation: 3-3=0, Resulting Numbers: [38, 0]
Generated Node #0,3,1: 74:[38, 0] Operation: 3-3=0
Exploring Operation: 38-3=35, Resulting Numbers: [3, 35]
Generated Node #0,3,2: 74:[3, 35] Operation: 38-3=35
Exploring Operation: 3/3=1, Resulting Numbers: [38, 1]
Generated Node #0,3,3: 74:[38, 1] Operation: 3/3=1
Moving to Node #0,1
Current State: 74:[3, 56, 15], Operations: ['53-38=15']
Exploring Operation: 56+15=71, Resulting Numbers: [3, 71]
Generated Node #0,1,0: 74:[3, 71] Operation: 56+15=71
Exploring Operation: 56-15=41, Resulting Numbers: [3, 41]
Generated Node #0,1,1: 74:[3, 41] Operation: 56-15=41
Exploring Operation: 3*15=45, Resulting Numbers: [56, 45]
Generated Node #0,1,2: 74:[56, 45] Operation: 3*15=45
Exploring Operation: 15/3=5, Resulting Numbers: [56, 5]
Generated Node #0,1,3: 74:[56, 5] Operation: 15/3=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 74:[3, 71], Operations: ['53-38=15', '56+15=71']
Exploring Operation: 3*71=213, Resulting Numbers: [213]
213,74 unequal: No Solution
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,74 unequal: No Solution
Exploring Operation: 3+71=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[53, 38, 3, 56], Operations: []
Exploring Operation: 53-38=15, Resulting Numbers: [3, 56, 15]
Generated Node #0,1: 74:[3, 56, 15] Operation: 53-38=15
Moving to Node #0,1
Current State: 74:[3, 56, 15], Operations: ['53-38=15']
Exploring Operation: 56+15=71, Resulting Numbers: [3, 71]
Generated Node #0,1,0: 74:[3, 71] Operation: 56+15=71
Moving to Node #0,1,0
Current State: 74:[3, 71], Operations: ['53-38=15', '56+15=71']
Exploring Operation: 3+71=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 |
hs_4
|
sum_heuristic
|
[
83,
56,
78,
51
] | 25 |
[
"83-78=5",
"56-51=5",
"5*5=25"
] |
Current State: 25:[83, 56, 78, 51], Operations: []
Exploring Operation: 83-78=5, Resulting Numbers: [56, 51, 5]
Generated Node #2: [56, 51, 5] from Operation: 83-78=5
Current State: 25:[56, 51, 5], Operations: ['83-78=5']
Exploring Operation: 56-51=5, Resulting Numbers: [5, 5]
Generated Node #3: [5, 5] from Operation: 56-51=5
Current State: 25:[5, 5], Operations: ['83-78=5', '56-51=5']
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[83, 56, 78, 51], Operations: []
Exploring Operation: 83-78=5, Resulting Numbers: [56, 51, 5]
Generated Node #0,0: 25:[56, 51, 5] Operation: 83-78=5
Exploring Operation: 83-56=27, Resulting Numbers: [78, 51, 27]
Generated Node #0,1: 25:[78, 51, 27] Operation: 83-56=27
Exploring Operation: 78-56=22, Resulting Numbers: [83, 51, 22]
Generated Node #0,2: 25:[83, 51, 22] Operation: 78-56=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[56, 51, 5], Operations: ['83-78=5']
Exploring Operation: 56-5=51, Resulting Numbers: [51, 51]
Generated Node #0,0,0: 25:[51, 51] Operation: 56-5=51
Exploring Operation: 51-5=46, Resulting Numbers: [56, 46]
Generated Node #0,0,1: 25:[56, 46] Operation: 51-5=46
Exploring Operation: 56-51=5, Resulting Numbers: [5, 5]
Generated Node #0,0,2: 25:[5, 5] Operation: 56-51=5
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 25:[5, 5], Operations: ['83-78=5', '56-51=5']
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[83, 56, 78, 51], Operations: []
Exploring Operation: 83-78=5, Resulting Numbers: [56, 51, 5]
Generated Node #0,0: 25:[56, 51, 5] Operation: 83-78=5
Moving to Node #0,0
Current State: 25:[56, 51, 5], Operations: ['83-78=5']
Exploring Operation: 56-51=5, Resulting Numbers: [5, 5]
Generated Node #0,0,2: 25:[5, 5] Operation: 56-51=5
Moving to Node #0,0,2
Current State: 25:[5, 5], Operations: ['83-78=5', '56-51=5']
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 |
hs_3
|
mult_heuristic
|
[
98,
30,
16,
8
] | 19 |
[
"98*8=784",
"784/16=49",
"49-30=19"
] |
Current State: 19:[98, 30, 16, 8], Operations: []
Exploring Operation: 98*8=784, Resulting Numbers: [30, 16, 784]
Generated Node #2: [30, 16, 784] from Operation: 98*8=784
Current State: 19:[30, 16, 784], Operations: ['98*8=784']
Exploring Operation: 784/16=49, Resulting Numbers: [30, 49]
Generated Node #3: [30, 49] from Operation: 784/16=49
Current State: 19:[30, 49], Operations: ['98*8=784', '784/16=49']
Exploring Operation: 49-30=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 |
Current State: 19:[98, 30, 16, 8], Operations: []
Exploring Operation: 98-30=68, Resulting Numbers: [16, 8, 68]
Generated Node #0,0: 19:[16, 8, 68] Operation: 98-30=68
Exploring Operation: 98-16=82, Resulting Numbers: [30, 8, 82]
Generated Node #0,1: 19:[30, 8, 82] Operation: 98-16=82
Exploring Operation: 98-8=90, Resulting Numbers: [30, 16, 90]
Generated Node #0,2: 19:[30, 16, 90] Operation: 98-8=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[16, 8, 68], Operations: ['98-30=68']
Exploring Operation: 68-8=60, Resulting Numbers: [16, 60]
Generated Node #0,0,0: 19:[16, 60] Operation: 68-8=60
Exploring Operation: 68-16=52, Resulting Numbers: [8, 52]
Generated Node #0,0,1: 19:[8, 52] Operation: 68-16=52
Exploring Operation: 16+8=24, Resulting Numbers: [68, 24]
Generated Node #0,0,2: 19:[68, 24] Operation: 16+8=24
Moving to Node #0,0,0
Current State: 19:[16, 60], Operations: ['98-30=68', '68-8=60']
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 16+60=76, Resulting Numbers: [76]
76,19 unequal: No Solution
Exploring Operation: 16*60=960, Resulting Numbers: [960]
960,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[8, 52], Operations: ['98-30=68', '68-16=52']
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 8*52=416, Resulting Numbers: [416]
416,19 unequal: No Solution
Exploring Operation: 8+52=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[68, 24], Operations: ['98-30=68', '16+8=24']
Exploring Operation: 68-24=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 68*24=1632, Resulting Numbers: [1632]
1632,19 unequal: No Solution
Exploring Operation: 68+24=92, Resulting Numbers: [92]
92,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,1
Current State: 19:[30, 8, 82], Operations: ['98-16=82']
Exploring Operation: 82-30=52, Resulting Numbers: [8, 52]
Generated Node #0,1,0: 19:[8, 52] Operation: 82-30=52
Exploring Operation: 30-8=22, Resulting Numbers: [82, 22]
Generated Node #0,1,1: 19:[82, 22] Operation: 30-8=22
Exploring Operation: 82-8=74, Resulting Numbers: [30, 74]
Generated Node #0,1,2: 19:[30, 74] Operation: 82-8=74
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 19:[8, 52], Operations: ['98-16=82', '82-30=52']
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 8*52=416, Resulting Numbers: [416]
416,19 unequal: No Solution
Exploring Operation: 8+52=60, Resulting Numbers: [60]
60,19 unequal: No Solution
No 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: 19:[82, 22], Operations: ['98-16=82', '30-8=22']
Exploring Operation: 82*22=1804, Resulting Numbers: [1804]
1804,19 unequal: No Solution
Exploring Operation: 82+22=104, Resulting Numbers: [104]
104,19 unequal: No Solution
Exploring Operation: 82-22=60, Resulting Numbers: [60]
60,19 unequal: No Solution
No 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: 19:[30, 74], Operations: ['98-16=82', '82-8=74']
Exploring Operation: 30*74=2220, Resulting Numbers: [2220]
2220,19 unequal: No Solution
Exploring Operation: 30+74=104, Resulting Numbers: [104]
104,19 unequal: No Solution
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,19 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: 19:[30, 16, 90], Operations: ['98-8=90']
Exploring Operation: 90-16=74, Resulting Numbers: [30, 74]
Generated Node #0,2,0: 19:[30, 74] Operation: 90-16=74
Exploring Operation: 90/30=3, Resulting Numbers: [16, 3]
Generated Node #0,2,1: 19:[16, 3] Operation: 90/30=3
Exploring Operation: 90-30=60, Resulting Numbers: [16, 60]
Generated Node #0,2,2: 19:[16, 60] Operation: 90-30=60
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 19:[16, 3], Operations: ['98-8=90', '90/30=3']
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[98, 30, 16, 8], Operations: []
Exploring Operation: 98-8=90, Resulting Numbers: [30, 16, 90]
Generated Node #0,2: 19:[30, 16, 90] Operation: 98-8=90
Moving to Node #0,2
Current State: 19:[30, 16, 90], Operations: ['98-8=90']
Exploring Operation: 90/30=3, Resulting Numbers: [16, 3]
Generated Node #0,2,1: 19:[16, 3] Operation: 90/30=3
Moving to Node #0,2,1
Current State: 19:[16, 3], Operations: ['98-8=90', '90/30=3']
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 |
hs_3
|
mult_heuristic
|
[
80,
90,
79,
78
] | 22 |
[
"80-78=2",
"90-79=11",
"2*11=22"
] |
Current State: 22:[80, 90, 79, 78], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [90, 79, 2]
Generated Node #2: [90, 79, 2] from Operation: 80-78=2
Current State: 22:[90, 79, 2], Operations: ['80-78=2']
Exploring Operation: 90-79=11, Resulting Numbers: [2, 11]
Generated Node #3: [2, 11] from Operation: 90-79=11
Current State: 22:[2, 11], Operations: ['80-78=2', '90-79=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 |
Current State: 22:[80, 90, 79, 78], Operations: []
Exploring Operation: 90-78=12, Resulting Numbers: [80, 79, 12]
Generated Node #0,0: 22:[80, 79, 12] Operation: 90-78=12
Exploring Operation: 90-79=11, Resulting Numbers: [80, 78, 11]
Generated Node #0,1: 22:[80, 78, 11] Operation: 90-79=11
Exploring Operation: 90-80=10, Resulting Numbers: [79, 78, 10]
Generated Node #0,2: 22:[79, 78, 10] Operation: 90-80=10
Exploring Operation: 80-79=1, Resulting Numbers: [90, 78, 1]
Generated Node #0,3: 22:[90, 78, 1] Operation: 80-79=1
Moving to Node #0,1
Current State: 22:[80, 78, 11], Operations: ['90-79=11']
Exploring Operation: 78-11=67, Resulting Numbers: [80, 67]
Generated Node #0,1,0: 22:[80, 67] Operation: 78-11=67
Exploring Operation: 80-78=2, Resulting Numbers: [11, 2]
Generated Node #0,1,1: 22:[11, 2] Operation: 80-78=2
Exploring Operation: 80-11=69, Resulting Numbers: [78, 69]
Generated Node #0,1,2: 22:[78, 69] Operation: 80-11=69
Exploring Operation: 80+11=91, Resulting Numbers: [78, 91]
Generated Node #0,1,3: 22:[78, 91] Operation: 80+11=91
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 22:[11, 2], Operations: ['90-79=11', '80-78=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[80, 90, 79, 78], Operations: []
Exploring Operation: 90-79=11, Resulting Numbers: [80, 78, 11]
Generated Node #0,1: 22:[80, 78, 11] Operation: 90-79=11
Moving to Node #0,1
Current State: 22:[80, 78, 11], Operations: ['90-79=11']
Exploring Operation: 80-78=2, Resulting Numbers: [11, 2]
Generated Node #0,1,1: 22:[11, 2] Operation: 80-78=2
Moving to Node #0,1,1
Current State: 22:[11, 2], Operations: ['90-79=11', '80-78=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 |
hs_4
|
mult_heuristic
|
[
77,
98,
33,
29
] | 91 |
[
"77*33=2541",
"98+2541=2639",
"2639/29=91"
] |
Current State: 91:[77, 98, 33, 29], Operations: []
Exploring Operation: 77*33=2541, Resulting Numbers: [98, 29, 2541]
Generated Node #2: [98, 29, 2541] from Operation: 77*33=2541
Current State: 91:[98, 29, 2541], Operations: ['77*33=2541']
Exploring Operation: 98+2541=2639, Resulting Numbers: [29, 2639]
Generated Node #3: [29, 2639] from Operation: 98+2541=2639
Current State: 91:[29, 2639], Operations: ['77*33=2541', '98+2541=2639']
Exploring Operation: 2639/29=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 |
Current State: 91:[77, 98, 33, 29], Operations: []
Exploring Operation: 77+33=110, Resulting Numbers: [98, 29, 110]
Generated Node #0,0: 91:[98, 29, 110] Operation: 77+33=110
Exploring Operation: 33-29=4, Resulting Numbers: [77, 98, 4]
Generated Node #0,1: 91:[77, 98, 4] Operation: 33-29=4
Exploring Operation: 77+29=106, Resulting Numbers: [98, 33, 106]
Generated Node #0,2: 91:[98, 33, 106] Operation: 77+29=106
Moving to Node #0,1
Current State: 91:[77, 98, 4], Operations: ['33-29=4']
Exploring Operation: 98-4=94, Resulting Numbers: [77, 94]
Generated Node #0,1,0: 91:[77, 94] Operation: 98-4=94
Exploring Operation: 77+4=81, Resulting Numbers: [98, 81]
Generated Node #0,1,1: 91:[98, 81] Operation: 77+4=81
Exploring Operation: 98-77=21, Resulting Numbers: [4, 21]
Generated Node #0,1,2: 91:[4, 21] Operation: 98-77=21
Moving to Node #0,0
Current State: 91:[98, 29, 110], Operations: ['77+33=110']
Exploring Operation: 98-29=69, Resulting Numbers: [110, 69]
Generated Node #0,0,0: 91:[110, 69] Operation: 98-29=69
Exploring Operation: 110-98=12, Resulting Numbers: [29, 12]
Generated Node #0,0,1: 91:[29, 12] Operation: 110-98=12
Exploring Operation: 110-29=81, Resulting Numbers: [98, 81]
Generated Node #0,0,2: 91:[98, 81] Operation: 110-29=81
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[29, 12], Operations: ['77+33=110', '110-98=12']
Exploring Operation: 29*12=348, Resulting Numbers: [348]
348,91 unequal: No Solution
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,91 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 91:[98, 81], Operations: ['77+33=110', '110-29=81']
Exploring Operation: 98+81=179, Resulting Numbers: [179]
179,91 unequal: No Solution
Exploring Operation: 98*81=7938, Resulting Numbers: [7938]
7938,91 unequal: No Solution
Exploring Operation: 98-81=17, Resulting Numbers: [17]
17,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[110, 69], Operations: ['77+33=110', '98-29=69']
Exploring Operation: 110-69=41, Resulting Numbers: [41]
41,91 unequal: No Solution
Exploring Operation: 110+69=179, Resulting Numbers: [179]
179,91 unequal: No Solution
Exploring Operation: 110*69=7590, Resulting Numbers: [7590]
7590,91 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: 91:[98, 33, 106], Operations: ['77+29=106']
Exploring Operation: 106-98=8, Resulting Numbers: [33, 8]
Generated Node #0,2,0: 91:[33, 8] Operation: 106-98=8
Exploring Operation: 106-33=73, Resulting Numbers: [98, 73]
Generated Node #0,2,1: 91:[98, 73] Operation: 106-33=73
Exploring Operation: 98-33=65, Resulting Numbers: [106, 65]
Generated Node #0,2,2: 91:[106, 65] Operation: 98-33=65
Moving to Node #0,1,2
Current State: 91:[4, 21], Operations: ['33-29=4', '98-77=21']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,91 unequal: No Solution
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,91 unequal: No Solution
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[98, 81], Operations: ['33-29=4', '77+4=81']
Exploring Operation: 98*81=7938, Resulting Numbers: [7938]
7938,91 unequal: No Solution
Exploring Operation: 98-81=17, Resulting Numbers: [17]
17,91 unequal: No Solution
Exploring Operation: 98+81=179, Resulting Numbers: [179]
179,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[77, 94], Operations: ['33-29=4', '98-4=94']
Exploring Operation: 77+94=171, Resulting Numbers: [171]
171,91 unequal: No Solution
Exploring Operation: 94-77=17, Resulting Numbers: [17]
17,91 unequal: No Solution
Exploring Operation: 77*94=7238, Resulting Numbers: [7238]
7238,91 unequal: No Solution
Moving to Node #0,2,0
Current State: 91:[33, 8], Operations: ['77+29=106', '106-98=8']
Exploring Operation: 33*8=264, Resulting Numbers: [264]
264,91 unequal: No Solution
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,91 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,91 unequal: No Solution
Moving to Node #0,2,1
Current State: 91:[98, 73], Operations: ['77+29=106', '106-33=73']
Exploring Operation: 98*73=7154, Resulting Numbers: [7154]
7154,91 unequal: No Solution
Exploring Operation: 98+73=171, Resulting Numbers: [171]
171,91 unequal: No Solution
Exploring Operation: 98-73=25, Resulting Numbers: [25]
25,91 unequal: No Solution
Moving to Node #0,2,2
Current State: 91:[106, 65], Operations: ['77+29=106', '98-33=65']
Exploring Operation: 106-65=41, Resulting Numbers: [41]
41,91 unequal: No Solution
Exploring Operation: 106+65=171, Resulting Numbers: [171]
171,91 unequal: No Solution
Exploring Operation: 106*65=6890, Resulting Numbers: [6890]
6890,91 unequal: No Solution
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
8,
27,
7,
41
] | 33 |
[
"7+41=48",
"48/8=6",
"27+6=33"
] |
Current State: 33:[8, 27, 7, 41], Operations: []
Exploring Operation: 7+41=48, Resulting Numbers: [8, 27, 48]
Generated Node #2: [8, 27, 48] from Operation: 7+41=48
Current State: 33:[8, 27, 48], Operations: ['7+41=48']
Exploring Operation: 48/8=6, Resulting Numbers: [27, 6]
Generated Node #3: [27, 6] from Operation: 48/8=6
Current State: 33:[27, 6], Operations: ['7+41=48', '48/8=6']
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 |
Current State: 33:[8, 27, 7, 41], Operations: []
Exploring Operation: 41-27=14, Resulting Numbers: [8, 7, 14]
Generated Node #0,0: 33:[8, 7, 14] Operation: 41-27=14
Exploring Operation: 41-8=33, Resulting Numbers: [27, 7, 33]
Generated Node #0,1: 33:[27, 7, 33] Operation: 41-8=33
Exploring Operation: 41-7=34, Resulting Numbers: [8, 27, 34]
Generated Node #0,2: 33:[8, 27, 34] Operation: 41-7=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[8, 7, 14], Operations: ['41-27=14']
Exploring Operation: 8-7=1, Resulting Numbers: [14, 1]
Generated Node #0,0,0: 33:[14, 1] Operation: 8-7=1
Exploring Operation: 8+7=15, Resulting Numbers: [14, 15]
Generated Node #0,0,1: 33:[14, 15] Operation: 8+7=15
Exploring Operation: 14/7=2, Resulting Numbers: [8, 2]
Generated Node #0,0,2: 33:[8, 2] Operation: 14/7=2
Moving to Node #0,0,2
Current State: 33:[8, 2], Operations: ['41-27=14', '14/7=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[14, 1], Operations: ['41-27=14', '8-7=1']
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,33 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[14, 15], Operations: ['41-27=14', '8+7=15']
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,33 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,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:[27, 7, 33], Operations: ['41-8=33']
Exploring Operation: 27+7=34, Resulting Numbers: [33, 34]
Generated Node #0,1,0: 33:[33, 34] Operation: 27+7=34
Exploring Operation: 33-27=6, Resulting Numbers: [7, 6]
Generated Node #0,1,1: 33:[7, 6] Operation: 33-27=6
Exploring Operation: 27-7=20, Resulting Numbers: [33, 20]
Generated Node #0,1,2: 33:[33, 20] Operation: 27-7=20
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 33:[33, 34], Operations: ['41-8=33', '27+7=34']
Exploring Operation: 33*34=1122, Resulting Numbers: [1122]
1122,33 unequal: No Solution
Exploring Operation: 33+34=67, Resulting Numbers: [67]
67,33 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,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:[7, 6], Operations: ['41-8=33', '33-27=6']
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,33 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 33:[33, 20], Operations: ['41-8=33', '27-7=20']
Exploring Operation: 33+20=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 33*20=660, Resulting Numbers: [660]
660,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[8, 27, 34], Operations: ['41-7=34']
Exploring Operation: 8+27=35, Resulting Numbers: [34, 35]
Generated Node #0,2,0: 33:[34, 35] Operation: 8+27=35
Exploring Operation: 27-8=19, Resulting Numbers: [34, 19]
Generated Node #0,2,1: 33:[34, 19] Operation: 27-8=19
Exploring Operation: 34-27=7, Resulting Numbers: [8, 7]
Generated Node #0,2,2: 33:[8, 7] Operation: 34-27=7
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 33:[34, 35], Operations: ['41-7=34', '8+27=35']
Exploring Operation: 34+35=69, Resulting Numbers: [69]
69,33 unequal: No Solution
Exploring Operation: 34*35=1190, Resulting Numbers: [1190]
1190,33 unequal: No Solution
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 33:[8, 7], Operations: ['41-7=34', '34-27=7']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 33:[34, 19], Operations: ['41-7=34', '27-8=19']
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 34*19=646, Resulting Numbers: [646]
646,33 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
4,
94,
85,
47
] | 77 |
[
"4*94=376",
"376/47=8",
"85-8=77"
] |
Current State: 77:[4, 94, 85, 47], Operations: []
Exploring Operation: 4*94=376, Resulting Numbers: [85, 47, 376]
Generated Node #2: [85, 47, 376] from Operation: 4*94=376
Current State: 77:[85, 47, 376], Operations: ['4*94=376']
Exploring Operation: 376/47=8, Resulting Numbers: [85, 8]
Generated Node #3: [85, 8] from Operation: 376/47=8
Current State: 77:[85, 8], Operations: ['4*94=376', '376/47=8']
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 |
Current State: 77:[4, 94, 85, 47], Operations: []
Exploring Operation: 94-47=47, Resulting Numbers: [4, 85, 47]
Generated Node #0,0: 77:[4, 85, 47] Operation: 94-47=47
Exploring Operation: 94-85=9, Resulting Numbers: [4, 47, 9]
Generated Node #0,1: 77:[4, 47, 9] Operation: 94-85=9
Exploring Operation: 94/47=2, Resulting Numbers: [4, 85, 2]
Generated Node #0,2: 77:[4, 85, 2] Operation: 94/47=2
Moving to Node #0,2
Current State: 77:[4, 85, 2], Operations: ['94/47=2']
Exploring Operation: 4+2=6, Resulting Numbers: [85, 6]
Generated Node #0,2,0: 77:[85, 6] Operation: 4+2=6
Exploring Operation: 85-4=81, Resulting Numbers: [2, 81]
Generated Node #0,2,1: 77:[2, 81] Operation: 85-4=81
Exploring Operation: 4*2=8, Resulting Numbers: [85, 8]
Generated Node #0,2,2: 77:[85, 8] Operation: 4*2=8
Moving to Node #0,1
Current State: 77:[4, 47, 9], Operations: ['94-85=9']
Exploring Operation: 4+47=51, Resulting Numbers: [9, 51]
Generated Node #0,1,0: 77:[9, 51] Operation: 4+47=51
Exploring Operation: 47+9=56, Resulting Numbers: [4, 56]
Generated Node #0,1,1: 77:[4, 56] Operation: 47+9=56
Exploring Operation: 47-9=38, Resulting Numbers: [4, 38]
Generated Node #0,1,2: 77:[4, 38] Operation: 47-9=38
Moving to Node #0,0
Current State: 77:[4, 85, 47], Operations: ['94-47=47']
Exploring Operation: 85-47=38, Resulting Numbers: [4, 38]
Generated Node #0,0,0: 77:[4, 38] Operation: 85-47=38
Exploring Operation: 85-4=81, Resulting Numbers: [47, 81]
Generated Node #0,0,1: 77:[47, 81] Operation: 85-4=81
Exploring Operation: 4+47=51, Resulting Numbers: [85, 51]
Generated Node #0,0,2: 77:[85, 51] Operation: 4+47=51
Moving to Node #0,2,0
Current State: 77:[85, 6], Operations: ['94/47=2', '4+2=6']
Exploring Operation: 85-6=79, Resulting Numbers: [79]
79,77 unequal: No Solution
Exploring Operation: 85*6=510, Resulting Numbers: [510]
510,77 unequal: No Solution
Exploring Operation: 85+6=91, Resulting Numbers: [91]
91,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[85, 8], Operations: ['94/47=2', '4*2=8']
Exploring Operation: 85*8=680, Resulting Numbers: [680]
680,77 unequal: No Solution
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[4, 94, 85, 47], Operations: []
Exploring Operation: 94/47=2, Resulting Numbers: [4, 85, 2]
Generated Node #0,2: 77:[4, 85, 2] Operation: 94/47=2
Moving to Node #0,2
Current State: 77:[4, 85, 2], Operations: ['94/47=2']
Exploring Operation: 4*2=8, Resulting Numbers: [85, 8]
Generated Node #0,2,2: 77:[85, 8] Operation: 4*2=8
Moving to Node #0,2,2
Current State: 77:[85, 8], Operations: ['94/47=2', '4*2=8']
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 0.981771 |
hs_3
|
sum_heuristic
|
[
81,
68,
88,
3
] | 58 |
[
"81+68=149",
"88+3=91",
"149-91=58"
] |
Current State: 58:[81, 68, 88, 3], Operations: []
Exploring Operation: 81+68=149, Resulting Numbers: [88, 3, 149]
Generated Node #2: [88, 3, 149] from Operation: 81+68=149
Current State: 58:[88, 3, 149], Operations: ['81+68=149']
Exploring Operation: 88+3=91, Resulting Numbers: [149, 91]
Generated Node #3: [149, 91] from Operation: 88+3=91
Current State: 58:[149, 91], Operations: ['81+68=149', '88+3=91']
Exploring Operation: 149-91=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 |
Current State: 58:[81, 68, 88, 3], Operations: []
Exploring Operation: 88-81=7, Resulting Numbers: [68, 3, 7]
Generated Node #0,0: 58:[68, 3, 7] Operation: 88-81=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[68, 3, 7], Operations: ['88-81=7']
Exploring Operation: 68-7=61, Resulting Numbers: [3, 61]
Generated Node #0,0,0: 58:[3, 61] Operation: 68-7=61
Moving to Node #0,0,0
Current State: 58:[3, 61], Operations: ['88-81=7', '68-7=61']
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[81, 68, 88, 3], Operations: []
Exploring Operation: 88-81=7, Resulting Numbers: [68, 3, 7]
Generated Node #0,0: 58:[68, 3, 7] Operation: 88-81=7
Moving to Node #0,0
Current State: 58:[68, 3, 7], Operations: ['88-81=7']
Exploring Operation: 68-7=61, Resulting Numbers: [3, 61]
Generated Node #0,0,0: 58:[3, 61] Operation: 68-7=61
Moving to Node #0,0,0
Current State: 58:[3, 61], Operations: ['88-81=7', '68-7=61']
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
sum_heuristic
|
[
70,
10,
75,
73
] | 15 |
[
"73-70=3",
"75/3=25",
"25-10=15"
] |
Current State: 15:[70, 10, 75, 73], Operations: []
Exploring Operation: 73-70=3, Resulting Numbers: [10, 75, 3]
Generated Node #2: [10, 75, 3] from Operation: 73-70=3
Current State: 15:[10, 75, 3], Operations: ['73-70=3']
Exploring Operation: 75/3=25, Resulting Numbers: [10, 25]
Generated Node #3: [10, 25] from Operation: 75/3=25
Current State: 15:[10, 25], Operations: ['73-70=3', '75/3=25']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 |
Current State: 15:[70, 10, 75, 73], Operations: []
Exploring Operation: 73-70=3, Resulting Numbers: [10, 75, 3]
Generated Node #0,0: 15:[10, 75, 3] Operation: 73-70=3
Exploring Operation: 70/10=7, Resulting Numbers: [75, 73, 7]
Generated Node #0,1: 15:[75, 73, 7] Operation: 70/10=7
Exploring Operation: 75-70=5, Resulting Numbers: [10, 73, 5]
Generated Node #0,2: 15:[10, 73, 5] Operation: 75-70=5
Exploring Operation: 75-73=2, Resulting Numbers: [70, 10, 2]
Generated Node #0,3: 15:[70, 10, 2] Operation: 75-73=2
Moving to Node #0,3
Current State: 15:[70, 10, 2], Operations: ['75-73=2']
Exploring Operation: 70/10=7, Resulting Numbers: [2, 7]
Generated Node #0,3,0: 15:[2, 7] Operation: 70/10=7
Exploring Operation: 70-10=60, Resulting Numbers: [2, 60]
Generated Node #0,3,1: 15:[2, 60] Operation: 70-10=60
Exploring Operation: 70/2=35, Resulting Numbers: [10, 35]
Generated Node #0,3,2: 15:[10, 35] Operation: 70/2=35
Exploring Operation: 10/2=5, Resulting Numbers: [70, 5]
Generated Node #0,3,3: 15:[70, 5] Operation: 10/2=5
Moving to Node #0,2
Current State: 15:[10, 73, 5], Operations: ['75-70=5']
Exploring Operation: 73-5=68, Resulting Numbers: [10, 68]
Generated Node #0,2,0: 15:[10, 68] Operation: 73-5=68
Exploring Operation: 10-5=5, Resulting Numbers: [73, 5]
Generated Node #0,2,1: 15:[73, 5] Operation: 10-5=5
Exploring Operation: 73-10=63, Resulting Numbers: [5, 63]
Generated Node #0,2,2: 15:[5, 63] Operation: 73-10=63
Exploring Operation: 10+5=15, Resulting Numbers: [73, 15]
Generated Node #0,2,3: 15:[73, 15] Operation: 10+5=15
Moving to Node #0,0
Current State: 15:[10, 75, 3], Operations: ['73-70=3']
Exploring Operation: 75-10=65, Resulting Numbers: [3, 65]
Generated Node #0,0,0: 15:[3, 65] Operation: 75-10=65
Exploring Operation: 10-3=7, Resulting Numbers: [75, 7]
Generated Node #0,0,1: 15:[75, 7] Operation: 10-3=7
Exploring Operation: 10+3=13, Resulting Numbers: [75, 13]
Generated Node #0,0,2: 15:[75, 13] Operation: 10+3=13
Exploring Operation: 75/3=25, Resulting Numbers: [10, 25]
Generated Node #0,0,3: 15:[10, 25] Operation: 75/3=25
Moving to Node #0,1
Current State: 15:[75, 73, 7], Operations: ['70/10=7']
Exploring Operation: 75+7=82, Resulting Numbers: [73, 82]
Generated Node #0,1,0: 15:[73, 82] Operation: 75+7=82
Exploring Operation: 73-7=66, Resulting Numbers: [75, 66]
Generated Node #0,1,1: 15:[75, 66] Operation: 73-7=66
Exploring Operation: 75-7=68, Resulting Numbers: [73, 68]
Generated Node #0,1,2: 15:[73, 68] Operation: 75-7=68
Exploring Operation: 75-73=2, Resulting Numbers: [7, 2]
Generated Node #0,1,3: 15:[7, 2] Operation: 75-73=2
Moving to Node #0,3,0
Current State: 15:[2, 7], Operations: ['75-73=2', '70/10=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,15 unequal: No Solution
Moving to Node #0,1,3
Current State: 15:[7, 2], Operations: ['70/10=7', '75-73=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,15 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Moving to Node #0,0,3
Current State: 15:[10, 25], Operations: ['73-70=3', '75/3=25']
Exploring Operation: 10*25=250, Resulting Numbers: [250]
250,15 unequal: No Solution
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[70, 10, 75, 73], Operations: []
Exploring Operation: 73-70=3, Resulting Numbers: [10, 75, 3]
Generated Node #0,0: 15:[10, 75, 3] Operation: 73-70=3
Moving to Node #0,0
Current State: 15:[10, 75, 3], Operations: ['73-70=3']
Exploring Operation: 75/3=25, Resulting Numbers: [10, 25]
Generated Node #0,0,3: 15:[10, 25] Operation: 75/3=25
Moving to Node #0,0,3
Current State: 15:[10, 25], Operations: ['73-70=3', '75/3=25']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 0.972222 |
hs_4
|
mult_heuristic
|
[
78,
22,
72,
87
] | 41 |
[
"78-22=56",
"87-72=15",
"56-15=41"
] |
Current State: 41:[78, 22, 72, 87], Operations: []
Exploring Operation: 78-22=56, Resulting Numbers: [72, 87, 56]
Generated Node #2: [72, 87, 56] from Operation: 78-22=56
Current State: 41:[72, 87, 56], Operations: ['78-22=56']
Exploring Operation: 87-72=15, Resulting Numbers: [56, 15]
Generated Node #3: [56, 15] from Operation: 87-72=15
Current State: 41:[56, 15], Operations: ['78-22=56', '87-72=15']
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 |
Current State: 41:[78, 22, 72, 87], Operations: []
Exploring Operation: 87-72=15, Resulting Numbers: [78, 22, 15]
Generated Node #0,0: 41:[78, 22, 15] Operation: 87-72=15
Exploring Operation: 87-22=65, Resulting Numbers: [78, 72, 65]
Generated Node #0,1: 41:[78, 72, 65] Operation: 87-22=65
Exploring Operation: 78-22=56, Resulting Numbers: [72, 87, 56]
Generated Node #0,2: 41:[72, 87, 56] Operation: 78-22=56
Exploring Operation: 87-78=9, Resulting Numbers: [22, 72, 9]
Generated Node #0,3: 41:[22, 72, 9] Operation: 87-78=9
Exploring Operation: 72-22=50, Resulting Numbers: [78, 87, 50]
Generated Node #0,4: 41:[78, 87, 50] Operation: 72-22=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[78, 22, 15], Operations: ['87-72=15']
Exploring Operation: 78+15=93, Resulting Numbers: [22, 93]
Generated Node #0,0,0: 41:[22, 93] Operation: 78+15=93
Exploring Operation: 78-15=63, Resulting Numbers: [22, 63]
Generated Node #0,0,1: 41:[22, 63] Operation: 78-15=63
Exploring Operation: 22+15=37, Resulting Numbers: [78, 37]
Generated Node #0,0,2: 41:[78, 37] Operation: 22+15=37
Exploring Operation: 22-15=7, Resulting Numbers: [78, 7]
Generated Node #0,0,3: 41:[78, 7] Operation: 22-15=7
Exploring Operation: 78-22=56, Resulting Numbers: [15, 56]
Generated Node #0,0,4: 41:[15, 56] Operation: 78-22=56
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 41:[22, 63], Operations: ['87-72=15', '78-15=63']
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[78, 22, 72, 87], Operations: []
Exploring Operation: 87-72=15, Resulting Numbers: [78, 22, 15]
Generated Node #0,0: 41:[78, 22, 15] Operation: 87-72=15
Moving to Node #0,0
Current State: 41:[78, 22, 15], Operations: ['87-72=15']
Exploring Operation: 78-15=63, Resulting Numbers: [22, 63]
Generated Node #0,0,1: 41:[22, 63] Operation: 78-15=63
Moving to Node #0,0,1
Current State: 41:[22, 63], Operations: ['87-72=15', '78-15=63']
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 |
hs_5
|
mult_heuristic
|
[
18,
74,
33,
20
] | 82 |
[
"20-18=2",
"74-33=41",
"2*41=82"
] |
Current State: 82:[18, 74, 33, 20], Operations: []
Exploring Operation: 20-18=2, Resulting Numbers: [74, 33, 2]
Generated Node #2: [74, 33, 2] from Operation: 20-18=2
Current State: 82:[74, 33, 2], Operations: ['20-18=2']
Exploring Operation: 74-33=41, Resulting Numbers: [2, 41]
Generated Node #3: [2, 41] from Operation: 74-33=41
Current State: 82:[2, 41], Operations: ['20-18=2', '74-33=41']
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 |
Current State: 82:[18, 74, 33, 20], Operations: []
Exploring Operation: 74-33=41, Resulting Numbers: [18, 20, 41]
Generated Node #0,0: 82:[18, 20, 41] Operation: 74-33=41
Exploring Operation: 18+20=38, Resulting Numbers: [74, 33, 38]
Generated Node #0,1: 82:[74, 33, 38] Operation: 18+20=38
Exploring Operation: 20-18=2, Resulting Numbers: [74, 33, 2]
Generated Node #0,2: 82:[74, 33, 2] Operation: 20-18=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[74, 33, 2], Operations: ['20-18=2']
Exploring Operation: 74-33=41, Resulting Numbers: [2, 41]
Generated Node #0,2,0: 82:[2, 41] Operation: 74-33=41
Exploring Operation: 74/2=37, Resulting Numbers: [33, 37]
Generated Node #0,2,1: 82:[33, 37] Operation: 74/2=37
Exploring Operation: 74+2=76, Resulting Numbers: [33, 76]
Generated Node #0,2,2: 82:[33, 76] Operation: 74+2=76
Moving to Node #0,2,0
Current State: 82:[2, 41], Operations: ['20-18=2', '74-33=41']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[18, 74, 33, 20], Operations: []
Exploring Operation: 20-18=2, Resulting Numbers: [74, 33, 2]
Generated Node #0,2: 82:[74, 33, 2] Operation: 20-18=2
Moving to Node #0,2
Current State: 82:[74, 33, 2], Operations: ['20-18=2']
Exploring Operation: 74-33=41, Resulting Numbers: [2, 41]
Generated Node #0,2,0: 82:[2, 41] Operation: 74-33=41
Moving to Node #0,2,0
Current State: 82:[2, 41], Operations: ['20-18=2', '74-33=41']
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 |
hs_3
|
mult_heuristic
|
[
20,
46,
59,
57
] | 90 |
[
"46-20=26",
"59+57=116",
"116-26=90"
] |
Current State: 90:[20, 46, 59, 57], Operations: []
Exploring Operation: 46-20=26, Resulting Numbers: [59, 57, 26]
Generated Node #2: [59, 57, 26] from Operation: 46-20=26
Current State: 90:[59, 57, 26], Operations: ['46-20=26']
Exploring Operation: 59+57=116, Resulting Numbers: [26, 116]
Generated Node #3: [26, 116] from Operation: 59+57=116
Current State: 90:[26, 116], Operations: ['46-20=26', '59+57=116']
Exploring Operation: 116-26=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 |
Current State: 90:[20, 46, 59, 57], Operations: []
Exploring Operation: 59-57=2, Resulting Numbers: [20, 46, 2]
Generated Node #0,0: 90:[20, 46, 2] Operation: 59-57=2
Exploring Operation: 59-46=13, Resulting Numbers: [20, 57, 13]
Generated Node #0,1: 90:[20, 57, 13] Operation: 59-46=13
Moving to Node #0,0
Current State: 90:[20, 46, 2], Operations: ['59-57=2']
Exploring Operation: 20/2=10, Resulting Numbers: [46, 10]
Generated Node #0,0,0: 90:[46, 10] Operation: 20/2=10
Exploring Operation: 20-2=18, Resulting Numbers: [46, 18]
Generated Node #0,0,1: 90:[46, 18] Operation: 20-2=18
Moving to Node #0,1
Current State: 90:[20, 57, 13], Operations: ['59-46=13']
Exploring Operation: 57-20=37, Resulting Numbers: [13, 37]
Generated Node #0,1,0: 90:[13, 37] Operation: 57-20=37
Exploring Operation: 57-13=44, Resulting Numbers: [20, 44]
Generated Node #0,1,1: 90:[20, 44] Operation: 57-13=44
Moving to Node #0,0,0
Current State: 90:[46, 10], Operations: ['59-57=2', '20/2=10']
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,90 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[46, 18], Operations: ['59-57=2', '20-2=18']
Exploring Operation: 46+18=64, Resulting Numbers: [64]
64,90 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[20, 44], Operations: ['59-46=13', '57-13=44']
Exploring Operation: 20+44=64, Resulting Numbers: [64]
64,90 unequal: No Solution
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[13, 37], Operations: ['59-46=13', '57-20=37']
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,90 unequal: No Solution
Exploring Operation: 13+37=50, Resulting Numbers: [50]
50,90 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
43,
51,
69,
6
] | 83 |
[
"51-43=8",
"69+6=75",
"8+75=83"
] |
Current State: 83:[43, 51, 69, 6], Operations: []
Exploring Operation: 51-43=8, Resulting Numbers: [69, 6, 8]
Generated Node #2: [69, 6, 8] from Operation: 51-43=8
Current State: 83:[69, 6, 8], Operations: ['51-43=8']
Exploring Operation: 69+6=75, Resulting Numbers: [8, 75]
Generated Node #3: [8, 75] from Operation: 69+6=75
Current State: 83:[8, 75], Operations: ['51-43=8', '69+6=75']
Exploring Operation: 8+75=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 |
Current State: 83:[43, 51, 69, 6], Operations: []
Exploring Operation: 51+6=57, Resulting Numbers: [43, 69, 57]
Generated Node #0,0: 83:[43, 69, 57] Operation: 51+6=57
Exploring Operation: 43+6=49, Resulting Numbers: [51, 69, 49]
Generated Node #0,1: 83:[51, 69, 49] Operation: 43+6=49
Moving to Node #0,0
Current State: 83:[43, 69, 57], Operations: ['51+6=57']
Exploring Operation: 43+69=112, Resulting Numbers: [57, 112]
Generated Node #0,0,0: 83:[57, 112] Operation: 43+69=112
Exploring Operation: 43+57=100, Resulting Numbers: [69, 100]
Generated Node #0,0,1: 83:[69, 100] Operation: 43+57=100
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[69, 100], Operations: ['51+6=57', '43+57=100']
Exploring Operation: 69+100=169, Resulting Numbers: [169]
169,83 unequal: No Solution
Exploring Operation: 100-69=31, Resulting Numbers: [31]
31,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,0,0
Current State: 83:[57, 112], Operations: ['51+6=57', '43+69=112']
Exploring Operation: 57+112=169, Resulting Numbers: [169]
169,83 unequal: No Solution
Exploring Operation: 112-57=55, Resulting Numbers: [55]
55,83 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: 83:[51, 69, 49], Operations: ['43+6=49']
Exploring Operation: 69+49=118, Resulting Numbers: [51, 118]
Generated Node #0,1,0: 83:[51, 118] Operation: 69+49=118
Exploring Operation: 51+49=100, Resulting Numbers: [69, 100]
Generated Node #0,1,1: 83:[69, 100] Operation: 51+49=100
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[69, 100], Operations: ['43+6=49', '51+49=100']
Exploring Operation: 100-69=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Exploring Operation: 69+100=169, Resulting Numbers: [169]
169,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[51, 118], Operations: ['43+6=49', '69+49=118']
Exploring Operation: 51+118=169, Resulting Numbers: [169]
169,83 unequal: No Solution
Exploring Operation: 118-51=67, Resulting Numbers: [67]
67,83 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
|
[
2,
94,
71,
4
] | 22 |
[
"94+4=98",
"98/2=49",
"71-49=22"
] |
Current State: 22:[2, 94, 71, 4], Operations: []
Exploring Operation: 94+4=98, Resulting Numbers: [2, 71, 98]
Generated Node #2: [2, 71, 98] from Operation: 94+4=98
Current State: 22:[2, 71, 98], Operations: ['94+4=98']
Exploring Operation: 98/2=49, Resulting Numbers: [71, 49]
Generated Node #3: [71, 49] from Operation: 98/2=49
Current State: 22:[71, 49], Operations: ['94+4=98', '98/2=49']
Exploring Operation: 71-49=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 |
Current State: 22:[2, 94, 71, 4], Operations: []
Exploring Operation: 94-71=23, Resulting Numbers: [2, 4, 23]
Generated Node #0,0: 22:[2, 4, 23] Operation: 94-71=23
Exploring Operation: 94/2=47, Resulting Numbers: [71, 4, 47]
Generated Node #0,1: 22:[71, 4, 47] Operation: 94/2=47
Exploring Operation: 94-4=90, Resulting Numbers: [2, 71, 90]
Generated Node #0,2: 22:[2, 71, 90] Operation: 94-4=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[2, 4, 23], Operations: ['94-71=23']
Exploring Operation: 4/2=2, Resulting Numbers: [23, 2]
Generated Node #0,0,0: 22:[23, 2] Operation: 4/2=2
Exploring Operation: 4-2=2, Resulting Numbers: [23, 2]
Generated Node #0,0,1: 22:[23, 2] Operation: 4-2=2
Exploring Operation: 23-2=21, Resulting Numbers: [4, 21]
Generated Node #0,0,2: 22:[4, 21] Operation: 23-2=21
Moving to Node #0,0,0
Current State: 22:[23, 2], Operations: ['94-71=23', '4/2=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,22 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[23, 2], Operations: ['94-71=23', '4-2=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,22 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,22 unequal: No Solution
Moving to Node #0,0,2
Current State: 22:[4, 21], Operations: ['94-71=23', '23-2=21']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,22 unequal: No Solution
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[71, 4, 47], Operations: ['94/2=47']
Exploring Operation: 71-4=67, Resulting Numbers: [47, 67]
Generated Node #0,1,0: 22:[47, 67] Operation: 71-4=67
Exploring Operation: 47-4=43, Resulting Numbers: [71, 43]
Generated Node #0,1,1: 22:[71, 43] Operation: 47-4=43
Exploring Operation: 71-47=24, Resulting Numbers: [4, 24]
Generated Node #0,1,2: 22:[4, 24] Operation: 71-47=24
Moving to Node #0,1,2
Current State: 22:[4, 24], Operations: ['94/2=47', '71-47=24']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[47, 67], Operations: ['94/2=47', '71-4=67']
Exploring Operation: 47*67=3149, Resulting Numbers: [3149]
3149,22 unequal: No Solution
Exploring Operation: 67-47=20, Resulting Numbers: [20]
20,22 unequal: No Solution
Exploring Operation: 47+67=114, Resulting Numbers: [114]
114,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[71, 43], Operations: ['94/2=47', '47-4=43']
Exploring Operation: 71+43=114, Resulting Numbers: [114]
114,22 unequal: No Solution
Exploring Operation: 71*43=3053, Resulting Numbers: [3053]
3053,22 unequal: No Solution
Exploring Operation: 71-43=28, Resulting Numbers: [28]
28,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[2, 71, 90], Operations: ['94-4=90']
Exploring Operation: 90-71=19, Resulting Numbers: [2, 19]
Generated Node #0,2,0: 22:[2, 19] Operation: 90-71=19
Exploring Operation: 71-2=69, Resulting Numbers: [90, 69]
Generated Node #0,2,1: 22:[90, 69] Operation: 71-2=69
Exploring Operation: 90/2=45, Resulting Numbers: [71, 45]
Generated Node #0,2,2: 22:[71, 45] Operation: 90/2=45
Moving to Node #0,2,0
Current State: 22:[2, 19], Operations: ['94-4=90', '90-71=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,22 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Moving to Node #0,2,2
Current State: 22:[71, 45], Operations: ['94-4=90', '90/2=45']
Exploring Operation: 71+45=116, Resulting Numbers: [116]
116,22 unequal: No Solution
Exploring Operation: 71-45=26, Resulting Numbers: [26]
26,22 unequal: No Solution
Exploring Operation: 71*45=3195, Resulting Numbers: [3195]
3195,22 unequal: No Solution
Moving to Node #0,2,1
Current State: 22:[90, 69], Operations: ['94-4=90', '71-2=69']
Exploring Operation: 90*69=6210, Resulting Numbers: [6210]
6210,22 unequal: No Solution
Exploring Operation: 90+69=159, Resulting Numbers: [159]
159,22 unequal: No Solution
Exploring Operation: 90-69=21, Resulting Numbers: [21]
21,22 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
|
[
24,
64,
55,
16
] | 72 |
[
"24-16=8",
"64-55=9",
"8*9=72"
] |
Current State: 72:[24, 64, 55, 16], Operations: []
Exploring Operation: 24-16=8, Resulting Numbers: [64, 55, 8]
Generated Node #2: [64, 55, 8] from Operation: 24-16=8
Current State: 72:[64, 55, 8], Operations: ['24-16=8']
Exploring Operation: 64-55=9, Resulting Numbers: [8, 9]
Generated Node #3: [8, 9] from Operation: 64-55=9
Current State: 72:[8, 9], Operations: ['24-16=8', '64-55=9']
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 |
Current State: 72:[24, 64, 55, 16], Operations: []
Exploring Operation: 64-55=9, Resulting Numbers: [24, 16, 9]
Generated Node #0,0: 72:[24, 16, 9] Operation: 64-55=9
Moving to Node #0,0
Current State: 72:[24, 16, 9], Operations: ['64-55=9']
Exploring Operation: 24-16=8, Resulting Numbers: [9, 8]
Generated Node #0,0,0: 72:[9, 8] Operation: 24-16=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[9, 8], Operations: ['64-55=9', '24-16=8']
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[24, 64, 55, 16], Operations: []
Exploring Operation: 64-55=9, Resulting Numbers: [24, 16, 9]
Generated Node #0,0: 72:[24, 16, 9] Operation: 64-55=9
Moving to Node #0,0
Current State: 72:[24, 16, 9], Operations: ['64-55=9']
Exploring Operation: 24-16=8, Resulting Numbers: [9, 8]
Generated Node #0,0,0: 72:[9, 8] Operation: 24-16=8
Moving to Node #0,0,0
Current State: 72:[9, 8], Operations: ['64-55=9', '24-16=8']
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
mult_heuristic
|
[
76,
78,
48,
80
] | 34 |
[
"78-76=2",
"80-48=32",
"2+32=34"
] |
Current State: 34:[76, 78, 48, 80], Operations: []
Exploring Operation: 78-76=2, Resulting Numbers: [48, 80, 2]
Generated Node #2: [48, 80, 2] from Operation: 78-76=2
Current State: 34:[48, 80, 2], Operations: ['78-76=2']
Exploring Operation: 80-48=32, Resulting Numbers: [2, 32]
Generated Node #3: [2, 32] from Operation: 80-48=32
Current State: 34:[2, 32], Operations: ['78-76=2', '80-48=32']
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 |
Current State: 34:[76, 78, 48, 80], Operations: []
Exploring Operation: 80-76=4, Resulting Numbers: [78, 48, 4]
Generated Node #0,0: 34:[78, 48, 4] Operation: 80-76=4
Exploring Operation: 80-48=32, Resulting Numbers: [76, 78, 32]
Generated Node #0,1: 34:[76, 78, 32] Operation: 80-48=32
Exploring Operation: 78-76=2, Resulting Numbers: [48, 80, 2]
Generated Node #0,2: 34:[48, 80, 2] Operation: 78-76=2
Exploring Operation: 80-78=2, Resulting Numbers: [76, 48, 2]
Generated Node #0,3: 34:[76, 48, 2] Operation: 80-78=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 34:[76, 48, 2], Operations: ['80-78=2']
Exploring Operation: 76/2=38, Resulting Numbers: [48, 38]
Generated Node #0,3,0: 34:[48, 38] Operation: 76/2=38
Exploring Operation: 76-2=74, Resulting Numbers: [48, 74]
Generated Node #0,3,1: 34:[48, 74] Operation: 76-2=74
Exploring Operation: 48/2=24, Resulting Numbers: [76, 24]
Generated Node #0,3,2: 34:[76, 24] Operation: 48/2=24
Exploring Operation: 76-48=28, Resulting Numbers: [2, 28]
Generated Node #0,3,3: 34:[2, 28] Operation: 76-48=28
Moving to Node #0,3,3
Current State: 34:[2, 28], Operations: ['80-78=2', '76-48=28']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,34 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Moving to Node #0,3,0
Current State: 34:[48, 38], Operations: ['80-78=2', '76/2=38']
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 48+38=86, Resulting Numbers: [86]
86,34 unequal: No Solution
Exploring Operation: 48*38=1824, Resulting Numbers: [1824]
1824,34 unequal: No Solution
Moving to Node #0,3,2
Current State: 34:[76, 24], Operations: ['80-78=2', '48/2=24']
Exploring Operation: 76+24=100, Resulting Numbers: [100]
100,34 unequal: No Solution
Exploring Operation: 76*24=1824, Resulting Numbers: [1824]
1824,34 unequal: No Solution
Exploring Operation: 76-24=52, Resulting Numbers: [52]
52,34 unequal: No Solution
Moving to Node #0,3,1
Current State: 34:[48, 74], Operations: ['80-78=2', '76-2=74']
Exploring Operation: 48+74=122, Resulting Numbers: [122]
122,34 unequal: No Solution
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 48*74=3552, Resulting Numbers: [3552]
3552,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[78, 48, 4], Operations: ['80-76=4']
Exploring Operation: 48/4=12, Resulting Numbers: [78, 12]
Generated Node #0,0,0: 34:[78, 12] Operation: 48/4=12
Exploring Operation: 78-48=30, Resulting Numbers: [4, 30]
Generated Node #0,0,1: 34:[4, 30] Operation: 78-48=30
Exploring Operation: 78-4=74, Resulting Numbers: [48, 74]
Generated Node #0,0,2: 34:[48, 74] Operation: 78-4=74
Exploring Operation: 48-4=44, Resulting Numbers: [78, 44]
Generated Node #0,0,3: 34:[78, 44] Operation: 48-4=44
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 34:[4, 30], Operations: ['80-76=4', '78-48=30']
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[76, 78, 48, 80], Operations: []
Exploring Operation: 80-76=4, Resulting Numbers: [78, 48, 4]
Generated Node #0,0: 34:[78, 48, 4] Operation: 80-76=4
Moving to Node #0,0
Current State: 34:[78, 48, 4], Operations: ['80-76=4']
Exploring Operation: 78-48=30, Resulting Numbers: [4, 30]
Generated Node #0,0,1: 34:[4, 30] Operation: 78-48=30
Moving to Node #0,0,1
Current State: 34:[4, 30], Operations: ['80-76=4', '78-48=30']
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 |
hs_4
|
sum_heuristic
|
[
63,
72,
96,
9
] | 25 |
[
"96-63=33",
"72/9=8",
"33-8=25"
] |
Current State: 25:[63, 72, 96, 9], Operations: []
Exploring Operation: 96-63=33, Resulting Numbers: [72, 9, 33]
Generated Node #2: [72, 9, 33] from Operation: 96-63=33
Current State: 25:[72, 9, 33], Operations: ['96-63=33']
Exploring Operation: 72/9=8, Resulting Numbers: [33, 8]
Generated Node #3: [33, 8] from Operation: 72/9=8
Current State: 25:[33, 8], Operations: ['96-63=33', '72/9=8']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[63, 72, 96, 9], Operations: []
Exploring Operation: 72-63=9, Resulting Numbers: [96, 9, 9]
Generated Node #0,0: 25:[96, 9, 9] Operation: 72-63=9
Exploring Operation: 96-72=24, Resulting Numbers: [63, 9, 24]
Generated Node #0,1: 25:[63, 9, 24] Operation: 96-72=24
Exploring Operation: 96-63=33, Resulting Numbers: [72, 9, 33]
Generated Node #0,2: 25:[72, 9, 33] Operation: 96-63=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[63, 9, 24], Operations: ['96-72=24']
Exploring Operation: 63/9=7, Resulting Numbers: [24, 7]
Generated Node #0,1,0: 25:[24, 7] Operation: 63/9=7
Exploring Operation: 63-9=54, Resulting Numbers: [24, 54]
Generated Node #0,1,1: 25:[24, 54] Operation: 63-9=54
Exploring Operation: 63-24=39, Resulting Numbers: [9, 39]
Generated Node #0,1,2: 25:[9, 39] Operation: 63-24=39
Moving to Node #0,1,0
Current State: 25:[24, 7], Operations: ['96-72=24', '63/9=7']
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,25 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,25 unequal: No Solution
Moving to Node #0,1,2
Current State: 25:[9, 39], Operations: ['96-72=24', '63-24=39']
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 9*39=351, Resulting Numbers: [351]
351,25 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[24, 54], Operations: ['96-72=24', '63-9=54']
Exploring Operation: 24+54=78, Resulting Numbers: [78]
78,25 unequal: No Solution
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,25 unequal: No Solution
Exploring Operation: 24*54=1296, Resulting Numbers: [1296]
1296,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
Current State: 25:[72, 9, 33], Operations: ['96-63=33']
Exploring Operation: 72-33=39, Resulting Numbers: [9, 39]
Generated Node #0,2,0: 25:[9, 39] Operation: 72-33=39
Exploring Operation: 72-9=63, Resulting Numbers: [33, 63]
Generated Node #0,2,1: 25:[33, 63] Operation: 72-9=63
Exploring Operation: 72/9=8, Resulting Numbers: [33, 8]
Generated Node #0,2,2: 25:[33, 8] Operation: 72/9=8
Moving to Node #0,2,2
Current State: 25:[33, 8], Operations: ['96-63=33', '72/9=8']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[63, 72, 96, 9], Operations: []
Exploring Operation: 96-63=33, Resulting Numbers: [72, 9, 33]
Generated Node #0,2: 25:[72, 9, 33] Operation: 96-63=33
Moving to Node #0,2
Current State: 25:[72, 9, 33], Operations: ['96-63=33']
Exploring Operation: 72/9=8, Resulting Numbers: [33, 8]
Generated Node #0,2,2: 25:[33, 8] Operation: 72/9=8
Moving to Node #0,2,2
Current State: 25:[33, 8], Operations: ['96-63=33', '72/9=8']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 |
hs_3
|
mult_heuristic
|
[
19,
83,
16,
65
] | 15 |
[
"83-19=64",
"65-16=49",
"64-49=15"
] |
Current State: 15:[19, 83, 16, 65], Operations: []
Exploring Operation: 83-19=64, Resulting Numbers: [16, 65, 64]
Generated Node #2: [16, 65, 64] from Operation: 83-19=64
Current State: 15:[16, 65, 64], Operations: ['83-19=64']
Exploring Operation: 65-16=49, Resulting Numbers: [64, 49]
Generated Node #3: [64, 49] from Operation: 65-16=49
Current State: 15:[64, 49], Operations: ['83-19=64', '65-16=49']
Exploring Operation: 64-49=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 |
Current State: 15:[19, 83, 16, 65], Operations: []
Exploring Operation: 83-19=64, Resulting Numbers: [16, 65, 64]
Generated Node #0,0: 15:[16, 65, 64] Operation: 83-19=64
Exploring Operation: 65-19=46, Resulting Numbers: [83, 16, 46]
Generated Node #0,1: 15:[83, 16, 46] Operation: 65-19=46
Exploring Operation: 83-65=18, Resulting Numbers: [19, 16, 18]
Generated Node #0,2: 15:[19, 16, 18] Operation: 83-65=18
Exploring Operation: 83-16=67, Resulting Numbers: [19, 65, 67]
Generated Node #0,3: 15:[19, 65, 67] Operation: 83-16=67
Moving to Node #0,2
Current State: 15:[19, 16, 18], Operations: ['83-65=18']
Exploring Operation: 18-16=2, Resulting Numbers: [19, 2]
Generated Node #0,2,0: 15:[19, 2] Operation: 18-16=2
Exploring Operation: 19-16=3, Resulting Numbers: [18, 3]
Generated Node #0,2,1: 15:[18, 3] Operation: 19-16=3
Exploring Operation: 19-18=1, Resulting Numbers: [16, 1]
Generated Node #0,2,2: 15:[16, 1] Operation: 19-18=1
Exploring Operation: 19+16=35, Resulting Numbers: [18, 35]
Generated Node #0,2,3: 15:[18, 35] Operation: 19+16=35
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 15:[18, 3], Operations: ['83-65=18', '19-16=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,15 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,15 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[19, 83, 16, 65], Operations: []
Exploring Operation: 83-65=18, Resulting Numbers: [19, 16, 18]
Generated Node #0,2: 15:[19, 16, 18] Operation: 83-65=18
Moving to Node #0,2
Current State: 15:[19, 16, 18], Operations: ['83-65=18']
Exploring Operation: 19-16=3, Resulting Numbers: [18, 3]
Generated Node #0,2,1: 15:[18, 3] Operation: 19-16=3
Moving to Node #0,2,1
Current State: 15:[18, 3], Operations: ['83-65=18', '19-16=3']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_4
|
sum_heuristic
|
[
22,
24,
75,
67
] | 25 |
[
"75-67=8",
"24/8=3",
"22+3=25"
] |
Current State: 25:[22, 24, 75, 67], Operations: []
Exploring Operation: 75-67=8, Resulting Numbers: [22, 24, 8]
Generated Node #2: [22, 24, 8] from Operation: 75-67=8
Current State: 25:[22, 24, 8], Operations: ['75-67=8']
Exploring Operation: 24/8=3, Resulting Numbers: [22, 3]
Generated Node #3: [22, 3] from Operation: 24/8=3
Current State: 25:[22, 3], Operations: ['75-67=8', '24/8=3']
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[22, 24, 75, 67], Operations: []
Exploring Operation: 75-67=8, Resulting Numbers: [22, 24, 8]
Generated Node #0,0: 25:[22, 24, 8] Operation: 75-67=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[22, 24, 8], Operations: ['75-67=8']
Exploring Operation: 24/8=3, Resulting Numbers: [22, 3]
Generated Node #0,0,0: 25:[22, 3] Operation: 24/8=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[22, 3], Operations: ['75-67=8', '24/8=3']
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[22, 24, 75, 67], Operations: []
Exploring Operation: 75-67=8, Resulting Numbers: [22, 24, 8]
Generated Node #0,0: 25:[22, 24, 8] Operation: 75-67=8
Moving to Node #0,0
Current State: 25:[22, 24, 8], Operations: ['75-67=8']
Exploring Operation: 24/8=3, Resulting Numbers: [22, 3]
Generated Node #0,0,0: 25:[22, 3] Operation: 24/8=3
Moving to Node #0,0,0
Current State: 25:[22, 3], Operations: ['75-67=8', '24/8=3']
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
sum_heuristic
|
[
85,
52,
28,
96
] | 89 |
[
"52-28=24",
"96/24=4",
"85+4=89"
] |
Current State: 89:[85, 52, 28, 96], Operations: []
Exploring Operation: 52-28=24, Resulting Numbers: [85, 96, 24]
Generated Node #2: [85, 96, 24] from Operation: 52-28=24
Current State: 89:[85, 96, 24], Operations: ['52-28=24']
Exploring Operation: 96/24=4, Resulting Numbers: [85, 4]
Generated Node #3: [85, 4] from Operation: 96/24=4
Current State: 89:[85, 4], Operations: ['52-28=24', '96/24=4']
Exploring Operation: 85+4=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 |
Current State: 89:[85, 52, 28, 96], Operations: []
Exploring Operation: 96-28=68, Resulting Numbers: [85, 52, 68]
Generated Node #0,0: 89:[85, 52, 68] Operation: 96-28=68
Exploring Operation: 52+28=80, Resulting Numbers: [85, 96, 80]
Generated Node #0,1: 89:[85, 96, 80] Operation: 52+28=80
Exploring Operation: 85+28=113, Resulting Numbers: [52, 96, 113]
Generated Node #0,2: 89:[52, 96, 113] Operation: 85+28=113
Moving to Node #0,1
Current State: 89:[85, 96, 80], Operations: ['52+28=80']
Exploring Operation: 85+80=165, Resulting Numbers: [96, 165]
Generated Node #0,1,0: 89:[96, 165] Operation: 85+80=165
Exploring Operation: 96-85=11, Resulting Numbers: [80, 11]
Generated Node #0,1,1: 89:[80, 11] Operation: 96-85=11
Exploring Operation: 96-80=16, Resulting Numbers: [85, 16]
Generated Node #0,1,2: 89:[85, 16] Operation: 96-80=16
Moving to Node #0,0
Current State: 89:[85, 52, 68], Operations: ['96-28=68']
Exploring Operation: 52+68=120, Resulting Numbers: [85, 120]
Generated Node #0,0,0: 89:[85, 120] Operation: 52+68=120
Exploring Operation: 85-52=33, Resulting Numbers: [68, 33]
Generated Node #0,0,1: 89:[68, 33] Operation: 85-52=33
Exploring Operation: 85+52=137, Resulting Numbers: [68, 137]
Generated Node #0,0,2: 89:[68, 137] Operation: 85+52=137
Moving to Node #0,2
Current State: 89:[52, 96, 113], Operations: ['85+28=113']
Exploring Operation: 52+96=148, Resulting Numbers: [113, 148]
Generated Node #0,2,0: 89:[113, 148] Operation: 52+96=148
Exploring Operation: 113-52=61, Resulting Numbers: [96, 61]
Generated Node #0,2,1: 89:[96, 61] Operation: 113-52=61
Exploring Operation: 96-52=44, Resulting Numbers: [113, 44]
Generated Node #0,2,2: 89:[113, 44] Operation: 96-52=44
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[96, 61], Operations: ['85+28=113', '113-52=61']
Exploring Operation: 96-61=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Exploring Operation: 96*61=5856, Resulting Numbers: [5856]
5856,89 unequal: No Solution
Exploring Operation: 96+61=157, Resulting Numbers: [157]
157,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[113, 44], Operations: ['85+28=113', '96-52=44']
Exploring Operation: 113+44=157, Resulting Numbers: [157]
157,89 unequal: No Solution
Exploring Operation: 113*44=4972, Resulting Numbers: [4972]
4972,89 unequal: No Solution
Exploring Operation: 113-44=69, Resulting Numbers: [69]
69,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[113, 148], Operations: ['85+28=113', '52+96=148']
Exploring Operation: 113+148=261, Resulting Numbers: [261]
261,89 unequal: No Solution
Exploring Operation: 148-113=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Exploring Operation: 113*148=16724, Resulting Numbers: [16724]
16724,89 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: 89:[85, 120], Operations: ['96-28=68', '52+68=120']
Exploring Operation: 85*120=10200, Resulting Numbers: [10200]
10200,89 unequal: No Solution
Exploring Operation: 85+120=205, Resulting Numbers: [205]
205,89 unequal: No Solution
Exploring Operation: 120-85=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[68, 137], Operations: ['96-28=68', '85+52=137']
Exploring Operation: 137-68=69, Resulting Numbers: [69]
69,89 unequal: No Solution
Exploring Operation: 68*137=9316, Resulting Numbers: [9316]
9316,89 unequal: No Solution
Exploring Operation: 68+137=205, Resulting Numbers: [205]
205,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[68, 33], Operations: ['96-28=68', '85-52=33']
Exploring Operation: 68*33=2244, Resulting Numbers: [2244]
2244,89 unequal: No Solution
Exploring Operation: 68+33=101, Resulting Numbers: [101]
101,89 unequal: No Solution
Exploring Operation: 68-33=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[85, 16], Operations: ['52+28=80', '96-80=16']
Exploring Operation: 85+16=101, Resulting Numbers: [101]
101,89 unequal: No Solution
Exploring Operation: 85*16=1360, Resulting Numbers: [1360]
1360,89 unequal: No Solution
Exploring Operation: 85-16=69, Resulting Numbers: [69]
69,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[96, 165], Operations: ['52+28=80', '85+80=165']
Exploring Operation: 96*165=15840, Resulting Numbers: [15840]
15840,89 unequal: No Solution
Exploring Operation: 165-96=69, Resulting Numbers: [69]
69,89 unequal: No Solution
Exploring Operation: 96+165=261, Resulting Numbers: [261]
261,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[80, 11], Operations: ['52+28=80', '96-85=11']
Exploring Operation: 80+11=91, Resulting Numbers: [91]
91,89 unequal: No Solution
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,89 unequal: No Solution
Exploring Operation: 80*11=880, Resulting Numbers: [880]
880,89 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
25,
23,
14,
18
] | 19 |
[
"23-18=5",
"25/5=5",
"14+5=19"
] |
Current State: 19:[25, 23, 14, 18], Operations: []
Exploring Operation: 23-18=5, Resulting Numbers: [25, 14, 5]
Generated Node #2: [25, 14, 5] from Operation: 23-18=5
Current State: 19:[25, 14, 5], Operations: ['23-18=5']
Exploring Operation: 25/5=5, Resulting Numbers: [14, 5]
Generated Node #3: [14, 5] from Operation: 25/5=5
Current State: 19:[14, 5], Operations: ['23-18=5', '25/5=5']
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 |
Current State: 19:[25, 23, 14, 18], Operations: []
Exploring Operation: 23-14=9, Resulting Numbers: [25, 18, 9]
Generated Node #0,0: 19:[25, 18, 9] Operation: 23-14=9
Exploring Operation: 25-14=11, Resulting Numbers: [23, 18, 11]
Generated Node #0,1: 19:[23, 18, 11] Operation: 25-14=11
Exploring Operation: 25-23=2, Resulting Numbers: [14, 18, 2]
Generated Node #0,2: 19:[14, 18, 2] Operation: 25-23=2
Exploring Operation: 25-18=7, Resulting Numbers: [23, 14, 7]
Generated Node #0,3: 19:[23, 14, 7] Operation: 25-18=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[23, 18, 11], Operations: ['25-14=11']
Exploring Operation: 18-11=7, Resulting Numbers: [23, 7]
Generated Node #0,1,0: 19:[23, 7] Operation: 18-11=7
Exploring Operation: 23-11=12, Resulting Numbers: [18, 12]
Generated Node #0,1,1: 19:[18, 12] Operation: 23-11=12
Exploring Operation: 18+11=29, Resulting Numbers: [23, 29]
Generated Node #0,1,2: 19:[23, 29] Operation: 18+11=29
Exploring Operation: 23+11=34, Resulting Numbers: [18, 34]
Generated Node #0,1,3: 19:[18, 34] Operation: 23+11=34
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 19:[18, 12], Operations: ['25-14=11', '23-11=12']
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,19 unequal: No Solution
No 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: 19:[23, 29], Operations: ['25-14=11', '18+11=29']
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 23*29=667, Resulting Numbers: [667]
667,19 unequal: No Solution
Exploring Operation: 23+29=52, Resulting Numbers: [52]
52,19 unequal: No Solution
No 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: 19:[23, 7], Operations: ['25-14=11', '18-11=7']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,19 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,19 unequal: No Solution
No 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: 19:[18, 34], Operations: ['25-14=11', '23+11=34']
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 18*34=612, Resulting Numbers: [612]
612,19 unequal: No Solution
Exploring Operation: 18+34=52, Resulting Numbers: [52]
52,19 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: 19:[25, 18, 9], Operations: ['23-14=9']
Exploring Operation: 25+9=34, Resulting Numbers: [18, 34]
Generated Node #0,0,0: 19:[18, 34] Operation: 25+9=34
Exploring Operation: 18-9=9, Resulting Numbers: [25, 9]
Generated Node #0,0,1: 19:[25, 9] Operation: 18-9=9
Exploring Operation: 18+9=27, Resulting Numbers: [25, 27]
Generated Node #0,0,2: 19:[25, 27] Operation: 18+9=27
Exploring Operation: 25-9=16, Resulting Numbers: [18, 16]
Generated Node #0,0,3: 19:[18, 16] Operation: 25-9=16
Moving to Node #0,0,3
Current State: 19:[18, 16], Operations: ['23-14=9', '25-9=16']
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,19 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[25, 27], Operations: ['23-14=9', '18+9=27']
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 25+27=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 25*27=675, Resulting Numbers: [675]
675,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[25, 9], Operations: ['23-14=9', '18-9=9']
Exploring Operation: 25*9=225, Resulting Numbers: [225]
225,19 unequal: No Solution
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[18, 34], Operations: ['23-14=9', '25+9=34']
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 18+34=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 18*34=612, Resulting Numbers: [612]
612,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 19:[23, 14, 7], Operations: ['25-18=7']
Exploring Operation: 14-7=7, Resulting Numbers: [23, 7]
Generated Node #0,3,0: 19:[23, 7] Operation: 14-7=7
Exploring Operation: 14+7=21, Resulting Numbers: [23, 21]
Generated Node #0,3,1: 19:[23, 21] Operation: 14+7=21
Exploring Operation: 23-7=16, Resulting Numbers: [14, 16]
Generated Node #0,3,2: 19:[14, 16] Operation: 23-7=16
Exploring Operation: 23+7=30, Resulting Numbers: [14, 30]
Generated Node #0,3,3: 19:[14, 30] Operation: 23+7=30
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 19:[23, 21], Operations: ['25-18=7', '14+7=21']
Exploring Operation: 23*21=483, Resulting Numbers: [483]
483,19 unequal: No Solution
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,19 unequal: No Solution
No 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: 19:[14, 16], Operations: ['25-18=7', '23-7=16']
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 14*16=224, Resulting Numbers: [224]
224,19 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,19 unequal: No Solution
No 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: 19:[23, 7], Operations: ['25-18=7', '14-7=7']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,19 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,19 unequal: No Solution
No 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: 19:[14, 30], Operations: ['25-18=7', '23+7=30']
Exploring Operation: 14*30=420, Resulting Numbers: [420]
420,19 unequal: No Solution
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,19 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: 19:[14, 18, 2], Operations: ['25-23=2']
Exploring Operation: 14+2=16, Resulting Numbers: [18, 16]
Generated Node #0,2,0: 19:[18, 16] Operation: 14+2=16
Exploring Operation: 14-2=12, Resulting Numbers: [18, 12]
Generated Node #0,2,1: 19:[18, 12] Operation: 14-2=12
Exploring Operation: 18-2=16, Resulting Numbers: [14, 16]
Generated Node #0,2,2: 19:[14, 16] Operation: 18-2=16
Exploring Operation: 18+2=20, Resulting Numbers: [14, 20]
Generated Node #0,2,3: 19:[14, 20] Operation: 18+2=20
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 19:[18, 16], Operations: ['25-23=2', '14+2=16']
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,19 unequal: No Solution
No 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: 19:[14, 20], Operations: ['25-23=2', '18+2=20']
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 14*20=280, Resulting Numbers: [280]
280,19 unequal: No Solution
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,19 unequal: No Solution
No 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: 19:[18, 12], Operations: ['25-23=2', '14-2=12']
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,19 unequal: No Solution
No 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: 19:[14, 16], Operations: ['25-23=2', '18-2=16']
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 14*16=224, Resulting Numbers: [224]
224,19 unequal: No Solution
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
28,
35,
49,
69
] | 76 |
[
"35-28=7",
"49/7=7",
"69+7=76"
] |
Current State: 76:[28, 35, 49, 69], Operations: []
Exploring Operation: 35-28=7, Resulting Numbers: [49, 69, 7]
Generated Node #2: [49, 69, 7] from Operation: 35-28=7
Current State: 76:[49, 69, 7], Operations: ['35-28=7']
Exploring Operation: 49/7=7, Resulting Numbers: [69, 7]
Generated Node #3: [69, 7] from Operation: 49/7=7
Current State: 76:[69, 7], Operations: ['35-28=7', '49/7=7']
Exploring Operation: 69+7=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 |
Current State: 76:[28, 35, 49, 69], Operations: []
Exploring Operation: 28+49=77, Resulting Numbers: [35, 69, 77]
Generated Node #0,0: 76:[35, 69, 77] Operation: 28+49=77
Exploring Operation: 49-28=21, Resulting Numbers: [35, 69, 21]
Generated Node #0,1: 76:[35, 69, 21] Operation: 49-28=21
Exploring Operation: 69-49=20, Resulting Numbers: [28, 35, 20]
Generated Node #0,2: 76:[28, 35, 20] Operation: 69-49=20
Moving to Node #0,0
Current State: 76:[35, 69, 77], Operations: ['28+49=77']
Exploring Operation: 77-69=8, Resulting Numbers: [35, 8]
Generated Node #0,0,0: 76:[35, 8] Operation: 77-69=8
Exploring Operation: 69-35=34, Resulting Numbers: [77, 34]
Generated Node #0,0,1: 76:[77, 34] Operation: 69-35=34
Exploring Operation: 77-35=42, Resulting Numbers: [69, 42]
Generated Node #0,0,2: 76:[69, 42] Operation: 77-35=42
Moving to Node #0,1
Current State: 76:[35, 69, 21], Operations: ['49-28=21']
Exploring Operation: 69-21=48, Resulting Numbers: [35, 48]
Generated Node #0,1,0: 76:[35, 48] Operation: 69-21=48
Exploring Operation: 35-21=14, Resulting Numbers: [69, 14]
Generated Node #0,1,1: 76:[69, 14] Operation: 35-21=14
Exploring Operation: 69-35=34, Resulting Numbers: [21, 34]
Generated Node #0,1,2: 76:[21, 34] Operation: 69-35=34
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 76:[21, 34], Operations: ['49-28=21', '69-35=34']
Exploring Operation: 21+34=55, Resulting Numbers: [55]
55,76 unequal: No Solution
Exploring Operation: 21*34=714, Resulting Numbers: [714]
714,76 unequal: No Solution
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,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,1,1
Current State: 76:[69, 14], Operations: ['49-28=21', '35-21=14']
Exploring Operation: 69+14=83, Resulting Numbers: [83]
83,76 unequal: No Solution
Exploring Operation: 69*14=966, Resulting Numbers: [966]
966,76 unequal: No Solution
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,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,1,0
Current State: 76:[35, 48], Operations: ['49-28=21', '69-21=48']
Exploring Operation: 35*48=1680, Resulting Numbers: [1680]
1680,76 unequal: No Solution
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 35+48=83, Resulting Numbers: [83]
83,76 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: 76:[28, 35, 20], Operations: ['69-49=20']
Exploring Operation: 35-28=7, Resulting Numbers: [20, 7]
Generated Node #0,2,0: 76:[20, 7] Operation: 35-28=7
Exploring Operation: 28-20=8, Resulting Numbers: [35, 8]
Generated Node #0,2,1: 76:[35, 8] Operation: 28-20=8
Exploring Operation: 28+20=48, Resulting Numbers: [35, 48]
Generated Node #0,2,2: 76:[35, 48] Operation: 28+20=48
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 76:[20, 7], Operations: ['69-49=20', '35-28=7']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,76 unequal: No Solution
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,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:[35, 8], Operations: ['69-49=20', '28-20=8']
Exploring Operation: 35*8=280, Resulting Numbers: [280]
280,76 unequal: No Solution
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,76 unequal: No Solution
Exploring Operation: 35+8=43, Resulting Numbers: [43]
43,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,2
Current State: 76:[35, 48], Operations: ['69-49=20', '28+20=48']
Exploring Operation: 35+48=83, Resulting Numbers: [83]
83,76 unequal: No Solution
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 35*48=1680, Resulting Numbers: [1680]
1680,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 76:[77, 34], Operations: ['28+49=77', '69-35=34']
Exploring Operation: 77+34=111, Resulting Numbers: [111]
111,76 unequal: No Solution
Exploring Operation: 77*34=2618, Resulting Numbers: [2618]
2618,76 unequal: No Solution
Exploring Operation: 77-34=43, Resulting Numbers: [43]
43,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[35, 8], Operations: ['28+49=77', '77-69=8']
Exploring Operation: 35*8=280, Resulting Numbers: [280]
280,76 unequal: No Solution
Exploring Operation: 35+8=43, Resulting Numbers: [43]
43,76 unequal: No Solution
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[69, 42], Operations: ['28+49=77', '77-35=42']
Exploring Operation: 69-42=27, Resulting Numbers: [27]
27,76 unequal: No Solution
Exploring Operation: 69*42=2898, Resulting Numbers: [2898]
2898,76 unequal: No Solution
Exploring Operation: 69+42=111, Resulting Numbers: [111]
111,76 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
10,
13,
96,
29
] | 61 |
[
"13-10=3",
"96/3=32",
"29+32=61"
] |
Current State: 61:[10, 13, 96, 29], Operations: []
Exploring Operation: 13-10=3, Resulting Numbers: [96, 29, 3]
Generated Node #2: [96, 29, 3] from Operation: 13-10=3
Current State: 61:[96, 29, 3], Operations: ['13-10=3']
Exploring Operation: 96/3=32, Resulting Numbers: [29, 32]
Generated Node #3: [29, 32] from Operation: 96/3=32
Current State: 61:[29, 32], Operations: ['13-10=3', '96/3=32']
Exploring Operation: 29+32=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 |
Current State: 61:[10, 13, 96, 29], Operations: []
Exploring Operation: 10+13=23, Resulting Numbers: [96, 29, 23]
Generated Node #0,0: 61:[96, 29, 23] Operation: 10+13=23
Exploring Operation: 96-10=86, Resulting Numbers: [13, 29, 86]
Generated Node #0,1: 61:[13, 29, 86] Operation: 96-10=86
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[96, 29, 23], Operations: ['10+13=23']
Exploring Operation: 96-29=67, Resulting Numbers: [23, 67]
Generated Node #0,0,0: 61:[23, 67] Operation: 96-29=67
Exploring Operation: 96-23=73, Resulting Numbers: [29, 73]
Generated Node #0,0,1: 61:[29, 73] Operation: 96-23=73
Moving to Node #0,0,0
Current State: 61:[23, 67], Operations: ['10+13=23', '96-29=67']
Exploring Operation: 67-23=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 23+67=90, Resulting Numbers: [90]
90,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[29, 73], Operations: ['10+13=23', '96-23=73']
Exploring Operation: 73-29=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 29+73=102, Resulting Numbers: [102]
102,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[13, 29, 86], Operations: ['96-10=86']
Exploring Operation: 86-13=73, Resulting Numbers: [29, 73]
Generated Node #0,1,0: 61:[29, 73] Operation: 86-13=73
Exploring Operation: 13+29=42, Resulting Numbers: [86, 42]
Generated Node #0,1,1: 61:[86, 42] Operation: 13+29=42
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 61:[29, 73], Operations: ['96-10=86', '86-13=73']
Exploring Operation: 73-29=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 29+73=102, Resulting Numbers: [102]
102,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[86, 42], Operations: ['96-10=86', '13+29=42']
Exploring Operation: 86+42=128, Resulting Numbers: [128]
128,61 unequal: No Solution
Exploring Operation: 86-42=44, Resulting Numbers: [44]
44,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
24,
79,
91,
64
] | 76 |
[
"24+79=103",
"91-64=27",
"103-27=76"
] |
Current State: 76:[24, 79, 91, 64], Operations: []
Exploring Operation: 24+79=103, Resulting Numbers: [91, 64, 103]
Generated Node #2: [91, 64, 103] from Operation: 24+79=103
Current State: 76:[91, 64, 103], Operations: ['24+79=103']
Exploring Operation: 91-64=27, Resulting Numbers: [103, 27]
Generated Node #3: [103, 27] from Operation: 91-64=27
Current State: 76:[103, 27], Operations: ['24+79=103', '91-64=27']
Exploring Operation: 103-27=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 |
Current State: 76:[24, 79, 91, 64], Operations: []
Exploring Operation: 91-24=67, Resulting Numbers: [79, 64, 67]
Generated Node #0,0: 76:[79, 64, 67] Operation: 91-24=67
Exploring Operation: 91-64=27, Resulting Numbers: [24, 79, 27]
Generated Node #0,1: 76:[24, 79, 27] Operation: 91-64=27
Exploring Operation: 64-24=40, Resulting Numbers: [79, 91, 40]
Generated Node #0,2: 76:[79, 91, 40] Operation: 64-24=40
Moving to Node #0,1
Current State: 76:[24, 79, 27], Operations: ['91-64=27']
Exploring Operation: 27-24=3, Resulting Numbers: [79, 3]
Generated Node #0,1,0: 76:[79, 3] Operation: 27-24=3
Exploring Operation: 24+27=51, Resulting Numbers: [79, 51]
Generated Node #0,1,1: 76:[79, 51] Operation: 24+27=51
Exploring Operation: 79-27=52, Resulting Numbers: [24, 52]
Generated Node #0,1,2: 76:[24, 52] Operation: 79-27=52
Moving to Node #0,2
Current State: 76:[79, 91, 40], Operations: ['64-24=40']
Exploring Operation: 91-40=51, Resulting Numbers: [79, 51]
Generated Node #0,2,0: 76:[79, 51] Operation: 91-40=51
Exploring Operation: 91-79=12, Resulting Numbers: [40, 12]
Generated Node #0,2,1: 76:[40, 12] Operation: 91-79=12
Exploring Operation: 79-40=39, Resulting Numbers: [91, 39]
Generated Node #0,2,2: 76:[91, 39] Operation: 79-40=39
Moving to Node #0,0
Current State: 76:[79, 64, 67], Operations: ['91-24=67']
Exploring Operation: 67-64=3, Resulting Numbers: [79, 3]
Generated Node #0,0,0: 76:[79, 3] Operation: 67-64=3
Exploring Operation: 79-64=15, Resulting Numbers: [67, 15]
Generated Node #0,0,1: 76:[67, 15] Operation: 79-64=15
Exploring Operation: 79-67=12, Resulting Numbers: [64, 12]
Generated Node #0,0,2: 76:[64, 12] Operation: 79-67=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[79, 3], Operations: ['91-24=67', '67-64=3']
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[24, 79, 91, 64], Operations: []
Exploring Operation: 91-24=67, Resulting Numbers: [79, 64, 67]
Generated Node #0,0: 76:[79, 64, 67] Operation: 91-24=67
Moving to Node #0,0
Current State: 76:[79, 64, 67], Operations: ['91-24=67']
Exploring Operation: 67-64=3, Resulting Numbers: [79, 3]
Generated Node #0,0,0: 76:[79, 3] Operation: 67-64=3
Moving to Node #0,0,0
Current State: 76:[79, 3], Operations: ['91-24=67', '67-64=3']
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 |
hs_3
|
mult_heuristic
|
[
36,
30,
18,
51
] | 68 |
[
"30+18=48",
"51*48=2448",
"2448/36=68"
] |
Current State: 68:[36, 30, 18, 51], Operations: []
Exploring Operation: 30+18=48, Resulting Numbers: [36, 51, 48]
Generated Node #2: [36, 51, 48] from Operation: 30+18=48
Current State: 68:[36, 51, 48], Operations: ['30+18=48']
Exploring Operation: 51*48=2448, Resulting Numbers: [36, 2448]
Generated Node #3: [36, 2448] from Operation: 51*48=2448
Current State: 68:[36, 2448], Operations: ['30+18=48', '51*48=2448']
Exploring Operation: 2448/36=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 |
Current State: 68:[36, 30, 18, 51], Operations: []
Exploring Operation: 51-36=15, Resulting Numbers: [30, 18, 15]
Generated Node #0,0: 68:[30, 18, 15] Operation: 51-36=15
Exploring Operation: 18+51=69, Resulting Numbers: [36, 30, 69]
Generated Node #0,1: 68:[36, 30, 69] Operation: 18+51=69
Exploring Operation: 51-18=33, Resulting Numbers: [36, 30, 33]
Generated Node #0,2: 68:[36, 30, 33] Operation: 51-18=33
Exploring Operation: 51-30=21, Resulting Numbers: [36, 18, 21]
Generated Node #0,3: 68:[36, 18, 21] Operation: 51-30=21
Moving to Node #0,0
Current State: 68:[30, 18, 15], Operations: ['51-36=15']
Exploring Operation: 30-15=15, Resulting Numbers: [18, 15]
Generated Node #0,0,0: 68:[18, 15] Operation: 30-15=15
Exploring Operation: 18+15=33, Resulting Numbers: [30, 33]
Generated Node #0,0,1: 68:[30, 33] Operation: 18+15=33
Exploring Operation: 18-15=3, Resulting Numbers: [30, 3]
Generated Node #0,0,2: 68:[30, 3] Operation: 18-15=3
Exploring Operation: 30/15=2, Resulting Numbers: [18, 2]
Generated Node #0,0,3: 68:[18, 2] Operation: 30/15=2
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 68:[18, 2], Operations: ['51-36=15', '30/15=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,68 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[18, 15], Operations: ['51-36=15', '30-15=15']
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Exploring Operation: 18*15=270, Resulting Numbers: [270]
270,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 68:[30, 33], Operations: ['51-36=15', '18+15=33']
Exploring Operation: 30+33=63, Resulting Numbers: [63]
63,68 unequal: No Solution
Exploring Operation: 30*33=990, Resulting Numbers: [990]
990,68 unequal: No Solution
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 68:[30, 3], Operations: ['51-36=15', '18-15=3']
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,68 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,68 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: 68:[36, 30, 33], Operations: ['51-18=33']
Exploring Operation: 36+33=69, Resulting Numbers: [30, 69]
Generated Node #0,2,0: 68:[30, 69] Operation: 36+33=69
Exploring Operation: 36-30=6, Resulting Numbers: [33, 6]
Generated Node #0,2,1: 68:[33, 6] Operation: 36-30=6
Exploring Operation: 33-30=3, Resulting Numbers: [36, 3]
Generated Node #0,2,2: 68:[36, 3] Operation: 33-30=3
Exploring Operation: 36+30=66, Resulting Numbers: [33, 66]
Generated Node #0,2,3: 68:[33, 66] Operation: 36+30=66
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 68:[33, 6], Operations: ['51-18=33', '36-30=6']
Exploring Operation: 33+6=39, Resulting Numbers: [39]
39,68 unequal: No Solution
Exploring Operation: 33*6=198, Resulting Numbers: [198]
198,68 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 68:[36, 3], Operations: ['51-18=33', '33-30=3']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,68 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,68 unequal: No Solution
Exploring Operation: 36*3=108, Resulting Numbers: [108]
108,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 68:[33, 66], Operations: ['51-18=33', '36+30=66']
Exploring Operation: 66/33=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 33+66=99, Resulting Numbers: [99]
99,68 unequal: No Solution
Exploring Operation: 33*66=2178, Resulting Numbers: [2178]
2178,68 unequal: No Solution
Exploring Operation: 66-33=33, Resulting Numbers: [33]
33,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 68:[30, 69], Operations: ['51-18=33', '36+33=69']
Exploring Operation: 30*69=2070, Resulting Numbers: [2070]
2070,68 unequal: No Solution
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,68 unequal: No Solution
Exploring Operation: 30+69=99, Resulting Numbers: [99]
99,68 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: 68:[36, 30, 69], Operations: ['18+51=69']
Exploring Operation: 69-30=39, Resulting Numbers: [36, 39]
Generated Node #0,1,0: 68:[36, 39] Operation: 69-30=39
Exploring Operation: 36-30=6, Resulting Numbers: [69, 6]
Generated Node #0,1,1: 68:[69, 6] Operation: 36-30=6
Exploring Operation: 36+30=66, Resulting Numbers: [69, 66]
Generated Node #0,1,2: 68:[69, 66] Operation: 36+30=66
Exploring Operation: 69-36=33, Resulting Numbers: [30, 33]
Generated Node #0,1,3: 68:[30, 33] Operation: 69-36=33
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[69, 6], Operations: ['18+51=69', '36-30=6']
Exploring Operation: 69*6=414, Resulting Numbers: [414]
414,68 unequal: No Solution
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,68 unequal: No Solution
Exploring Operation: 69+6=75, Resulting Numbers: [75]
75,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 68:[69, 66], Operations: ['18+51=69', '36+30=66']
Exploring Operation: 69-66=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 69+66=135, Resulting Numbers: [135]
135,68 unequal: No Solution
Exploring Operation: 69*66=4554, Resulting Numbers: [4554]
4554,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 68:[30, 33], Operations: ['18+51=69', '69-36=33']
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 30*33=990, Resulting Numbers: [990]
990,68 unequal: No Solution
Exploring Operation: 30+33=63, Resulting Numbers: [63]
63,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[36, 39], Operations: ['18+51=69', '69-30=39']
Exploring Operation: 36+39=75, Resulting Numbers: [75]
75,68 unequal: No Solution
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 36*39=1404, Resulting Numbers: [1404]
1404,68 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: 68:[36, 18, 21], Operations: ['51-30=21']
Exploring Operation: 36-18=18, Resulting Numbers: [21, 18]
Generated Node #0,3,0: 68:[21, 18] Operation: 36-18=18
Exploring Operation: 36/18=2, Resulting Numbers: [21, 2]
Generated Node #0,3,1: 68:[21, 2] Operation: 36/18=2
Exploring Operation: 21-18=3, Resulting Numbers: [36, 3]
Generated Node #0,3,2: 68:[36, 3] Operation: 21-18=3
Exploring Operation: 36-21=15, Resulting Numbers: [18, 15]
Generated Node #0,3,3: 68:[18, 15] Operation: 36-21=15
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 68:[36, 3], Operations: ['51-30=21', '21-18=3']
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,68 unequal: No Solution
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,68 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Exploring Operation: 36*3=108, Resulting Numbers: [108]
108,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 68:[18, 15], Operations: ['51-30=21', '36-21=15']
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Exploring Operation: 18*15=270, Resulting Numbers: [270]
270,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 68:[21, 2], Operations: ['51-30=21', '36/18=2']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 68:[21, 18], Operations: ['51-30=21', '36-18=18']
Exploring Operation: 21+18=39, Resulting Numbers: [39]
39,68 unequal: No Solution
Exploring Operation: 21*18=378, Resulting Numbers: [378]
378,68 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
3,
79,
5,
12
] | 17 |
[
"3+5=8",
"12*8=96",
"96-79=17"
] |
Current State: 17:[3, 79, 5, 12], Operations: []
Exploring Operation: 3+5=8, Resulting Numbers: [79, 12, 8]
Generated Node #2: [79, 12, 8] from Operation: 3+5=8
Current State: 17:[79, 12, 8], Operations: ['3+5=8']
Exploring Operation: 12*8=96, Resulting Numbers: [79, 96]
Generated Node #3: [79, 96] from Operation: 12*8=96
Current State: 17:[79, 96], Operations: ['3+5=8', '12*8=96']
Exploring Operation: 96-79=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 |
Current State: 17:[3, 79, 5, 12], Operations: []
Exploring Operation: 79-3=76, Resulting Numbers: [5, 12, 76]
Generated Node #0,0: 17:[5, 12, 76] Operation: 79-3=76
Exploring Operation: 3+5=8, Resulting Numbers: [79, 12, 8]
Generated Node #0,1: 17:[79, 12, 8] Operation: 3+5=8
Exploring Operation: 3+12=15, Resulting Numbers: [79, 5, 15]
Generated Node #0,2: 17:[79, 5, 15] Operation: 3+12=15
Exploring Operation: 3*5=15, Resulting Numbers: [79, 12, 15]
Generated Node #0,3: 17:[79, 12, 15] Operation: 3*5=15
Start Sub Search at level 1: Moving to Node #0,3
Current State: 17:[79, 12, 15], Operations: ['3*5=15']
Exploring Operation: 12+15=27, Resulting Numbers: [79, 27]
Generated Node #0,3,0: 17:[79, 27] Operation: 12+15=27
Exploring Operation: 79-12=67, Resulting Numbers: [15, 67]
Generated Node #0,3,1: 17:[15, 67] Operation: 79-12=67
Exploring Operation: 79-15=64, Resulting Numbers: [12, 64]
Generated Node #0,3,2: 17:[12, 64] Operation: 79-15=64
Exploring Operation: 79+12=91, Resulting Numbers: [15, 91]
Generated Node #0,3,3: 17:[15, 91] Operation: 79+12=91
Moving to Node #0,3,1
Current State: 17:[15, 67], Operations: ['3*5=15', '79-12=67']
Exploring Operation: 15+67=82, Resulting Numbers: [82]
82,17 unequal: No Solution
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,17 unequal: No Solution
Exploring Operation: 15*67=1005, Resulting Numbers: [1005]
1005,17 unequal: No Solution
Moving to Node #0,3,2
Current State: 17:[12, 64], Operations: ['3*5=15', '79-15=64']
Exploring Operation: 12*64=768, Resulting Numbers: [768]
768,17 unequal: No Solution
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,17 unequal: No Solution
Exploring Operation: 12+64=76, Resulting Numbers: [76]
76,17 unequal: No Solution
Moving to Node #0,3,0
Current State: 17:[79, 27], Operations: ['3*5=15', '12+15=27']
Exploring Operation: 79-27=52, Resulting Numbers: [52]
52,17 unequal: No Solution
Exploring Operation: 79*27=2133, Resulting Numbers: [2133]
2133,17 unequal: No Solution
Exploring Operation: 79+27=106, Resulting Numbers: [106]
106,17 unequal: No Solution
Moving to Node #0,3,3
Current State: 17:[15, 91], Operations: ['3*5=15', '79+12=91']
Exploring Operation: 15+91=106, Resulting Numbers: [106]
106,17 unequal: No Solution
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,17 unequal: No Solution
Exploring Operation: 15*91=1365, Resulting Numbers: [1365]
1365,17 unequal: No Solution
No 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: 17:[5, 12, 76], Operations: ['79-3=76']
Exploring Operation: 76-12=64, Resulting Numbers: [5, 64]
Generated Node #0,0,0: 17:[5, 64] Operation: 76-12=64
Exploring Operation: 76-5=71, Resulting Numbers: [12, 71]
Generated Node #0,0,1: 17:[12, 71] Operation: 76-5=71
Exploring Operation: 12-5=7, Resulting Numbers: [76, 7]
Generated Node #0,0,2: 17:[76, 7] Operation: 12-5=7
Exploring Operation: 5+12=17, Resulting Numbers: [76, 17]
Generated Node #0,0,3: 17:[76, 17] Operation: 5+12=17
Moving to Node #0,0,0
Current State: 17:[5, 64], Operations: ['79-3=76', '76-12=64']
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,17 unequal: No Solution
Exploring Operation: 5*64=320, Resulting Numbers: [320]
320,17 unequal: No Solution
Exploring Operation: 5+64=69, Resulting Numbers: [69]
69,17 unequal: No Solution
Moving to Node #0,0,3
Current State: 17:[76, 17], Operations: ['79-3=76', '5+12=17']
Exploring Operation: 76*17=1292, Resulting Numbers: [1292]
1292,17 unequal: No Solution
Exploring Operation: 76+17=93, Resulting Numbers: [93]
93,17 unequal: No Solution
Exploring Operation: 76-17=59, Resulting Numbers: [59]
59,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[12, 71], Operations: ['79-3=76', '76-5=71']
Exploring Operation: 12*71=852, Resulting Numbers: [852]
852,17 unequal: No Solution
Exploring Operation: 71-12=59, Resulting Numbers: [59]
59,17 unequal: No Solution
Exploring Operation: 12+71=83, Resulting Numbers: [83]
83,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[76, 7], Operations: ['79-3=76', '12-5=7']
Exploring Operation: 76-7=69, Resulting Numbers: [69]
69,17 unequal: No Solution
Exploring Operation: 76+7=83, Resulting Numbers: [83]
83,17 unequal: No Solution
Exploring Operation: 76*7=532, Resulting Numbers: [532]
532,17 unequal: No Solution
No 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: 17:[79, 12, 8], Operations: ['3+5=8']
Exploring Operation: 79-12=67, Resulting Numbers: [8, 67]
Generated Node #0,1,0: 17:[8, 67] Operation: 79-12=67
Exploring Operation: 79-8=71, Resulting Numbers: [12, 71]
Generated Node #0,1,1: 17:[12, 71] Operation: 79-8=71
Exploring Operation: 79+8=87, Resulting Numbers: [12, 87]
Generated Node #0,1,2: 17:[12, 87] Operation: 79+8=87
Exploring Operation: 12+8=20, Resulting Numbers: [79, 20]
Generated Node #0,1,3: 17:[79, 20] Operation: 12+8=20
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 17:[8, 67], Operations: ['3+5=8', '79-12=67']
Exploring Operation: 8*67=536, Resulting Numbers: [536]
536,17 unequal: No Solution
Exploring Operation: 8+67=75, Resulting Numbers: [75]
75,17 unequal: No Solution
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,17 unequal: No Solution
No 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: 17:[12, 71], Operations: ['3+5=8', '79-8=71']
Exploring Operation: 12+71=83, Resulting Numbers: [83]
83,17 unequal: No Solution
Exploring Operation: 12*71=852, Resulting Numbers: [852]
852,17 unequal: No Solution
Exploring Operation: 71-12=59, Resulting Numbers: [59]
59,17 unequal: No Solution
No 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: 17:[79, 20], Operations: ['3+5=8', '12+8=20']
Exploring Operation: 79+20=99, Resulting Numbers: [99]
99,17 unequal: No Solution
Exploring Operation: 79*20=1580, Resulting Numbers: [1580]
1580,17 unequal: No Solution
Exploring Operation: 79-20=59, Resulting Numbers: [59]
59,17 unequal: No Solution
No 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: 17:[12, 87], Operations: ['3+5=8', '79+8=87']
Exploring Operation: 12+87=99, Resulting Numbers: [99]
99,17 unequal: No Solution
Exploring Operation: 87-12=75, Resulting Numbers: [75]
75,17 unequal: No Solution
Exploring Operation: 12*87=1044, Resulting Numbers: [1044]
1044,17 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: 17:[79, 5, 15], Operations: ['3+12=15']
Exploring Operation: 79-5=74, Resulting Numbers: [15, 74]
Generated Node #0,2,0: 17:[15, 74] Operation: 79-5=74
Exploring Operation: 5+15=20, Resulting Numbers: [79, 20]
Generated Node #0,2,1: 17:[79, 20] Operation: 5+15=20
Exploring Operation: 79-15=64, Resulting Numbers: [5, 64]
Generated Node #0,2,2: 17:[5, 64] Operation: 79-15=64
Exploring Operation: 79+5=84, Resulting Numbers: [15, 84]
Generated Node #0,2,3: 17:[15, 84] Operation: 79+5=84
Moving to Node #0,2,0
Current State: 17:[15, 74], Operations: ['3+12=15', '79-5=74']
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,17 unequal: No Solution
Exploring Operation: 15+74=89, Resulting Numbers: [89]
89,17 unequal: No Solution
Exploring Operation: 15*74=1110, Resulting Numbers: [1110]
1110,17 unequal: No Solution
Moving to Node #0,2,2
Current State: 17:[5, 64], Operations: ['3+12=15', '79-15=64']
Exploring Operation: 5*64=320, Resulting Numbers: [320]
320,17 unequal: No Solution
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,17 unequal: No Solution
Exploring Operation: 5+64=69, Resulting Numbers: [69]
69,17 unequal: No Solution
Moving to Node #0,2,1
Current State: 17:[79, 20], Operations: ['3+12=15', '5+15=20']
Exploring Operation: 79-20=59, Resulting Numbers: [59]
59,17 unequal: No Solution
Exploring Operation: 79*20=1580, Resulting Numbers: [1580]
1580,17 unequal: No Solution
Exploring Operation: 79+20=99, Resulting Numbers: [99]
99,17 unequal: No Solution
Moving to Node #0,2,3
Current State: 17:[15, 84], Operations: ['3+12=15', '79+5=84']
Exploring Operation: 15+84=99, Resulting Numbers: [99]
99,17 unequal: No Solution
Exploring Operation: 84-15=69, Resulting Numbers: [69]
69,17 unequal: No Solution
Exploring Operation: 15*84=1260, Resulting Numbers: [1260]
1260,17 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
|
[
64,
95,
96,
37
] | 90 |
[
"95-64=31",
"96-37=59",
"31+59=90"
] |
Current State: 90:[64, 95, 96, 37], Operations: []
Exploring Operation: 95-64=31, Resulting Numbers: [96, 37, 31]
Generated Node #2: [96, 37, 31] from Operation: 95-64=31
Current State: 90:[96, 37, 31], Operations: ['95-64=31']
Exploring Operation: 96-37=59, Resulting Numbers: [31, 59]
Generated Node #3: [31, 59] from Operation: 96-37=59
Current State: 90:[31, 59], Operations: ['95-64=31', '96-37=59']
Exploring Operation: 31+59=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 |
Current State: 90:[64, 95, 96, 37], Operations: []
Exploring Operation: 95-64=31, Resulting Numbers: [96, 37, 31]
Generated Node #0,0: 90:[96, 37, 31] Operation: 95-64=31
Exploring Operation: 64+37=101, Resulting Numbers: [95, 96, 101]
Generated Node #0,1: 90:[95, 96, 101] Operation: 64+37=101
Exploring Operation: 96-64=32, Resulting Numbers: [95, 37, 32]
Generated Node #0,2: 90:[95, 37, 32] Operation: 96-64=32
Exploring Operation: 64-37=27, Resulting Numbers: [95, 96, 27]
Generated Node #0,3: 90:[95, 96, 27] Operation: 64-37=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[96, 37, 31], Operations: ['95-64=31']
Exploring Operation: 96-31=65, Resulting Numbers: [37, 65]
Generated Node #0,0,0: 90:[37, 65] Operation: 96-31=65
Exploring Operation: 37-31=6, Resulting Numbers: [96, 6]
Generated Node #0,0,1: 90:[96, 6] Operation: 37-31=6
Exploring Operation: 37+31=68, Resulting Numbers: [96, 68]
Generated Node #0,0,2: 90:[96, 68] Operation: 37+31=68
Exploring Operation: 96-37=59, Resulting Numbers: [31, 59]
Generated Node #0,0,3: 90:[31, 59] Operation: 96-37=59
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[96, 6], Operations: ['95-64=31', '37-31=6']
Exploring Operation: 96+6=102, Resulting Numbers: [102]
102,90 unequal: No Solution
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 96*6=576, Resulting Numbers: [576]
576,90 unequal: No Solution
Exploring Operation: 96-6=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[64, 95, 96, 37], Operations: []
Exploring Operation: 95-64=31, Resulting Numbers: [96, 37, 31]
Generated Node #0,0: 90:[96, 37, 31] Operation: 95-64=31
Moving to Node #0,0
Current State: 90:[96, 37, 31], Operations: ['95-64=31']
Exploring Operation: 37-31=6, Resulting Numbers: [96, 6]
Generated Node #0,0,1: 90:[96, 6] Operation: 37-31=6
Moving to Node #0,0,1
Current State: 90:[96, 6], Operations: ['95-64=31', '37-31=6']
Exploring Operation: 96-6=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 |
hs_4
|
mult_heuristic
|
[
17,
31,
29,
92
] | 77 |
[
"31-17=14",
"92-29=63",
"14+63=77"
] |
Current State: 77:[17, 31, 29, 92], Operations: []
Exploring Operation: 31-17=14, Resulting Numbers: [29, 92, 14]
Generated Node #2: [29, 92, 14] from Operation: 31-17=14
Current State: 77:[29, 92, 14], Operations: ['31-17=14']
Exploring Operation: 92-29=63, Resulting Numbers: [14, 63]
Generated Node #3: [14, 63] from Operation: 92-29=63
Current State: 77:[14, 63], Operations: ['31-17=14', '92-29=63']
Exploring Operation: 14+63=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 |
Current State: 77:[17, 31, 29, 92], Operations: []
Exploring Operation: 31+29=60, Resulting Numbers: [17, 92, 60]
Generated Node #0,0: 77:[17, 92, 60] Operation: 31+29=60
Exploring Operation: 31-29=2, Resulting Numbers: [17, 92, 2]
Generated Node #0,1: 77:[17, 92, 2] Operation: 31-29=2
Exploring Operation: 31-17=14, Resulting Numbers: [29, 92, 14]
Generated Node #0,2: 77:[29, 92, 14] Operation: 31-17=14
Exploring Operation: 29-17=12, Resulting Numbers: [31, 92, 12]
Generated Node #0,3: 77:[31, 92, 12] Operation: 29-17=12
Moving to Node #0,1
Current State: 77:[17, 92, 2], Operations: ['31-29=2']
Exploring Operation: 92-2=90, Resulting Numbers: [17, 90]
Generated Node #0,1,0: 77:[17, 90] Operation: 92-2=90
Exploring Operation: 17+2=19, Resulting Numbers: [92, 19]
Generated Node #0,1,1: 77:[92, 19] Operation: 17+2=19
Exploring Operation: 92-17=75, Resulting Numbers: [2, 75]
Generated Node #0,1,2: 77:[2, 75] Operation: 92-17=75
Exploring Operation: 17-2=15, Resulting Numbers: [92, 15]
Generated Node #0,1,3: 77:[92, 15] Operation: 17-2=15
Moving to Node #0,3
Current State: 77:[31, 92, 12], Operations: ['29-17=12']
Exploring Operation: 92-12=80, Resulting Numbers: [31, 80]
Generated Node #0,3,0: 77:[31, 80] Operation: 92-12=80
Exploring Operation: 92-31=61, Resulting Numbers: [12, 61]
Generated Node #0,3,1: 77:[12, 61] Operation: 92-31=61
Exploring Operation: 31-12=19, Resulting Numbers: [92, 19]
Generated Node #0,3,2: 77:[92, 19] Operation: 31-12=19
Exploring Operation: 31+92=123, Resulting Numbers: [12, 123]
Generated Node #0,3,3: 77:[12, 123] Operation: 31+92=123
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 77:[12, 61], Operations: ['29-17=12', '92-31=61']
Exploring Operation: 12+61=73, Resulting Numbers: [73]
73,77 unequal: No Solution
Exploring Operation: 12*61=732, Resulting Numbers: [732]
732,77 unequal: No Solution
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 77:[31, 80], Operations: ['29-17=12', '92-12=80']
Exploring Operation: 31*80=2480, Resulting Numbers: [2480]
2480,77 unequal: No Solution
Exploring Operation: 31+80=111, Resulting Numbers: [111]
111,77 unequal: No Solution
Exploring Operation: 80-31=49, Resulting Numbers: [49]
49,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 77:[92, 19], Operations: ['29-17=12', '31-12=19']
Exploring Operation: 92*19=1748, Resulting Numbers: [1748]
1748,77 unequal: No Solution
Exploring Operation: 92+19=111, Resulting Numbers: [111]
111,77 unequal: No Solution
Exploring Operation: 92-19=73, Resulting Numbers: [73]
73,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 77:[12, 123], Operations: ['29-17=12', '31+92=123']
Exploring Operation: 123-12=111, Resulting Numbers: [111]
111,77 unequal: No Solution
Exploring Operation: 12+123=135, Resulting Numbers: [135]
135,77 unequal: No Solution
Exploring Operation: 12*123=1476, Resulting Numbers: [1476]
1476,77 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: 77:[29, 92, 14], Operations: ['31-17=14']
Exploring Operation: 92-29=63, Resulting Numbers: [14, 63]
Generated Node #0,2,0: 77:[14, 63] Operation: 92-29=63
Exploring Operation: 29-14=15, Resulting Numbers: [92, 15]
Generated Node #0,2,1: 77:[92, 15] Operation: 29-14=15
Exploring Operation: 29+92=121, Resulting Numbers: [14, 121]
Generated Node #0,2,2: 77:[14, 121] Operation: 29+92=121
Exploring Operation: 92-14=78, Resulting Numbers: [29, 78]
Generated Node #0,2,3: 77:[29, 78] Operation: 92-14=78
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 77:[14, 63], Operations: ['31-17=14', '92-29=63']
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,77 unequal: No Solution
Exploring Operation: 14*63=882, Resulting Numbers: [882]
882,77 unequal: No Solution
Exploring Operation: 14+63=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[17, 31, 29, 92], Operations: []
Exploring Operation: 31-17=14, Resulting Numbers: [29, 92, 14]
Generated Node #0,2: 77:[29, 92, 14] Operation: 31-17=14
Moving to Node #0,2
Current State: 77:[29, 92, 14], Operations: ['31-17=14']
Exploring Operation: 92-29=63, Resulting Numbers: [14, 63]
Generated Node #0,2,0: 77:[14, 63] Operation: 92-29=63
Moving to Node #0,2,0
Current State: 77:[14, 63], Operations: ['31-17=14', '92-29=63']
Exploring Operation: 14+63=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 |
hs_4
|
sum_heuristic
|
[
4,
28,
34,
83
] | 85 |
[
"4+28=32",
"34+83=117",
"117-32=85"
] |
Current State: 85:[4, 28, 34, 83], Operations: []
Exploring Operation: 4+28=32, Resulting Numbers: [34, 83, 32]
Generated Node #2: [34, 83, 32] from Operation: 4+28=32
Current State: 85:[34, 83, 32], Operations: ['4+28=32']
Exploring Operation: 34+83=117, Resulting Numbers: [32, 117]
Generated Node #3: [32, 117] from Operation: 34+83=117
Current State: 85:[32, 117], Operations: ['4+28=32', '34+83=117']
Exploring Operation: 117-32=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 |
Current State: 85:[4, 28, 34, 83], Operations: []
Exploring Operation: 28/4=7, Resulting Numbers: [34, 83, 7]
Generated Node #0,0: 85:[34, 83, 7] Operation: 28/4=7
Exploring Operation: 28-4=24, Resulting Numbers: [34, 83, 24]
Generated Node #0,1: 85:[34, 83, 24] Operation: 28-4=24
Exploring Operation: 34-4=30, Resulting Numbers: [28, 83, 30]
Generated Node #0,2: 85:[28, 83, 30] Operation: 34-4=30
Exploring Operation: 34-28=6, Resulting Numbers: [4, 83, 6]
Generated Node #0,3: 85:[4, 83, 6] Operation: 34-28=6
Moving to Node #0,3
Current State: 85:[4, 83, 6], Operations: ['34-28=6']
Exploring Operation: 6-4=2, Resulting Numbers: [83, 2]
Generated Node #0,3,0: 85:[83, 2] Operation: 6-4=2
Exploring Operation: 4+83=87, Resulting Numbers: [6, 87]
Generated Node #0,3,1: 85:[6, 87] Operation: 4+83=87
Exploring Operation: 83+6=89, Resulting Numbers: [4, 89]
Generated Node #0,3,2: 85:[4, 89] Operation: 83+6=89
Exploring Operation: 83-4=79, Resulting Numbers: [6, 79]
Generated Node #0,3,3: 85:[6, 79] Operation: 83-4=79
Moving to Node #0,0
Current State: 85:[34, 83, 7], Operations: ['28/4=7']
Exploring Operation: 34-7=27, Resulting Numbers: [83, 27]
Generated Node #0,0,0: 85:[83, 27] Operation: 34-7=27
Exploring Operation: 83+7=90, Resulting Numbers: [34, 90]
Generated Node #0,0,1: 85:[34, 90] Operation: 83+7=90
Exploring Operation: 83-7=76, Resulting Numbers: [34, 76]
Generated Node #0,0,2: 85:[34, 76] Operation: 83-7=76
Exploring Operation: 34+7=41, Resulting Numbers: [83, 41]
Generated Node #0,0,3: 85:[83, 41] Operation: 34+7=41
Moving to Node #0,2
Current State: 85:[28, 83, 30], Operations: ['34-4=30']
Exploring Operation: 30-28=2, Resulting Numbers: [83, 2]
Generated Node #0,2,0: 85:[83, 2] Operation: 30-28=2
Exploring Operation: 28+83=111, Resulting Numbers: [30, 111]
Generated Node #0,2,1: 85:[30, 111] Operation: 28+83=111
Exploring Operation: 28+30=58, Resulting Numbers: [83, 58]
Generated Node #0,2,2: 85:[83, 58] Operation: 28+30=58
Exploring Operation: 83+30=113, Resulting Numbers: [28, 113]
Generated Node #0,2,3: 85:[28, 113] Operation: 83+30=113
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 85:[83, 2], Operations: ['34-4=30', '30-28=2']
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[4, 28, 34, 83], Operations: []
Exploring Operation: 34-4=30, Resulting Numbers: [28, 83, 30]
Generated Node #0,2: 85:[28, 83, 30] Operation: 34-4=30
Moving to Node #0,2
Current State: 85:[28, 83, 30], Operations: ['34-4=30']
Exploring Operation: 30-28=2, Resulting Numbers: [83, 2]
Generated Node #0,2,0: 85:[83, 2] Operation: 30-28=2
Moving to Node #0,2,0
Current State: 85:[83, 2], Operations: ['34-4=30', '30-28=2']
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 |
hs_4
|
mult_heuristic
|
[
26,
75,
90,
85
] | 55 |
[
"90-85=5",
"26*5=130",
"130-75=55"
] |
Current State: 55:[26, 75, 90, 85], Operations: []
Exploring Operation: 90-85=5, Resulting Numbers: [26, 75, 5]
Generated Node #2: [26, 75, 5] from Operation: 90-85=5
Current State: 55:[26, 75, 5], Operations: ['90-85=5']
Exploring Operation: 26*5=130, Resulting Numbers: [75, 130]
Generated Node #3: [75, 130] from Operation: 26*5=130
Current State: 55:[75, 130], Operations: ['90-85=5', '26*5=130']
Exploring Operation: 130-75=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 |
Current State: 55:[26, 75, 90, 85], Operations: []
Exploring Operation: 90-75=15, Resulting Numbers: [26, 85, 15]
Generated Node #0,0: 55:[26, 85, 15] Operation: 90-75=15
Exploring Operation: 90-85=5, Resulting Numbers: [26, 75, 5]
Generated Node #0,1: 55:[26, 75, 5] Operation: 90-85=5
Moving to Node #0,1
Current State: 55:[26, 75, 5], Operations: ['90-85=5']
Exploring Operation: 75/5=15, Resulting Numbers: [26, 15]
Generated Node #0,1,0: 55:[26, 15] Operation: 75/5=15
Exploring Operation: 75-26=49, Resulting Numbers: [5, 49]
Generated Node #0,1,1: 55:[5, 49] Operation: 75-26=49
Moving to Node #0,0
Current State: 55:[26, 85, 15], Operations: ['90-75=15']
Exploring Operation: 85-26=59, Resulting Numbers: [15, 59]
Generated Node #0,0,0: 55:[15, 59] Operation: 85-26=59
Exploring Operation: 26-15=11, Resulting Numbers: [85, 11]
Generated Node #0,0,1: 55:[85, 11] Operation: 26-15=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[15, 59], Operations: ['90-75=15', '85-26=59']
Exploring Operation: 15+59=74, Resulting Numbers: [74]
74,55 unequal: No Solution
Exploring Operation: 59-15=44, Resulting Numbers: [44]
44,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[85, 11], Operations: ['90-75=15', '26-15=11']
Exploring Operation: 85-11=74, Resulting Numbers: [74]
74,55 unequal: No Solution
Exploring Operation: 85+11=96, Resulting Numbers: [96]
96,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 55:[5, 49], Operations: ['90-85=5', '75-26=49']
Exploring Operation: 5+49=54, Resulting Numbers: [54]
54,55 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[26, 15], Operations: ['90-85=5', '75/5=15']
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,55 unequal: No Solution
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,55 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
48,
23,
74,
2
] | 76 |
[
"48+74=122",
"23*2=46",
"122-46=76"
] |
Current State: 76:[48, 23, 74, 2], Operations: []
Exploring Operation: 48+74=122, Resulting Numbers: [23, 2, 122]
Generated Node #2: [23, 2, 122] from Operation: 48+74=122
Current State: 76:[23, 2, 122], Operations: ['48+74=122']
Exploring Operation: 23*2=46, Resulting Numbers: [122, 46]
Generated Node #3: [122, 46] from Operation: 23*2=46
Current State: 76:[122, 46], Operations: ['48+74=122', '23*2=46']
Exploring Operation: 122-46=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 |
Current State: 76:[48, 23, 74, 2], Operations: []
Exploring Operation: 48+23=71, Resulting Numbers: [74, 2, 71]
Generated Node #0,0: 76:[74, 2, 71] Operation: 48+23=71
Exploring Operation: 48-23=25, Resulting Numbers: [74, 2, 25]
Generated Node #0,1: 76:[74, 2, 25] Operation: 48-23=25
Exploring Operation: 74-48=26, Resulting Numbers: [23, 2, 26]
Generated Node #0,2: 76:[23, 2, 26] Operation: 74-48=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[74, 2, 71], Operations: ['48+23=71']
Exploring Operation: 74-71=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 76:[2, 3] Operation: 74-71=3
Exploring Operation: 74+2=76, Resulting Numbers: [71, 76]
Generated Node #0,0,1: 76:[71, 76] Operation: 74+2=76
Exploring Operation: 2+71=73, Resulting Numbers: [74, 73]
Generated Node #0,0,2: 76:[74, 73] Operation: 2+71=73
Moving to Node #0,0,0
Current State: 76:[2, 3], Operations: ['48+23=71', '74-71=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[71, 76], Operations: ['48+23=71', '74+2=76']
Exploring Operation: 76-71=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 71*76=5396, Resulting Numbers: [5396]
5396,76 unequal: No Solution
Exploring Operation: 71+76=147, Resulting Numbers: [147]
147,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[74, 73], Operations: ['48+23=71', '2+71=73']
Exploring Operation: 74+73=147, Resulting Numbers: [147]
147,76 unequal: No Solution
Exploring Operation: 74*73=5402, Resulting Numbers: [5402]
5402,76 unequal: No Solution
Exploring Operation: 74-73=1, Resulting Numbers: [1]
1,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[74, 2, 25], Operations: ['48-23=25']
Exploring Operation: 74/2=37, Resulting Numbers: [25, 37]
Generated Node #0,1,0: 76:[25, 37] Operation: 74/2=37
Exploring Operation: 25-2=23, Resulting Numbers: [74, 23]
Generated Node #0,1,1: 76:[74, 23] Operation: 25-2=23
Exploring Operation: 74+2=76, Resulting Numbers: [25, 76]
Generated Node #0,1,2: 76:[25, 76] Operation: 74+2=76
Moving to Node #0,1,1
Current State: 76:[74, 23], Operations: ['48-23=25', '25-2=23']
Exploring Operation: 74*23=1702, Resulting Numbers: [1702]
1702,76 unequal: No Solution
Exploring Operation: 74+23=97, Resulting Numbers: [97]
97,76 unequal: No Solution
Exploring Operation: 74-23=51, Resulting Numbers: [51]
51,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[25, 76], Operations: ['48-23=25', '74+2=76']
Exploring Operation: 76-25=51, Resulting Numbers: [51]
51,76 unequal: No Solution
Exploring Operation: 25+76=101, Resulting Numbers: [101]
101,76 unequal: No Solution
Exploring Operation: 25*76=1900, Resulting Numbers: [1900]
1900,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[25, 37], Operations: ['48-23=25', '74/2=37']
Exploring Operation: 25*37=925, Resulting Numbers: [925]
925,76 unequal: No Solution
Exploring Operation: 25+37=62, Resulting Numbers: [62]
62,76 unequal: No Solution
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,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
Current State: 76:[23, 2, 26], Operations: ['74-48=26']
Exploring Operation: 26-23=3, Resulting Numbers: [2, 3]
Generated Node #0,2,0: 76:[2, 3] Operation: 26-23=3
Exploring Operation: 23-2=21, Resulting Numbers: [26, 21]
Generated Node #0,2,1: 76:[26, 21] Operation: 23-2=21
Exploring Operation: 26-2=24, Resulting Numbers: [23, 24]
Generated Node #0,2,2: 76:[23, 24] Operation: 26-2=24
Moving to Node #0,2,0
Current State: 76:[2, 3], Operations: ['74-48=26', '26-23=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Moving to Node #0,2,1
Current State: 76:[26, 21], Operations: ['74-48=26', '23-2=21']
Exploring Operation: 26+21=47, Resulting Numbers: [47]
47,76 unequal: No Solution
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 26*21=546, Resulting Numbers: [546]
546,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[23, 24], Operations: ['74-48=26', '26-2=24']
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 23*24=552, Resulting Numbers: [552]
552,76 unequal: No Solution
Exploring Operation: 23+24=47, Resulting Numbers: [47]
47,76 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
|
[
19,
87,
84,
23
] | 50 |
[
"87-84=3",
"23*3=69",
"69-19=50"
] |
Current State: 50:[19, 87, 84, 23], Operations: []
Exploring Operation: 87-84=3, Resulting Numbers: [19, 23, 3]
Generated Node #2: [19, 23, 3] from Operation: 87-84=3
Current State: 50:[19, 23, 3], Operations: ['87-84=3']
Exploring Operation: 23*3=69, Resulting Numbers: [19, 69]
Generated Node #3: [19, 69] from Operation: 23*3=69
Current State: 50:[19, 69], Operations: ['87-84=3', '23*3=69']
Exploring Operation: 69-19=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 |
Current State: 50:[19, 87, 84, 23], Operations: []
Exploring Operation: 87-19=68, Resulting Numbers: [84, 23, 68]
Generated Node #0,0: 50:[84, 23, 68] Operation: 87-19=68
Exploring Operation: 87-84=3, Resulting Numbers: [19, 23, 3]
Generated Node #0,1: 50:[19, 23, 3] Operation: 87-84=3
Exploring Operation: 87-23=64, Resulting Numbers: [19, 84, 64]
Generated Node #0,2: 50:[19, 84, 64] Operation: 87-23=64
Exploring Operation: 84-19=65, Resulting Numbers: [87, 23, 65]
Generated Node #0,3: 50:[87, 23, 65] Operation: 84-19=65
Moving to Node #0,1
Current State: 50:[19, 23, 3], Operations: ['87-84=3']
Exploring Operation: 23-19=4, Resulting Numbers: [3, 4]
Generated Node #0,1,0: 50:[3, 4] Operation: 23-19=4
Exploring Operation: 19-3=16, Resulting Numbers: [23, 16]
Generated Node #0,1,1: 50:[23, 16] Operation: 19-3=16
Exploring Operation: 23+3=26, Resulting Numbers: [19, 26]
Generated Node #0,1,2: 50:[19, 26] Operation: 23+3=26
Exploring Operation: 19+3=22, Resulting Numbers: [23, 22]
Generated Node #0,1,3: 50:[23, 22] Operation: 19+3=22
Moving to Node #0,2
Current State: 50:[19, 84, 64], Operations: ['87-23=64']
Exploring Operation: 84-64=20, Resulting Numbers: [19, 20]
Generated Node #0,2,0: 50:[19, 20] Operation: 84-64=20
Exploring Operation: 64-19=45, Resulting Numbers: [84, 45]
Generated Node #0,2,1: 50:[84, 45] Operation: 64-19=45
Exploring Operation: 19+84=103, Resulting Numbers: [64, 103]
Generated Node #0,2,2: 50:[64, 103] Operation: 19+84=103
Exploring Operation: 84-19=65, Resulting Numbers: [64, 65]
Generated Node #0,2,3: 50:[64, 65] Operation: 84-19=65
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 50:[19, 20], Operations: ['87-23=64', '84-64=20']
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 19*20=380, Resulting Numbers: [380]
380,50 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 50:[64, 65], Operations: ['87-23=64', '84-19=65']
Exploring Operation: 64*65=4160, Resulting Numbers: [4160]
4160,50 unequal: No Solution
Exploring Operation: 65-64=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 64+65=129, Resulting Numbers: [129]
129,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 50:[84, 45], Operations: ['87-23=64', '64-19=45']
Exploring Operation: 84+45=129, Resulting Numbers: [129]
129,50 unequal: No Solution
Exploring Operation: 84-45=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 84*45=3780, Resulting Numbers: [3780]
3780,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 50:[64, 103], Operations: ['87-23=64', '19+84=103']
Exploring Operation: 64*103=6592, Resulting Numbers: [6592]
6592,50 unequal: No Solution
Exploring Operation: 103-64=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 64+103=167, Resulting Numbers: [167]
167,50 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: 50:[84, 23, 68], Operations: ['87-19=68']
Exploring Operation: 84-68=16, Resulting Numbers: [23, 16]
Generated Node #0,0,0: 50:[23, 16] Operation: 84-68=16
Exploring Operation: 84-23=61, Resulting Numbers: [68, 61]
Generated Node #0,0,1: 50:[68, 61] Operation: 84-23=61
Exploring Operation: 84+23=107, Resulting Numbers: [68, 107]
Generated Node #0,0,2: 50:[68, 107] Operation: 84+23=107
Exploring Operation: 68-23=45, Resulting Numbers: [84, 45]
Generated Node #0,0,3: 50:[84, 45] Operation: 68-23=45
Moving to Node #0,3
Current State: 50:[87, 23, 65], Operations: ['84-19=65']
Exploring Operation: 87-65=22, Resulting Numbers: [23, 22]
Generated Node #0,3,0: 50:[23, 22] Operation: 87-65=22
Exploring Operation: 87+23=110, Resulting Numbers: [65, 110]
Generated Node #0,3,1: 50:[65, 110] Operation: 87+23=110
Exploring Operation: 87-23=64, Resulting Numbers: [65, 64]
Generated Node #0,3,2: 50:[65, 64] Operation: 87-23=64
Exploring Operation: 65-23=42, Resulting Numbers: [87, 42]
Generated Node #0,3,3: 50:[87, 42] Operation: 65-23=42
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 50:[23, 22], Operations: ['84-19=65', '87-65=22']
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,50 unequal: No Solution
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,50 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 50:[65, 64], Operations: ['84-19=65', '87-23=64']
Exploring Operation: 65*64=4160, Resulting Numbers: [4160]
4160,50 unequal: No Solution
Exploring Operation: 65-64=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 65+64=129, Resulting Numbers: [129]
129,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 50:[87, 42], Operations: ['84-19=65', '65-23=42']
Exploring Operation: 87-42=45, Resulting Numbers: [45]
45,50 unequal: No Solution
Exploring Operation: 87*42=3654, Resulting Numbers: [3654]
3654,50 unequal: No Solution
Exploring Operation: 87+42=129, Resulting Numbers: [129]
129,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 50:[65, 110], Operations: ['84-19=65', '87+23=110']
Exploring Operation: 110-65=45, Resulting Numbers: [45]
45,50 unequal: No Solution
Exploring Operation: 65+110=175, Resulting Numbers: [175]
175,50 unequal: No Solution
Exploring Operation: 65*110=7150, Resulting Numbers: [7150]
7150,50 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: 50:[3, 4], Operations: ['87-84=3', '23-19=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Moving to Node #0,1,3
Current State: 50:[23, 22], Operations: ['87-84=3', '19+3=22']
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,50 unequal: No Solution
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[19, 26], Operations: ['87-84=3', '23+3=26']
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 19+26=45, Resulting Numbers: [45]
45,50 unequal: No Solution
Exploring Operation: 19*26=494, Resulting Numbers: [494]
494,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[23, 16], Operations: ['87-19=68', '84-68=16']
Exploring Operation: 23+16=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 23*16=368, Resulting Numbers: [368]
368,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[23, 16], Operations: ['87-84=3', '19-3=16']
Exploring Operation: 23*16=368, Resulting Numbers: [368]
368,50 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 23+16=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[68, 61], Operations: ['87-19=68', '84-23=61']
Exploring Operation: 68*61=4148, Resulting Numbers: [4148]
4148,50 unequal: No Solution
Exploring Operation: 68+61=129, Resulting Numbers: [129]
129,50 unequal: No Solution
Exploring Operation: 68-61=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Moving to Node #0,0,3
Current State: 50:[84, 45], Operations: ['87-19=68', '68-23=45']
Exploring Operation: 84*45=3780, Resulting Numbers: [3780]
3780,50 unequal: No Solution
Exploring Operation: 84+45=129, Resulting Numbers: [129]
129,50 unequal: No Solution
Exploring Operation: 84-45=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Moving to Node #0,0,2
Current State: 50:[68, 107], Operations: ['87-19=68', '84+23=107']
Exploring Operation: 68*107=7276, Resulting Numbers: [7276]
7276,50 unequal: No Solution
Exploring Operation: 107-68=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 68+107=175, Resulting Numbers: [175]
175,50 unequal: No Solution
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
42,
70,
78,
68
] | 99 |
[
"70-68=2",
"42/2=21",
"78+21=99"
] |
Current State: 99:[42, 70, 78, 68], Operations: []
Exploring Operation: 70-68=2, Resulting Numbers: [42, 78, 2]
Generated Node #2: [42, 78, 2] from Operation: 70-68=2
Current State: 99:[42, 78, 2], Operations: ['70-68=2']
Exploring Operation: 42/2=21, Resulting Numbers: [78, 21]
Generated Node #3: [78, 21] from Operation: 42/2=21
Current State: 99:[78, 21], Operations: ['70-68=2', '42/2=21']
Exploring Operation: 78+21=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 |
Current State: 99:[42, 70, 78, 68], Operations: []
Exploring Operation: 70-68=2, Resulting Numbers: [42, 78, 2]
Generated Node #0,0: 99:[42, 78, 2] Operation: 70-68=2
Moving to Node #0,0
Current State: 99:[42, 78, 2], Operations: ['70-68=2']
Exploring Operation: 78-42=36, Resulting Numbers: [2, 36]
Generated Node #0,0,0: 99:[2, 36] Operation: 78-42=36
Moving to Node #0,0,0
Current State: 99:[2, 36], Operations: ['70-68=2', '78-42=36']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,99 unequal: No Solution
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
86,
2,
34,
92
] | 56 |
[
"86+34=120",
"120-92=28",
"2*28=56"
] |
Current State: 56:[86, 2, 34, 92], Operations: []
Exploring Operation: 86+34=120, Resulting Numbers: [2, 92, 120]
Generated Node #2: [2, 92, 120] from Operation: 86+34=120
Current State: 56:[2, 92, 120], Operations: ['86+34=120']
Exploring Operation: 120-92=28, Resulting Numbers: [2, 28]
Generated Node #3: [2, 28] from Operation: 120-92=28
Current State: 56:[2, 28], Operations: ['86+34=120', '120-92=28']
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 |
Current State: 56:[86, 2, 34, 92], Operations: []
Exploring Operation: 92-34=58, Resulting Numbers: [86, 2, 58]
Generated Node #0,0: 56:[86, 2, 58] Operation: 92-34=58
Exploring Operation: 92-86=6, Resulting Numbers: [2, 34, 6]
Generated Node #0,1: 56:[2, 34, 6] Operation: 92-86=6
Exploring Operation: 86-34=52, Resulting Numbers: [2, 92, 52]
Generated Node #0,2: 56:[2, 92, 52] Operation: 86-34=52
Exploring Operation: 86/2=43, Resulting Numbers: [34, 92, 43]
Generated Node #0,3: 56:[34, 92, 43] Operation: 86/2=43
Exploring Operation: 92/2=46, Resulting Numbers: [86, 34, 46]
Generated Node #0,4: 56:[86, 34, 46] Operation: 92/2=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[2, 34, 6], Operations: ['92-86=6']
Exploring Operation: 34/2=17, Resulting Numbers: [6, 17]
Generated Node #0,1,0: 56:[6, 17] Operation: 34/2=17
Exploring Operation: 34-2=32, Resulting Numbers: [6, 32]
Generated Node #0,1,1: 56:[6, 32] Operation: 34-2=32
Exploring Operation: 34-6=28, Resulting Numbers: [2, 28]
Generated Node #0,1,2: 56:[2, 28] Operation: 34-6=28
Exploring Operation: 2+6=8, Resulting Numbers: [34, 8]
Generated Node #0,1,3: 56:[34, 8] Operation: 2+6=8
Exploring Operation: 6-2=4, Resulting Numbers: [34, 4]
Generated Node #0,1,4: 56:[34, 4] Operation: 6-2=4
Moving to Node #0,1,2
Current State: 56:[2, 28], Operations: ['92-86=6', '34-6=28']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[86, 2, 34, 92], Operations: []
Exploring Operation: 92-86=6, Resulting Numbers: [2, 34, 6]
Generated Node #0,1: 56:[2, 34, 6] Operation: 92-86=6
Moving to Node #0,1
Current State: 56:[2, 34, 6], Operations: ['92-86=6']
Exploring Operation: 34-6=28, Resulting Numbers: [2, 28]
Generated Node #0,1,2: 56:[2, 28] Operation: 34-6=28
Moving to Node #0,1,2
Current State: 56:[2, 28], Operations: ['92-86=6', '34-6=28']
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_5
|
mult_heuristic
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.