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 |
|---|---|---|---|---|---|---|---|---|
[
30,
4,
2,
25
] | 36 | [
"30/2=15",
"25-4=21",
"15+21=36"
] | Current State: 36:[30, 4, 2, 25], Operations: []
Exploring Operation: 30/2=15, Resulting Numbers: [4, 25, 15]
Generated Node #2: [4, 25, 15] from Operation: 30/2=15
Current State: 36:[4, 25, 15], Operations: ['30/2=15']
Exploring Operation: 25-4=21, Resulting Numbers: [15, 21]
Generated Node #3: [15, 21] from Operation: 25-4=21
Current State: 36:[15, 21], Operations: ['30/2=15', '25-4=21']
Exploring Operation: 15+21=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[30, 4, 2, 25], Operations: []
Exploring Operation: 25-4=21, Resulting Numbers: [30, 2, 21]
Generated Node #0,0: 36:[30, 2, 21] Operation: 25-4=21
Exploring Operation: 30-25=5, Resulting Numbers: [4, 2, 5]
Generated Node #0,1: 36:[4, 2, 5] Operation: 30-25=5
Exploring Operation: 30+4=34, Resulting Numbers: [2, 25, 34]
Generated Node #0,2: 36:[2, 25, 34] Operation: 30+4=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[4, 2, 5], Operations: ['30-25=5']
Exploring Operation: 4+2=6, Resulting Numbers: [5, 6]
Generated Node #0,1,0: 36:[5, 6] Operation: 4+2=6
Exploring Operation: 5-2=3, Resulting Numbers: [4, 3]
Generated Node #0,1,1: 36:[4, 3] Operation: 5-2=3
Exploring Operation: 4+5=9, Resulting Numbers: [2, 9]
Generated Node #0,1,2: 36:[2, 9] Operation: 4+5=9
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 36:[4, 3], Operations: ['30-25=5', '5-2=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 36:[2, 9], Operations: ['30-25=5', '4+5=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 36:[5, 6], Operations: ['30-25=5', '4+2=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[30, 2, 21], Operations: ['25-4=21']
Exploring Operation: 30-21=9, Resulting Numbers: [2, 9]
Generated Node #0,0,0: 36:[2, 9] Operation: 30-21=9
Exploring Operation: 30/2=15, Resulting Numbers: [21, 15]
Generated Node #0,0,1: 36:[21, 15] Operation: 30/2=15
Exploring Operation: 30+2=32, Resulting Numbers: [21, 32]
Generated Node #0,0,2: 36:[21, 32] Operation: 30+2=32
Moving to Node #0,0,0
Current State: 36:[2, 9], Operations: ['25-4=21', '30-21=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[21, 15], Operations: ['25-4=21', '30/2=15']
Exploring Operation: 21*15=315, Resulting Numbers: [315]
315,36 unequal: No Solution
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[30, 4, 2, 25], Operations: []
Exploring Operation: 25-4=21, Resulting Numbers: [30, 2, 21]
Generated Node #0,0: 36:[30, 2, 21] Operation: 25-4=21
Moving to Node #0,0
Current State: 36:[30, 2, 21], Operations: ['25-4=21']
Exploring Operation: 30/2=15, Resulting Numbers: [21, 15]
Generated Node #0,0,1: 36:[21, 15] Operation: 30/2=15
Moving to Node #0,0,1
Current State: 36:[21, 15], Operations: ['25-4=21', '30/2=15']
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
24,
36,
26,
27
] | 18 | [
"26-24=2",
"36-27=9",
"2*9=18"
] | Current State: 18:[24, 36, 26, 27], Operations: []
Exploring Operation: 26-24=2, Resulting Numbers: [36, 27, 2]
Generated Node #2: [36, 27, 2] from Operation: 26-24=2
Current State: 18:[36, 27, 2], Operations: ['26-24=2']
Exploring Operation: 36-27=9, Resulting Numbers: [2, 9]
Generated Node #3: [2, 9] from Operation: 36-27=9
Current State: 18:[2, 9], Operations: ['26-24=2', '36-27=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[24, 36, 26, 27], Operations: []
Exploring Operation: 36-27=9, Resulting Numbers: [24, 26, 9]
Generated Node #0,0: 18:[24, 26, 9] Operation: 36-27=9
Exploring Operation: 36-26=10, Resulting Numbers: [24, 27, 10]
Generated Node #0,1: 18:[24, 27, 10] Operation: 36-26=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[24, 26, 9], Operations: ['36-27=9']
Exploring Operation: 26-9=17, Resulting Numbers: [24, 17]
Generated Node #0,0,0: 18:[24, 17] Operation: 26-9=17
Exploring Operation: 26-24=2, Resulting Numbers: [9, 2]
Generated Node #0,0,1: 18:[9, 2] Operation: 26-24=2
Moving to Node #0,0,1
Current State: 18:[9, 2], Operations: ['36-27=9', '26-24=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[24, 36, 26, 27], Operations: []
Exploring Operation: 36-27=9, Resulting Numbers: [24, 26, 9]
Generated Node #0,0: 18:[24, 26, 9] Operation: 36-27=9
Moving to Node #0,0
Current State: 18:[24, 26, 9], Operations: ['36-27=9']
Exploring Operation: 26-24=2, Resulting Numbers: [9, 2]
Generated Node #0,0,1: 18:[9, 2] Operation: 26-24=2
Moving to Node #0,0,1
Current State: 18:[9, 2], Operations: ['36-27=9', '26-24=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
45,
37,
39,
25
] | 40 | [
"45-25=20",
"39-37=2",
"20*2=40"
] | Current State: 40:[45, 37, 39, 25], Operations: []
Exploring Operation: 45-25=20, Resulting Numbers: [37, 39, 20]
Generated Node #2: [37, 39, 20] from Operation: 45-25=20
Current State: 40:[37, 39, 20], Operations: ['45-25=20']
Exploring Operation: 39-37=2, Resulting Numbers: [20, 2]
Generated Node #3: [20, 2] from Operation: 39-37=2
Current State: 40:[20, 2], Operations: ['45-25=20', '39-37=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[45, 37, 39, 25], Operations: []
Exploring Operation: 45-25=20, Resulting Numbers: [37, 39, 20]
Generated Node #0,0: 40:[37, 39, 20] Operation: 45-25=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[37, 39, 20], Operations: ['45-25=20']
Exploring Operation: 39-37=2, Resulting Numbers: [20, 2]
Generated Node #0,0,0: 40:[20, 2] Operation: 39-37=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[20, 2], Operations: ['45-25=20', '39-37=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[45, 37, 39, 25], Operations: []
Exploring Operation: 45-25=20, Resulting Numbers: [37, 39, 20]
Generated Node #0,0: 40:[37, 39, 20] Operation: 45-25=20
Moving to Node #0,0
Current State: 40:[37, 39, 20], Operations: ['45-25=20']
Exploring Operation: 39-37=2, Resulting Numbers: [20, 2]
Generated Node #0,0,0: 40:[20, 2] Operation: 39-37=2
Moving to Node #0,0,0
Current State: 40:[20, 2], Operations: ['45-25=20', '39-37=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
69,
56,
5,
94
] | 29 | [
"69-56=13",
"5*13=65",
"94-65=29"
] | Current State: 29:[69, 56, 5, 94], Operations: []
Exploring Operation: 69-56=13, Resulting Numbers: [5, 94, 13]
Generated Node #2: [5, 94, 13] from Operation: 69-56=13
Current State: 29:[5, 94, 13], Operations: ['69-56=13']
Exploring Operation: 5*13=65, Resulting Numbers: [94, 65]
Generated Node #3: [94, 65] from Operation: 5*13=65
Current State: 29:[94, 65], Operations: ['69-56=13', '5*13=65']
Exploring Operation: 94-65=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[69, 56, 5, 94], Operations: []
Exploring Operation: 94-69=25, Resulting Numbers: [56, 5, 25]
Generated Node #0,0: 29:[56, 5, 25] Operation: 94-69=25
Exploring Operation: 94-56=38, Resulting Numbers: [69, 5, 38]
Generated Node #0,1: 29:[69, 5, 38] Operation: 94-56=38
Exploring Operation: 69-56=13, Resulting Numbers: [5, 94, 13]
Generated Node #0,2: 29:[5, 94, 13] Operation: 69-56=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[56, 5, 25], Operations: ['94-69=25']
Exploring Operation: 5+25=30, Resulting Numbers: [56, 30]
Generated Node #0,0,0: 29:[56, 30] Operation: 5+25=30
Exploring Operation: 56-25=31, Resulting Numbers: [5, 31]
Generated Node #0,0,1: 29:[5, 31] Operation: 56-25=31
Exploring Operation: 56-5=51, Resulting Numbers: [25, 51]
Generated Node #0,0,2: 29:[25, 51] Operation: 56-5=51
Moving to Node #0,0,1
Current State: 29:[5, 31], Operations: ['94-69=25', '56-25=31']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 5*31=155, Resulting Numbers: [155]
155,29 unequal: No Solution
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[25, 51], Operations: ['94-69=25', '56-5=51']
Exploring Operation: 25+51=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 25*51=1275, Resulting Numbers: [1275]
1275,29 unequal: No Solution
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[56, 30], Operations: ['94-69=25', '5+25=30']
Exploring Operation: 56+30=86, Resulting Numbers: [86]
86,29 unequal: No Solution
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 56*30=1680, Resulting Numbers: [1680]
1680,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[69, 5, 38], Operations: ['94-56=38']
Exploring Operation: 69-38=31, Resulting Numbers: [5, 31]
Generated Node #0,1,0: 29:[5, 31] Operation: 69-38=31
Exploring Operation: 38-5=33, Resulting Numbers: [69, 33]
Generated Node #0,1,1: 29:[69, 33] Operation: 38-5=33
Exploring Operation: 69-5=64, Resulting Numbers: [38, 64]
Generated Node #0,1,2: 29:[38, 64] Operation: 69-5=64
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 29:[5, 31], Operations: ['94-56=38', '69-38=31']
Exploring Operation: 5*31=155, Resulting Numbers: [155]
155,29 unequal: No Solution
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,29 unequal: No Solution
No 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: 29:[69, 33], Operations: ['94-56=38', '38-5=33']
Exploring Operation: 69-33=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 69*33=2277, Resulting Numbers: [2277]
2277,29 unequal: No Solution
Exploring Operation: 69+33=102, Resulting Numbers: [102]
102,29 unequal: No Solution
No 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: 29:[38, 64], Operations: ['94-56=38', '69-5=64']
Exploring Operation: 38*64=2432, Resulting Numbers: [2432]
2432,29 unequal: No Solution
Exploring Operation: 64-38=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 38+64=102, Resulting Numbers: [102]
102,29 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: 29:[5, 94, 13], Operations: ['69-56=13']
Exploring Operation: 5+13=18, Resulting Numbers: [94, 18]
Generated Node #0,2,0: 29:[94, 18] Operation: 5+13=18
Exploring Operation: 94-5=89, Resulting Numbers: [13, 89]
Generated Node #0,2,1: 29:[13, 89] Operation: 94-5=89
Exploring Operation: 94-13=81, Resulting Numbers: [5, 81]
Generated Node #0,2,2: 29:[5, 81] Operation: 94-13=81
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 29:[94, 18], Operations: ['69-56=13', '5+13=18']
Exploring Operation: 94+18=112, Resulting Numbers: [112]
112,29 unequal: No Solution
Exploring Operation: 94-18=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 94*18=1692, Resulting Numbers: [1692]
1692,29 unequal: No Solution
No 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: 29:[13, 89], Operations: ['69-56=13', '94-5=89']
Exploring Operation: 13+89=102, Resulting Numbers: [102]
102,29 unequal: No Solution
Exploring Operation: 89-13=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 13*89=1157, Resulting Numbers: [1157]
1157,29 unequal: No Solution
No 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: 29:[5, 81], Operations: ['69-56=13', '94-13=81']
Exploring Operation: 5+81=86, Resulting Numbers: [86]
86,29 unequal: No Solution
Exploring Operation: 5*81=405, Resulting Numbers: [405]
405,29 unequal: No Solution
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,29 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 |
[
8,
1,
13,
10
] | 95 | [
"8*13=104",
"10-1=9",
"104-9=95"
] | Current State: 95:[8, 1, 13, 10], Operations: []
Exploring Operation: 8*13=104, Resulting Numbers: [1, 10, 104]
Generated Node #2: [1, 10, 104] from Operation: 8*13=104
Current State: 95:[1, 10, 104], Operations: ['8*13=104']
Exploring Operation: 10-1=9, Resulting Numbers: [104, 9]
Generated Node #3: [104, 9] from Operation: 10-1=9
Current State: 95:[104, 9], Operations: ['8*13=104', '10-1=9']
Exploring Operation: 104-9=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[8, 1, 13, 10], Operations: []
Exploring Operation: 13-8=5, Resulting Numbers: [1, 10, 5]
Generated Node #0,0: 95:[1, 10, 5] Operation: 13-8=5
Exploring Operation: 13-10=3, Resulting Numbers: [8, 1, 3]
Generated Node #0,1: 95:[8, 1, 3] Operation: 13-10=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[1, 10, 5], Operations: ['13-8=5']
Exploring Operation: 10-5=5, Resulting Numbers: [1, 5]
Generated Node #0,0,0: 95:[1, 5] Operation: 10-5=5
Exploring Operation: 10-1=9, Resulting Numbers: [5, 9]
Generated Node #0,0,1: 95:[5, 9] Operation: 10-1=9
Moving to Node #0,0,0
Current State: 95:[1, 5], Operations: ['13-8=5', '10-5=5']
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[5, 9], Operations: ['13-8=5', '10-1=9']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[8, 1, 3], Operations: ['13-10=3']
Exploring Operation: 8-3=5, Resulting Numbers: [1, 5]
Generated Node #0,1,0: 95:[1, 5] Operation: 8-3=5
Exploring Operation: 8-1=7, Resulting Numbers: [3, 7]
Generated Node #0,1,1: 95:[3, 7] Operation: 8-1=7
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 95:[1, 5], Operations: ['13-10=3', '8-3=5']
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,95 unequal: No Solution
No 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: 95:[3, 7], Operations: ['13-10=3', '8-1=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,95 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 |
[
11,
84,
51,
56
] | 29 | [
"56-51=5",
"11*5=55",
"84-55=29"
] | Current State: 29:[11, 84, 51, 56], Operations: []
Exploring Operation: 56-51=5, Resulting Numbers: [11, 84, 5]
Generated Node #2: [11, 84, 5] from Operation: 56-51=5
Current State: 29:[11, 84, 5], Operations: ['56-51=5']
Exploring Operation: 11*5=55, Resulting Numbers: [84, 55]
Generated Node #3: [84, 55] from Operation: 11*5=55
Current State: 29:[84, 55], Operations: ['56-51=5', '11*5=55']
Exploring Operation: 84-55=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[11, 84, 51, 56], Operations: []
Exploring Operation: 84-51=33, Resulting Numbers: [11, 56, 33]
Generated Node #0,0: 29:[11, 56, 33] Operation: 84-51=33
Exploring Operation: 51-11=40, Resulting Numbers: [84, 56, 40]
Generated Node #0,1: 29:[84, 56, 40] Operation: 51-11=40
Exploring Operation: 84-56=28, Resulting Numbers: [11, 51, 28]
Generated Node #0,2: 29:[11, 51, 28] Operation: 84-56=28
Exploring Operation: 84-11=73, Resulting Numbers: [51, 56, 73]
Generated Node #0,3: 29:[51, 56, 73] Operation: 84-11=73
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[11, 51, 28], Operations: ['84-56=28']
Exploring Operation: 51-28=23, Resulting Numbers: [11, 23]
Generated Node #0,2,0: 29:[11, 23] Operation: 51-28=23
Exploring Operation: 11+28=39, Resulting Numbers: [51, 39]
Generated Node #0,2,1: 29:[51, 39] Operation: 11+28=39
Exploring Operation: 51-11=40, Resulting Numbers: [28, 40]
Generated Node #0,2,2: 29:[28, 40] Operation: 51-11=40
Exploring Operation: 11+51=62, Resulting Numbers: [28, 62]
Generated Node #0,2,3: 29:[28, 62] Operation: 11+51=62
Moving to Node #0,2,2
Current State: 29:[28, 40], Operations: ['84-56=28', '51-11=40']
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 28+40=68, Resulting Numbers: [68]
68,29 unequal: No Solution
Exploring Operation: 28*40=1120, Resulting Numbers: [1120]
1120,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[11, 23], Operations: ['84-56=28', '51-28=23']
Exploring Operation: 11+23=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 11*23=253, Resulting Numbers: [253]
253,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[51, 39], Operations: ['84-56=28', '11+28=39']
Exploring Operation: 51+39=90, Resulting Numbers: [90]
90,29 unequal: No Solution
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 51*39=1989, Resulting Numbers: [1989]
1989,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[28, 62], Operations: ['84-56=28', '11+51=62']
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 28*62=1736, Resulting Numbers: [1736]
1736,29 unequal: No Solution
Exploring Operation: 28+62=90, Resulting Numbers: [90]
90,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[11, 56, 33], Operations: ['84-51=33']
Exploring Operation: 56-33=23, Resulting Numbers: [11, 23]
Generated Node #0,0,0: 29:[11, 23] Operation: 56-33=23
Exploring Operation: 56-11=45, Resulting Numbers: [33, 45]
Generated Node #0,0,1: 29:[33, 45] Operation: 56-11=45
Exploring Operation: 33-11=22, Resulting Numbers: [56, 22]
Generated Node #0,0,2: 29:[56, 22] Operation: 33-11=22
Exploring Operation: 11+56=67, Resulting Numbers: [33, 67]
Generated Node #0,0,3: 29:[33, 67] Operation: 11+56=67
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[33, 45], Operations: ['84-51=33', '56-11=45']
Exploring Operation: 33*45=1485, Resulting Numbers: [1485]
1485,29 unequal: No Solution
Exploring Operation: 45-33=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 33+45=78, Resulting Numbers: [78]
78,29 unequal: No Solution
No 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: 29:[11, 23], Operations: ['84-51=33', '56-33=23']
Exploring Operation: 11*23=253, Resulting Numbers: [253]
253,29 unequal: No Solution
Exploring Operation: 11+23=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,29 unequal: No Solution
No 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: 29:[56, 22], Operations: ['84-51=33', '33-11=22']
Exploring Operation: 56*22=1232, Resulting Numbers: [1232]
1232,29 unequal: No Solution
Exploring Operation: 56+22=78, Resulting Numbers: [78]
78,29 unequal: No Solution
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,29 unequal: No Solution
No 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: 29:[33, 67], Operations: ['84-51=33', '11+56=67']
Exploring Operation: 67-33=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 33+67=100, Resulting Numbers: [100]
100,29 unequal: No Solution
Exploring Operation: 33*67=2211, Resulting Numbers: [2211]
2211,29 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: 29:[84, 56, 40], Operations: ['51-11=40']
Exploring Operation: 84-56=28, Resulting Numbers: [40, 28]
Generated Node #0,1,0: 29:[40, 28] Operation: 84-56=28
Exploring Operation: 84-40=44, Resulting Numbers: [56, 44]
Generated Node #0,1,1: 29:[56, 44] Operation: 84-40=44
Exploring Operation: 84+56=140, Resulting Numbers: [40, 140]
Generated Node #0,1,2: 29:[40, 140] Operation: 84+56=140
Exploring Operation: 56-40=16, Resulting Numbers: [84, 16]
Generated Node #0,1,3: 29:[84, 16] Operation: 56-40=16
Moving to Node #0,1,0
Current State: 29:[40, 28], Operations: ['51-11=40', '84-56=28']
Exploring Operation: 40+28=68, Resulting Numbers: [68]
68,29 unequal: No Solution
Exploring Operation: 40*28=1120, Resulting Numbers: [1120]
1120,29 unequal: No Solution
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[56, 44], Operations: ['51-11=40', '84-40=44']
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 56+44=100, Resulting Numbers: [100]
100,29 unequal: No Solution
Exploring Operation: 56*44=2464, Resulting Numbers: [2464]
2464,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[84, 16], Operations: ['51-11=40', '56-40=16']
Exploring Operation: 84-16=68, Resulting Numbers: [68]
68,29 unequal: No Solution
Exploring Operation: 84*16=1344, Resulting Numbers: [1344]
1344,29 unequal: No Solution
Exploring Operation: 84+16=100, Resulting Numbers: [100]
100,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[40, 140], Operations: ['51-11=40', '84+56=140']
Exploring Operation: 40+140=180, Resulting Numbers: [180]
180,29 unequal: No Solution
Exploring Operation: 140-40=100, Resulting Numbers: [100]
100,29 unequal: No Solution
Exploring Operation: 40*140=5600, Resulting Numbers: [5600]
5600,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 29:[51, 56, 73], Operations: ['84-11=73']
Exploring Operation: 51+56=107, Resulting Numbers: [73, 107]
Generated Node #0,3,0: 29:[73, 107] Operation: 51+56=107
Exploring Operation: 56-51=5, Resulting Numbers: [73, 5]
Generated Node #0,3,1: 29:[73, 5] Operation: 56-51=5
Exploring Operation: 73-56=17, Resulting Numbers: [51, 17]
Generated Node #0,3,2: 29:[51, 17] Operation: 73-56=17
Exploring Operation: 73-51=22, Resulting Numbers: [56, 22]
Generated Node #0,3,3: 29:[56, 22] Operation: 73-51=22
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 29:[51, 17], Operations: ['84-11=73', '73-56=17']
Exploring Operation: 51+17=68, Resulting Numbers: [68]
68,29 unequal: No Solution
Exploring Operation: 51*17=867, Resulting Numbers: [867]
867,29 unequal: No Solution
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,29 unequal: No Solution
No 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: 29:[56, 22], Operations: ['84-11=73', '73-51=22']
Exploring Operation: 56*22=1232, Resulting Numbers: [1232]
1232,29 unequal: No Solution
Exploring Operation: 56+22=78, Resulting Numbers: [78]
78,29 unequal: No Solution
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 29:[73, 5], Operations: ['84-11=73', '56-51=5']
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,29 unequal: No Solution
Exploring Operation: 73*5=365, Resulting Numbers: [365]
365,29 unequal: No Solution
Exploring Operation: 73+5=78, Resulting Numbers: [78]
78,29 unequal: No Solution
No 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: 29:[73, 107], Operations: ['84-11=73', '51+56=107']
Exploring Operation: 73+107=180, Resulting Numbers: [180]
180,29 unequal: No Solution
Exploring Operation: 107-73=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 73*107=7811, Resulting Numbers: [7811]
7811,29 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 |
[
12,
13,
14,
94
] | 22 | [
"14+94=108",
"108/12=9",
"13+9=22"
] | Current State: 22:[12, 13, 14, 94], Operations: []
Exploring Operation: 14+94=108, Resulting Numbers: [12, 13, 108]
Generated Node #2: [12, 13, 108] from Operation: 14+94=108
Current State: 22:[12, 13, 108], Operations: ['14+94=108']
Exploring Operation: 108/12=9, Resulting Numbers: [13, 9]
Generated Node #3: [13, 9] from Operation: 108/12=9
Current State: 22:[13, 9], Operations: ['14+94=108', '108/12=9']
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[12, 13, 14, 94], Operations: []
Exploring Operation: 14-13=1, Resulting Numbers: [12, 94, 1]
Generated Node #0,0: 22:[12, 94, 1] Operation: 14-13=1
Exploring Operation: 94-13=81, Resulting Numbers: [12, 14, 81]
Generated Node #0,1: 22:[12, 14, 81] Operation: 94-13=81
Exploring Operation: 14-12=2, Resulting Numbers: [13, 94, 2]
Generated Node #0,2: 22:[13, 94, 2] Operation: 14-12=2
Exploring Operation: 94-12=82, Resulting Numbers: [13, 14, 82]
Generated Node #0,3: 22:[13, 14, 82] Operation: 94-12=82
Exploring Operation: 94-14=80, Resulting Numbers: [12, 13, 80]
Generated Node #0,4: 22:[12, 13, 80] Operation: 94-14=80
Moving to Node #0,4
Current State: 22:[12, 13, 80], Operations: ['94-14=80']
Exploring Operation: 80-13=67, Resulting Numbers: [12, 67]
Generated Node #0,4,0: 22:[12, 67] Operation: 80-13=67
Exploring Operation: 80-12=68, Resulting Numbers: [13, 68]
Generated Node #0,4,1: 22:[13, 68] Operation: 80-12=68
Exploring Operation: 13-12=1, Resulting Numbers: [80, 1]
Generated Node #0,4,2: 22:[80, 1] Operation: 13-12=1
Exploring Operation: 12+80=92, Resulting Numbers: [13, 92]
Generated Node #0,4,3: 22:[13, 92] Operation: 12+80=92
Exploring Operation: 12+13=25, Resulting Numbers: [80, 25]
Generated Node #0,4,4: 22:[80, 25] Operation: 12+13=25
Moving to Node #0,1
Current State: 22:[12, 14, 81], Operations: ['94-13=81']
Exploring Operation: 12+81=93, Resulting Numbers: [14, 93]
Generated Node #0,1,0: 22:[14, 93] Operation: 12+81=93
Exploring Operation: 81-12=69, Resulting Numbers: [14, 69]
Generated Node #0,1,1: 22:[14, 69] Operation: 81-12=69
Exploring Operation: 12+14=26, Resulting Numbers: [81, 26]
Generated Node #0,1,2: 22:[81, 26] Operation: 12+14=26
Exploring Operation: 14-12=2, Resulting Numbers: [81, 2]
Generated Node #0,1,3: 22:[81, 2] Operation: 14-12=2
Exploring Operation: 81-14=67, Resulting Numbers: [12, 67]
Generated Node #0,1,4: 22:[12, 67] Operation: 81-14=67
Moving to Node #0,3
Current State: 22:[13, 14, 82], Operations: ['94-12=82']
Exploring Operation: 13+82=95, Resulting Numbers: [14, 95]
Generated Node #0,3,0: 22:[14, 95] Operation: 13+82=95
Exploring Operation: 14-13=1, Resulting Numbers: [82, 1]
Generated Node #0,3,1: 22:[82, 1] Operation: 14-13=1
Exploring Operation: 82-13=69, Resulting Numbers: [14, 69]
Generated Node #0,3,2: 22:[14, 69] Operation: 82-13=69
Exploring Operation: 82-14=68, Resulting Numbers: [13, 68]
Generated Node #0,3,3: 22:[13, 68] Operation: 82-14=68
Exploring Operation: 13+14=27, Resulting Numbers: [82, 27]
Generated Node #0,3,4: 22:[82, 27] Operation: 13+14=27
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 22:[13, 68], Operations: ['94-12=82', '82-14=68']
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 13+68=81, Resulting Numbers: [81]
81,22 unequal: No Solution
Exploring Operation: 13*68=884, Resulting Numbers: [884]
884,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,3,2
Current State: 22:[14, 69], Operations: ['94-12=82', '82-13=69']
Exploring Operation: 14*69=966, Resulting Numbers: [966]
966,22 unequal: No Solution
Exploring Operation: 14+69=83, Resulting Numbers: [83]
83,22 unequal: No Solution
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,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,3,1
Current State: 22:[82, 1], Operations: ['94-12=82', '14-13=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,22 unequal: No Solution
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,22 unequal: No Solution
Exploring Operation: 82+1=83, Resulting Numbers: [83]
83,22 unequal: No Solution
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,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,3,4
Current State: 22:[82, 27], Operations: ['94-12=82', '13+14=27']
Exploring Operation: 82+27=109, Resulting Numbers: [109]
109,22 unequal: No Solution
Exploring Operation: 82*27=2214, Resulting Numbers: [2214]
2214,22 unequal: No Solution
Exploring Operation: 82-27=55, Resulting Numbers: [55]
55,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,3,0
Current State: 22:[14, 95], Operations: ['94-12=82', '13+82=95']
Exploring Operation: 95-14=81, Resulting Numbers: [81]
81,22 unequal: No Solution
Exploring Operation: 14+95=109, Resulting Numbers: [109]
109,22 unequal: No Solution
Exploring Operation: 14*95=1330, Resulting Numbers: [1330]
1330,22 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: 22:[12, 94, 1], Operations: ['14-13=1']
Exploring Operation: 12/1=12, Resulting Numbers: [94, 12]
Generated Node #0,0,0: 22:[94, 12] Operation: 12/1=12
Exploring Operation: 12*1=12, Resulting Numbers: [94, 12]
Generated Node #0,0,1: 22:[94, 12] Operation: 12*1=12
Exploring Operation: 94-12=82, Resulting Numbers: [1, 82]
Generated Node #0,0,2: 22:[1, 82] Operation: 94-12=82
Exploring Operation: 12-1=11, Resulting Numbers: [94, 11]
Generated Node #0,0,3: 22:[94, 11] Operation: 12-1=11
Exploring Operation: 94-1=93, Resulting Numbers: [12, 93]
Generated Node #0,0,4: 22:[12, 93] Operation: 94-1=93
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 22:[1, 82], Operations: ['14-13=1', '94-12=82']
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,22 unequal: No Solution
Exploring Operation: 1*82=82, Resulting Numbers: [82]
82,22 unequal: No Solution
Exploring Operation: 1+82=83, Resulting Numbers: [83]
83,22 unequal: No Solution
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 22:[94, 11], Operations: ['14-13=1', '12-1=11']
Exploring Operation: 94-11=83, Resulting Numbers: [83]
83,22 unequal: No Solution
Exploring Operation: 94+11=105, Resulting Numbers: [105]
105,22 unequal: No Solution
Exploring Operation: 94*11=1034, Resulting Numbers: [1034]
1034,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 22:[12, 93], Operations: ['14-13=1', '94-1=93']
Exploring Operation: 12*93=1116, Resulting Numbers: [1116]
1116,22 unequal: No Solution
Exploring Operation: 93-12=81, Resulting Numbers: [81]
81,22 unequal: No Solution
Exploring Operation: 12+93=105, Resulting Numbers: [105]
105,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[94, 12], Operations: ['14-13=1', '12/1=12']
Exploring Operation: 94+12=106, Resulting Numbers: [106]
106,22 unequal: No Solution
Exploring Operation: 94*12=1128, Resulting Numbers: [1128]
1128,22 unequal: No Solution
Exploring Operation: 94-12=82, Resulting Numbers: [82]
82,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 22:[94, 12], Operations: ['14-13=1', '12*1=12']
Exploring Operation: 94+12=106, Resulting Numbers: [106]
106,22 unequal: No Solution
Exploring Operation: 94-12=82, Resulting Numbers: [82]
82,22 unequal: No Solution
Exploring Operation: 94*12=1128, Resulting Numbers: [1128]
1128,22 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: 22:[13, 94, 2], Operations: ['14-12=2']
Exploring Operation: 13-2=11, Resulting Numbers: [94, 11]
Generated Node #0,2,0: 22:[94, 11] Operation: 13-2=11
Exploring Operation: 13+2=15, Resulting Numbers: [94, 15]
Generated Node #0,2,1: 22:[94, 15] Operation: 13+2=15
Exploring Operation: 94-2=92, Resulting Numbers: [13, 92]
Generated Node #0,2,2: 22:[13, 92] Operation: 94-2=92
Exploring Operation: 94/2=47, Resulting Numbers: [13, 47]
Generated Node #0,2,3: 22:[13, 47] Operation: 94/2=47
Exploring Operation: 94-13=81, Resulting Numbers: [2, 81]
Generated Node #0,2,4: 22:[2, 81] Operation: 94-13=81
Moving to Node #0,2,3
Current State: 22:[13, 47], Operations: ['14-12=2', '94/2=47']
Exploring Operation: 13+47=60, Resulting Numbers: [60]
60,22 unequal: No Solution
Exploring Operation: 13*47=611, Resulting Numbers: [611]
611,22 unequal: No Solution
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,22 unequal: No Solution
Moving to Node #0,1,4
Current State: 22:[12, 67], Operations: ['94-13=81', '81-14=67']
Exploring Operation: 12+67=79, Resulting Numbers: [79]
79,22 unequal: No Solution
Exploring Operation: 67-12=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 12*67=804, Resulting Numbers: [804]
804,22 unequal: No Solution
Moving to Node #0,4,0
Current State: 22:[12, 67], Operations: ['94-14=80', '80-13=67']
Exploring Operation: 12+67=79, Resulting Numbers: [79]
79,22 unequal: No Solution
Exploring Operation: 67-12=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 12*67=804, Resulting Numbers: [804]
804,22 unequal: No Solution
Moving to Node #0,4,1
Current State: 22:[13, 68], Operations: ['94-14=80', '80-12=68']
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 13+68=81, Resulting Numbers: [81]
81,22 unequal: No Solution
Exploring Operation: 13*68=884, Resulting Numbers: [884]
884,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[14, 69], Operations: ['94-13=81', '81-12=69']
Exploring Operation: 14+69=83, Resulting Numbers: [83]
83,22 unequal: No Solution
Exploring Operation: 14*69=966, Resulting Numbers: [966]
966,22 unequal: No Solution
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Moving to Node #0,4,2
Current State: 22:[80, 1], Operations: ['94-14=80', '13-12=1']
Exploring Operation: 80+1=81, Resulting Numbers: [81]
81,22 unequal: No Solution
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,22 unequal: No Solution
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,22 unequal: No Solution
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,22 unequal: No Solution
Moving to Node #0,2,4
Current State: 22:[2, 81], Operations: ['14-12=2', '94-13=81']
Exploring Operation: 2+81=83, Resulting Numbers: [83]
83,22 unequal: No Solution
Exploring Operation: 2*81=162, Resulting Numbers: [162]
162,22 unequal: No Solution
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,22 unequal: No Solution
Moving to Node #0,1,3
Current State: 22:[81, 2], Operations: ['94-13=81', '14-12=2']
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,22 unequal: No Solution
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,22 unequal: No Solution
Exploring Operation: 81*2=162, Resulting Numbers: [162]
162,22 unequal: No Solution
Moving to Node #0,4,4
Current State: 22:[80, 25], Operations: ['94-14=80', '12+13=25']
Exploring Operation: 80+25=105, Resulting Numbers: [105]
105,22 unequal: No Solution
Exploring Operation: 80-25=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Exploring Operation: 80*25=2000, Resulting Numbers: [2000]
2000,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[81, 26], Operations: ['94-13=81', '12+14=26']
Exploring Operation: 81*26=2106, Resulting Numbers: [2106]
2106,22 unequal: No Solution
Exploring Operation: 81+26=107, Resulting Numbers: [107]
107,22 unequal: No Solution
Exploring Operation: 81-26=55, Resulting Numbers: [55]
55,22 unequal: No Solution
Moving to Node #0,2,2
Current State: 22:[13, 92], Operations: ['14-12=2', '94-2=92']
Exploring Operation: 13*92=1196, Resulting Numbers: [1196]
1196,22 unequal: No Solution
Exploring Operation: 92-13=79, Resulting Numbers: [79]
79,22 unequal: No Solution
Exploring Operation: 13+92=105, Resulting Numbers: [105]
105,22 unequal: No Solution
Moving to Node #0,4,3
Current State: 22:[13, 92], Operations: ['94-14=80', '12+80=92']
Exploring Operation: 92-13=79, Resulting Numbers: [79]
79,22 unequal: No Solution
Exploring Operation: 13*92=1196, Resulting Numbers: [1196]
1196,22 unequal: No Solution
Exploring Operation: 13+92=105, Resulting Numbers: [105]
105,22 unequal: No Solution
Moving to Node #0,2,0
Current State: 22:[94, 11], Operations: ['14-12=2', '13-2=11']
Exploring Operation: 94*11=1034, Resulting Numbers: [1034]
1034,22 unequal: No Solution
Exploring Operation: 94+11=105, Resulting Numbers: [105]
105,22 unequal: No Solution
Exploring Operation: 94-11=83, Resulting Numbers: [83]
83,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[14, 93], Operations: ['94-13=81', '12+81=93']
Exploring Operation: 14*93=1302, Resulting Numbers: [1302]
1302,22 unequal: No Solution
Exploring Operation: 93-14=79, Resulting Numbers: [79]
79,22 unequal: No Solution
Exploring Operation: 14+93=107, Resulting Numbers: [107]
107,22 unequal: No Solution
Moving to Node #0,2,1
Current State: 22:[94, 15], Operations: ['14-12=2', '13+2=15']
Exploring Operation: 94*15=1410, Resulting Numbers: [1410]
1410,22 unequal: No Solution
Exploring Operation: 94-15=79, Resulting Numbers: [79]
79,22 unequal: No Solution
Exploring Operation: 94+15=109, Resulting Numbers: [109]
109,22 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
88,
4,
54,
13
] | 90 | [
"88+54=142",
"4*13=52",
"142-52=90"
] | Current State: 90:[88, 4, 54, 13], Operations: []
Exploring Operation: 88+54=142, Resulting Numbers: [4, 13, 142]
Generated Node #2: [4, 13, 142] from Operation: 88+54=142
Current State: 90:[4, 13, 142], Operations: ['88+54=142']
Exploring Operation: 4*13=52, Resulting Numbers: [142, 52]
Generated Node #3: [142, 52] from Operation: 4*13=52
Current State: 90:[142, 52], Operations: ['88+54=142', '4*13=52']
Exploring Operation: 142-52=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[88, 4, 54, 13], Operations: []
Exploring Operation: 13-4=9, Resulting Numbers: [88, 54, 9]
Generated Node #0,0: 90:[88, 54, 9] Operation: 13-4=9
Exploring Operation: 54-4=50, Resulting Numbers: [88, 13, 50]
Generated Node #0,1: 90:[88, 13, 50] Operation: 54-4=50
Exploring Operation: 54-13=41, Resulting Numbers: [88, 4, 41]
Generated Node #0,2: 90:[88, 4, 41] Operation: 54-13=41
Exploring Operation: 4+13=17, Resulting Numbers: [88, 54, 17]
Generated Node #0,3: 90:[88, 54, 17] Operation: 4+13=17
Exploring Operation: 88-54=34, Resulting Numbers: [4, 13, 34]
Generated Node #0,4: 90:[4, 13, 34] Operation: 88-54=34
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[88, 4, 41], Operations: ['54-13=41']
Exploring Operation: 88/4=22, Resulting Numbers: [41, 22]
Generated Node #0,2,0: 90:[41, 22] Operation: 88/4=22
Exploring Operation: 88+4=92, Resulting Numbers: [41, 92]
Generated Node #0,2,1: 90:[41, 92] Operation: 88+4=92
Exploring Operation: 41-4=37, Resulting Numbers: [88, 37]
Generated Node #0,2,2: 90:[88, 37] Operation: 41-4=37
Exploring Operation: 88-41=47, Resulting Numbers: [4, 47]
Generated Node #0,2,3: 90:[4, 47] Operation: 88-41=47
Exploring Operation: 4+41=45, Resulting Numbers: [88, 45]
Generated Node #0,2,4: 90:[88, 45] Operation: 4+41=45
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 90:[88, 45], Operations: ['54-13=41', '4+41=45']
Exploring Operation: 88+45=133, Resulting Numbers: [133]
133,90 unequal: No Solution
Exploring Operation: 88*45=3960, Resulting Numbers: [3960]
3960,90 unequal: No Solution
Exploring Operation: 88-45=43, Resulting Numbers: [43]
43,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 90:[4, 47], Operations: ['54-13=41', '88-41=47']
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,90 unequal: No Solution
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 90:[41, 92], Operations: ['54-13=41', '88+4=92']
Exploring Operation: 41*92=3772, Resulting Numbers: [3772]
3772,90 unequal: No Solution
Exploring Operation: 92-41=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 41+92=133, Resulting Numbers: [133]
133,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 90:[41, 22], Operations: ['54-13=41', '88/4=22']
Exploring Operation: 41+22=63, Resulting Numbers: [63]
63,90 unequal: No Solution
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 41*22=902, Resulting Numbers: [902]
902,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 90:[88, 37], Operations: ['54-13=41', '41-4=37']
Exploring Operation: 88+37=125, Resulting Numbers: [125]
125,90 unequal: No Solution
Exploring Operation: 88-37=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 88*37=3256, Resulting Numbers: [3256]
3256,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 90:[4, 13, 34], Operations: ['88-54=34']
Exploring Operation: 34-4=30, Resulting Numbers: [13, 30]
Generated Node #0,4,0: 90:[13, 30] Operation: 34-4=30
Exploring Operation: 13+34=47, Resulting Numbers: [4, 47]
Generated Node #0,4,1: 90:[4, 47] Operation: 13+34=47
Exploring Operation: 34-13=21, Resulting Numbers: [4, 21]
Generated Node #0,4,2: 90:[4, 21] Operation: 34-13=21
Exploring Operation: 4+13=17, Resulting Numbers: [34, 17]
Generated Node #0,4,3: 90:[34, 17] Operation: 4+13=17
Exploring Operation: 13-4=9, Resulting Numbers: [34, 9]
Generated Node #0,4,4: 90:[34, 9] Operation: 13-4=9
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 90:[13, 30], Operations: ['88-54=34', '34-4=30']
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 13*30=390, Resulting Numbers: [390]
390,90 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 90:[4, 47], Operations: ['88-54=34', '13+34=47']
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,90 unequal: No Solution
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 90:[4, 21], Operations: ['88-54=34', '34-13=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,90 unequal: No Solution
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,90 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 90:[34, 9], Operations: ['88-54=34', '13-4=9']
Exploring Operation: 34*9=306, Resulting Numbers: [306]
306,90 unequal: No Solution
Exploring Operation: 34+9=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 90:[34, 17], Operations: ['88-54=34', '4+13=17']
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,90 unequal: No Solution
Exploring Operation: 34*17=578, Resulting Numbers: [578]
578,90 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 34+17=51, Resulting Numbers: [51]
51,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[88, 13, 50], Operations: ['54-4=50']
Exploring Operation: 88-13=75, Resulting Numbers: [50, 75]
Generated Node #0,1,0: 90:[50, 75] Operation: 88-13=75
Exploring Operation: 50-13=37, Resulting Numbers: [88, 37]
Generated Node #0,1,1: 90:[88, 37] Operation: 50-13=37
Exploring Operation: 88+13=101, Resulting Numbers: [50, 101]
Generated Node #0,1,2: 90:[50, 101] Operation: 88+13=101
Exploring Operation: 88-50=38, Resulting Numbers: [13, 38]
Generated Node #0,1,3: 90:[13, 38] Operation: 88-50=38
Exploring Operation: 13+50=63, Resulting Numbers: [88, 63]
Generated Node #0,1,4: 90:[88, 63] Operation: 13+50=63
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 90:[88, 37], Operations: ['54-4=50', '50-13=37']
Exploring Operation: 88*37=3256, Resulting Numbers: [3256]
3256,90 unequal: No Solution
Exploring Operation: 88-37=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 88+37=125, Resulting Numbers: [125]
125,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 90:[13, 38], Operations: ['54-4=50', '88-50=38']
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,90 unequal: No Solution
Exploring Operation: 13*38=494, Resulting Numbers: [494]
494,90 unequal: No Solution
Exploring Operation: 13+38=51, Resulting Numbers: [51]
51,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 90:[50, 101], Operations: ['54-4=50', '88+13=101']
Exploring Operation: 50*101=5050, Resulting Numbers: [5050]
5050,90 unequal: No Solution
Exploring Operation: 50+101=151, Resulting Numbers: [151]
151,90 unequal: No Solution
Exploring Operation: 101-50=51, Resulting Numbers: [51]
51,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 90:[50, 75], Operations: ['54-4=50', '88-13=75']
Exploring Operation: 50*75=3750, Resulting Numbers: [3750]
3750,90 unequal: No Solution
Exploring Operation: 50+75=125, Resulting Numbers: [125]
125,90 unequal: No Solution
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 90:[88, 63], Operations: ['54-4=50', '13+50=63']
Exploring Operation: 88+63=151, Resulting Numbers: [151]
151,90 unequal: No Solution
Exploring Operation: 88*63=5544, Resulting Numbers: [5544]
5544,90 unequal: No Solution
Exploring Operation: 88-63=25, Resulting Numbers: [25]
25,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[88, 54, 9], Operations: ['13-4=9']
Exploring Operation: 54-9=45, Resulting Numbers: [88, 45]
Generated Node #0,0,0: 90:[88, 45] Operation: 54-9=45
Exploring Operation: 88+9=97, Resulting Numbers: [54, 97]
Generated Node #0,0,1: 90:[54, 97] Operation: 88+9=97
Exploring Operation: 88-54=34, Resulting Numbers: [9, 34]
Generated Node #0,0,2: 90:[9, 34] Operation: 88-54=34
Exploring Operation: 88-9=79, Resulting Numbers: [54, 79]
Generated Node #0,0,3: 90:[54, 79] Operation: 88-9=79
Exploring Operation: 54/9=6, Resulting Numbers: [88, 6]
Generated Node #0,0,4: 90:[88, 6] Operation: 54/9=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[88, 45], Operations: ['13-4=9', '54-9=45']
Exploring Operation: 88-45=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 88*45=3960, Resulting Numbers: [3960]
3960,90 unequal: No Solution
Exploring Operation: 88+45=133, Resulting Numbers: [133]
133,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 90:[88, 6], Operations: ['13-4=9', '54/9=6']
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,90 unequal: No Solution
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,90 unequal: No Solution
Exploring Operation: 88*6=528, Resulting Numbers: [528]
528,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 90:[9, 34], Operations: ['13-4=9', '88-54=34']
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 9*34=306, Resulting Numbers: [306]
306,90 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[54, 97], Operations: ['13-4=9', '88+9=97']
Exploring Operation: 97-54=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 54*97=5238, Resulting Numbers: [5238]
5238,90 unequal: No Solution
Exploring Operation: 54+97=151, Resulting Numbers: [151]
151,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 90:[54, 79], Operations: ['13-4=9', '88-9=79']
Exploring Operation: 54*79=4266, Resulting Numbers: [4266]
4266,90 unequal: No Solution
Exploring Operation: 54+79=133, Resulting Numbers: [133]
133,90 unequal: No Solution
Exploring Operation: 79-54=25, Resulting Numbers: [25]
25,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[88, 54, 17], Operations: ['4+13=17']
Exploring Operation: 88-54=34, Resulting Numbers: [17, 34]
Generated Node #0,3,0: 90:[17, 34] Operation: 88-54=34
Exploring Operation: 88+17=105, Resulting Numbers: [54, 105]
Generated Node #0,3,1: 90:[54, 105] Operation: 88+17=105
Exploring Operation: 88-17=71, Resulting Numbers: [54, 71]
Generated Node #0,3,2: 90:[54, 71] Operation: 88-17=71
Exploring Operation: 54+17=71, Resulting Numbers: [88, 71]
Generated Node #0,3,3: 90:[88, 71] Operation: 54+17=71
Exploring Operation: 54-17=37, Resulting Numbers: [88, 37]
Generated Node #0,3,4: 90:[88, 37] Operation: 54-17=37
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 90:[17, 34], Operations: ['4+13=17', '88-54=34']
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,90 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 17+34=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 17*34=578, Resulting Numbers: [578]
578,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 90:[88, 37], Operations: ['4+13=17', '54-17=37']
Exploring Operation: 88*37=3256, Resulting Numbers: [3256]
3256,90 unequal: No Solution
Exploring Operation: 88-37=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 88+37=125, Resulting Numbers: [125]
125,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 90:[88, 71], Operations: ['4+13=17', '54+17=71']
Exploring Operation: 88-71=17, Resulting Numbers: [17]
17,90 unequal: No Solution
Exploring Operation: 88+71=159, Resulting Numbers: [159]
159,90 unequal: No Solution
Exploring Operation: 88*71=6248, Resulting Numbers: [6248]
6248,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 90:[54, 105], Operations: ['4+13=17', '88+17=105']
Exploring Operation: 54*105=5670, Resulting Numbers: [5670]
5670,90 unequal: No Solution
Exploring Operation: 105-54=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 54+105=159, Resulting Numbers: [159]
159,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 90:[54, 71], Operations: ['4+13=17', '88-17=71']
Exploring Operation: 71-54=17, Resulting Numbers: [17]
17,90 unequal: No Solution
Exploring Operation: 54*71=3834, Resulting Numbers: [3834]
3834,90 unequal: No Solution
Exploring Operation: 54+71=125, Resulting Numbers: [125]
125,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
7,
57,
80,
45
] | 99 | [
"7+57=64",
"80-45=35",
"64+35=99"
] | Current State: 99:[7, 57, 80, 45], Operations: []
Exploring Operation: 7+57=64, Resulting Numbers: [80, 45, 64]
Generated Node #2: [80, 45, 64] from Operation: 7+57=64
Current State: 99:[80, 45, 64], Operations: ['7+57=64']
Exploring Operation: 80-45=35, Resulting Numbers: [64, 35]
Generated Node #3: [64, 35] from Operation: 80-45=35
Current State: 99:[64, 35], Operations: ['7+57=64', '80-45=35']
Exploring Operation: 64+35=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[7, 57, 80, 45], Operations: []
Exploring Operation: 57-45=12, Resulting Numbers: [7, 80, 12]
Generated Node #0,0: 99:[7, 80, 12] Operation: 57-45=12
Exploring Operation: 80-57=23, Resulting Numbers: [7, 45, 23]
Generated Node #0,1: 99:[7, 45, 23] Operation: 80-57=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[7, 80, 12], Operations: ['57-45=12']
Exploring Operation: 80+12=92, Resulting Numbers: [7, 92]
Generated Node #0,0,0: 99:[7, 92] Operation: 80+12=92
Exploring Operation: 7+80=87, Resulting Numbers: [12, 87]
Generated Node #0,0,1: 99:[12, 87] Operation: 7+80=87
Moving to Node #0,0,0
Current State: 99:[7, 92], Operations: ['57-45=12', '80+12=92']
Exploring Operation: 7+92=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[7, 57, 80, 45], Operations: []
Exploring Operation: 57-45=12, Resulting Numbers: [7, 80, 12]
Generated Node #0,0: 99:[7, 80, 12] Operation: 57-45=12
Moving to Node #0,0
Current State: 99:[7, 80, 12], Operations: ['57-45=12']
Exploring Operation: 80+12=92, Resulting Numbers: [7, 92]
Generated Node #0,0,0: 99:[7, 92] Operation: 80+12=92
Moving to Node #0,0,0
Current State: 99:[7, 92], Operations: ['57-45=12', '80+12=92']
Exploring Operation: 7+92=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
30,
10,
25,
4
] | 49 | [
"30-10=20",
"25+4=29",
"20+29=49"
] | Current State: 49:[30, 10, 25, 4], Operations: []
Exploring Operation: 30-10=20, Resulting Numbers: [25, 4, 20]
Generated Node #2: [25, 4, 20] from Operation: 30-10=20
Current State: 49:[25, 4, 20], Operations: ['30-10=20']
Exploring Operation: 25+4=29, Resulting Numbers: [20, 29]
Generated Node #3: [20, 29] from Operation: 25+4=29
Current State: 49:[20, 29], Operations: ['30-10=20', '25+4=29']
Exploring Operation: 20+29=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[30, 10, 25, 4], Operations: []
Exploring Operation: 30+10=40, Resulting Numbers: [25, 4, 40]
Generated Node #0,0: 49:[25, 4, 40] Operation: 30+10=40
Exploring Operation: 30+25=55, Resulting Numbers: [10, 4, 55]
Generated Node #0,1: 49:[10, 4, 55] Operation: 30+25=55
Exploring Operation: 30-25=5, Resulting Numbers: [10, 4, 5]
Generated Node #0,2: 49:[10, 4, 5] Operation: 30-25=5
Exploring Operation: 30/10=3, Resulting Numbers: [25, 4, 3]
Generated Node #0,3: 49:[25, 4, 3] Operation: 30/10=3
Moving to Node #0,2
Current State: 49:[10, 4, 5], Operations: ['30-25=5']
Exploring Operation: 10*5=50, Resulting Numbers: [4, 50]
Generated Node #0,2,0: 49:[4, 50] Operation: 10*5=50
Exploring Operation: 10-4=6, Resulting Numbers: [5, 6]
Generated Node #0,2,1: 49:[5, 6] Operation: 10-4=6
Exploring Operation: 4+5=9, Resulting Numbers: [10, 9]
Generated Node #0,2,2: 49:[10, 9] Operation: 4+5=9
Exploring Operation: 10-5=5, Resulting Numbers: [4, 5]
Generated Node #0,2,3: 49:[4, 5] Operation: 10-5=5
Moving to Node #0,1
Current State: 49:[10, 4, 55], Operations: ['30+25=55']
Exploring Operation: 55-10=45, Resulting Numbers: [4, 45]
Generated Node #0,1,0: 49:[4, 45] Operation: 55-10=45
Exploring Operation: 55-4=51, Resulting Numbers: [10, 51]
Generated Node #0,1,1: 49:[10, 51] Operation: 55-4=51
Exploring Operation: 10-4=6, Resulting Numbers: [55, 6]
Generated Node #0,1,2: 49:[55, 6] Operation: 10-4=6
Exploring Operation: 10+4=14, Resulting Numbers: [55, 14]
Generated Node #0,1,3: 49:[55, 14] Operation: 10+4=14
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[10, 51], Operations: ['30+25=55', '55-4=51']
Exploring Operation: 10+51=61, Resulting Numbers: [61]
61,49 unequal: No Solution
Exploring Operation: 10*51=510, Resulting Numbers: [510]
510,49 unequal: No Solution
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,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,1,0
Current State: 49:[4, 45], Operations: ['30+25=55', '55-10=45']
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[30, 10, 25, 4], Operations: []
Exploring Operation: 30+25=55, Resulting Numbers: [10, 4, 55]
Generated Node #0,1: 49:[10, 4, 55] Operation: 30+25=55
Moving to Node #0,1
Current State: 49:[10, 4, 55], Operations: ['30+25=55']
Exploring Operation: 55-10=45, Resulting Numbers: [4, 45]
Generated Node #0,1,0: 49:[4, 45] Operation: 55-10=45
Moving to Node #0,1,0
Current State: 49:[4, 45], Operations: ['30+25=55', '55-10=45']
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
59,
43,
70,
19
] | 51 | [
"59+43=102",
"70-19=51",
"102-51=51"
] | Current State: 51:[59, 43, 70, 19], Operations: []
Exploring Operation: 59+43=102, Resulting Numbers: [70, 19, 102]
Generated Node #2: [70, 19, 102] from Operation: 59+43=102
Current State: 51:[70, 19, 102], Operations: ['59+43=102']
Exploring Operation: 70-19=51, Resulting Numbers: [102, 51]
Generated Node #3: [102, 51] from Operation: 70-19=51
Current State: 51:[102, 51], Operations: ['59+43=102', '70-19=51']
Exploring Operation: 102-51=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[59, 43, 70, 19], Operations: []
Exploring Operation: 59-43=16, Resulting Numbers: [70, 19, 16]
Generated Node #0,0: 51:[70, 19, 16] Operation: 59-43=16
Exploring Operation: 70-59=11, Resulting Numbers: [43, 19, 11]
Generated Node #0,1: 51:[43, 19, 11] Operation: 70-59=11
Exploring Operation: 70-43=27, Resulting Numbers: [59, 19, 27]
Generated Node #0,2: 51:[59, 19, 27] Operation: 70-43=27
Exploring Operation: 70-19=51, Resulting Numbers: [59, 43, 51]
Generated Node #0,3: 51:[59, 43, 51] Operation: 70-19=51
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[43, 19, 11], Operations: ['70-59=11']
Exploring Operation: 43+19=62, Resulting Numbers: [11, 62]
Generated Node #0,1,0: 51:[11, 62] Operation: 43+19=62
Exploring Operation: 43+11=54, Resulting Numbers: [19, 54]
Generated Node #0,1,1: 51:[19, 54] Operation: 43+11=54
Exploring Operation: 43-19=24, Resulting Numbers: [11, 24]
Generated Node #0,1,2: 51:[11, 24] Operation: 43-19=24
Exploring Operation: 19-11=8, Resulting Numbers: [43, 8]
Generated Node #0,1,3: 51:[43, 8] Operation: 19-11=8
Moving to Node #0,1,1
Current State: 51:[19, 54], Operations: ['70-59=11', '43+11=54']
Exploring Operation: 19+54=73, Resulting Numbers: [73]
73,51 unequal: No Solution
Exploring Operation: 19*54=1026, Resulting Numbers: [1026]
1026,51 unequal: No Solution
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,51 unequal: No Solution
Moving to Node #0,1,3
Current State: 51:[43, 8], Operations: ['70-59=11', '19-11=8']
Exploring Operation: 43+8=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[59, 43, 70, 19], Operations: []
Exploring Operation: 70-59=11, Resulting Numbers: [43, 19, 11]
Generated Node #0,1: 51:[43, 19, 11] Operation: 70-59=11
Moving to Node #0,1
Current State: 51:[43, 19, 11], Operations: ['70-59=11']
Exploring Operation: 19-11=8, Resulting Numbers: [43, 8]
Generated Node #0,1,3: 51:[43, 8] Operation: 19-11=8
Moving to Node #0,1,3
Current State: 51:[43, 8], Operations: ['70-59=11', '19-11=8']
Exploring Operation: 43+8=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
29,
80,
53,
41
] | 97 | [
"29+80=109",
"53-41=12",
"109-12=97"
] | Current State: 97:[29, 80, 53, 41], Operations: []
Exploring Operation: 29+80=109, Resulting Numbers: [53, 41, 109]
Generated Node #2: [53, 41, 109] from Operation: 29+80=109
Current State: 97:[53, 41, 109], Operations: ['29+80=109']
Exploring Operation: 53-41=12, Resulting Numbers: [109, 12]
Generated Node #3: [109, 12] from Operation: 53-41=12
Current State: 97:[109, 12], Operations: ['29+80=109', '53-41=12']
Exploring Operation: 109-12=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[29, 80, 53, 41], Operations: []
Exploring Operation: 29+41=70, Resulting Numbers: [80, 53, 70]
Generated Node #0,0: 97:[80, 53, 70] Operation: 29+41=70
Exploring Operation: 29+53=82, Resulting Numbers: [80, 41, 82]
Generated Node #0,1: 97:[80, 41, 82] Operation: 29+53=82
Exploring Operation: 53+41=94, Resulting Numbers: [29, 80, 94]
Generated Node #0,2: 97:[29, 80, 94] Operation: 53+41=94
Moving to Node #0,0
Current State: 97:[80, 53, 70], Operations: ['29+41=70']
Exploring Operation: 53+70=123, Resulting Numbers: [80, 123]
Generated Node #0,0,0: 97:[80, 123] Operation: 53+70=123
Exploring Operation: 80+53=133, Resulting Numbers: [70, 133]
Generated Node #0,0,1: 97:[70, 133] Operation: 80+53=133
Exploring Operation: 80-53=27, Resulting Numbers: [70, 27]
Generated Node #0,0,2: 97:[70, 27] Operation: 80-53=27
Moving to Node #0,1
Current State: 97:[80, 41, 82], Operations: ['29+53=82']
Exploring Operation: 41+82=123, Resulting Numbers: [80, 123]
Generated Node #0,1,0: 97:[80, 123] Operation: 41+82=123
Exploring Operation: 80-41=39, Resulting Numbers: [82, 39]
Generated Node #0,1,1: 97:[82, 39] Operation: 80-41=39
Exploring Operation: 80+41=121, Resulting Numbers: [82, 121]
Generated Node #0,1,2: 97:[82, 121] Operation: 80+41=121
Moving to Node #0,2
Current State: 97:[29, 80, 94], Operations: ['53+41=94']
Exploring Operation: 80-29=51, Resulting Numbers: [94, 51]
Generated Node #0,2,0: 97:[94, 51] Operation: 80-29=51
Exploring Operation: 29+80=109, Resulting Numbers: [94, 109]
Generated Node #0,2,1: 97:[94, 109] Operation: 29+80=109
Exploring Operation: 29+94=123, Resulting Numbers: [80, 123]
Generated Node #0,2,2: 97:[80, 123] Operation: 29+94=123
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[94, 109], Operations: ['53+41=94', '29+80=109']
Exploring Operation: 94*109=10246, Resulting Numbers: [10246]
10246,97 unequal: No Solution
Exploring Operation: 109-94=15, Resulting Numbers: [15]
15,97 unequal: No Solution
Exploring Operation: 94+109=203, Resulting Numbers: [203]
203,97 unequal: No Solution
No 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: 97:[80, 123], Operations: ['53+41=94', '29+94=123']
Exploring Operation: 123-80=43, Resulting Numbers: [43]
43,97 unequal: No Solution
Exploring Operation: 80+123=203, Resulting Numbers: [203]
203,97 unequal: No Solution
Exploring Operation: 80*123=9840, Resulting Numbers: [9840]
9840,97 unequal: No Solution
No 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: 97:[94, 51], Operations: ['53+41=94', '80-29=51']
Exploring Operation: 94*51=4794, Resulting Numbers: [4794]
4794,97 unequal: No Solution
Exploring Operation: 94+51=145, Resulting Numbers: [145]
145,97 unequal: No Solution
Exploring Operation: 94-51=43, Resulting Numbers: [43]
43,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 97:[82, 121], Operations: ['29+53=82', '80+41=121']
Exploring Operation: 82+121=203, Resulting Numbers: [203]
203,97 unequal: No Solution
Exploring Operation: 82*121=9922, Resulting Numbers: [9922]
9922,97 unequal: No Solution
Exploring Operation: 121-82=39, Resulting Numbers: [39]
39,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[80, 123], Operations: ['29+41=70', '53+70=123']
Exploring Operation: 80*123=9840, Resulting Numbers: [9840]
9840,97 unequal: No Solution
Exploring Operation: 123-80=43, Resulting Numbers: [43]
43,97 unequal: No Solution
Exploring Operation: 80+123=203, Resulting Numbers: [203]
203,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[80, 123], Operations: ['29+53=82', '41+82=123']
Exploring Operation: 123-80=43, Resulting Numbers: [43]
43,97 unequal: No Solution
Exploring Operation: 80+123=203, Resulting Numbers: [203]
203,97 unequal: No Solution
Exploring Operation: 80*123=9840, Resulting Numbers: [9840]
9840,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[70, 133], Operations: ['29+41=70', '80+53=133']
Exploring Operation: 70*133=9310, Resulting Numbers: [9310]
9310,97 unequal: No Solution
Exploring Operation: 133-70=63, Resulting Numbers: [63]
63,97 unequal: No Solution
Exploring Operation: 70+133=203, Resulting Numbers: [203]
203,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[82, 39], Operations: ['29+53=82', '80-41=39']
Exploring Operation: 82-39=43, Resulting Numbers: [43]
43,97 unequal: No Solution
Exploring Operation: 82+39=121, Resulting Numbers: [121]
121,97 unequal: No Solution
Exploring Operation: 82*39=3198, Resulting Numbers: [3198]
3198,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[70, 27], Operations: ['29+41=70', '80-53=27']
Exploring Operation: 70*27=1890, Resulting Numbers: [1890]
1890,97 unequal: No Solution
Exploring Operation: 70+27=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[29, 80, 53, 41], Operations: []
Exploring Operation: 29+41=70, Resulting Numbers: [80, 53, 70]
Generated Node #0,0: 97:[80, 53, 70] Operation: 29+41=70
Moving to Node #0,0
Current State: 97:[80, 53, 70], Operations: ['29+41=70']
Exploring Operation: 80-53=27, Resulting Numbers: [70, 27]
Generated Node #0,0,2: 97:[70, 27] Operation: 80-53=27
Moving to Node #0,0,2
Current State: 97:[70, 27], Operations: ['29+41=70', '80-53=27']
Exploring Operation: 70+27=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 0.963542 | hs_3 | sum_heuristic |
[
69,
95,
85,
22
] | 81 | [
"95-69=26",
"85+22=107",
"107-26=81"
] | Current State: 81:[69, 95, 85, 22], Operations: []
Exploring Operation: 95-69=26, Resulting Numbers: [85, 22, 26]
Generated Node #2: [85, 22, 26] from Operation: 95-69=26
Current State: 81:[85, 22, 26], Operations: ['95-69=26']
Exploring Operation: 85+22=107, Resulting Numbers: [26, 107]
Generated Node #3: [26, 107] from Operation: 85+22=107
Current State: 81:[26, 107], Operations: ['95-69=26', '85+22=107']
Exploring Operation: 107-26=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[69, 95, 85, 22], Operations: []
Exploring Operation: 95-22=73, Resulting Numbers: [69, 85, 73]
Generated Node #0,0: 81:[69, 85, 73] Operation: 95-22=73
Exploring Operation: 69+22=91, Resulting Numbers: [95, 85, 91]
Generated Node #0,1: 81:[95, 85, 91] Operation: 69+22=91
Exploring Operation: 85-69=16, Resulting Numbers: [95, 22, 16]
Generated Node #0,2: 81:[95, 22, 16] Operation: 85-69=16
Exploring Operation: 95-69=26, Resulting Numbers: [85, 22, 26]
Generated Node #0,3: 81:[85, 22, 26] Operation: 95-69=26
Exploring Operation: 95-85=10, Resulting Numbers: [69, 22, 10]
Generated Node #0,4: 81:[69, 22, 10] Operation: 95-85=10
Moving to Node #0,3
Current State: 81:[85, 22, 26], Operations: ['95-69=26']
Exploring Operation: 22+26=48, Resulting Numbers: [85, 48]
Generated Node #0,3,0: 81:[85, 48] Operation: 22+26=48
Exploring Operation: 85-26=59, Resulting Numbers: [22, 59]
Generated Node #0,3,1: 81:[22, 59] Operation: 85-26=59
Exploring Operation: 85+22=107, Resulting Numbers: [26, 107]
Generated Node #0,3,2: 81:[26, 107] Operation: 85+22=107
Exploring Operation: 85-22=63, Resulting Numbers: [26, 63]
Generated Node #0,3,3: 81:[26, 63] Operation: 85-22=63
Exploring Operation: 26-22=4, Resulting Numbers: [85, 4]
Generated Node #0,3,4: 81:[85, 4] Operation: 26-22=4
Moving to Node #0,4
Current State: 81:[69, 22, 10], Operations: ['95-85=10']
Exploring Operation: 69+10=79, Resulting Numbers: [22, 79]
Generated Node #0,4,0: 81:[22, 79] Operation: 69+10=79
Exploring Operation: 22+10=32, Resulting Numbers: [69, 32]
Generated Node #0,4,1: 81:[69, 32] Operation: 22+10=32
Exploring Operation: 69-22=47, Resulting Numbers: [10, 47]
Generated Node #0,4,2: 81:[10, 47] Operation: 69-22=47
Exploring Operation: 69+22=91, Resulting Numbers: [10, 91]
Generated Node #0,4,3: 81:[10, 91] Operation: 69+22=91
Exploring Operation: 22-10=12, Resulting Numbers: [69, 12]
Generated Node #0,4,4: 81:[69, 12] Operation: 22-10=12
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 81:[22, 79], Operations: ['95-85=10', '69+10=79']
Exploring Operation: 79-22=57, Resulting Numbers: [57]
57,81 unequal: No Solution
Exploring Operation: 22+79=101, Resulting Numbers: [101]
101,81 unequal: No Solution
Exploring Operation: 22*79=1738, Resulting Numbers: [1738]
1738,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 81:[10, 91], Operations: ['95-85=10', '69+22=91']
Exploring Operation: 91-10=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[69, 95, 85, 22], Operations: []
Exploring Operation: 95-85=10, Resulting Numbers: [69, 22, 10]
Generated Node #0,4: 81:[69, 22, 10] Operation: 95-85=10
Moving to Node #0,4
Current State: 81:[69, 22, 10], Operations: ['95-85=10']
Exploring Operation: 69+22=91, Resulting Numbers: [10, 91]
Generated Node #0,4,3: 81:[10, 91] Operation: 69+22=91
Moving to Node #0,4,3
Current State: 81:[10, 91], Operations: ['95-85=10', '69+22=91']
Exploring Operation: 91-10=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
4,
20,
12,
64
] | 33 | [
"20+64=84",
"84/4=21",
"12+21=33"
] | Current State: 33:[4, 20, 12, 64], Operations: []
Exploring Operation: 20+64=84, Resulting Numbers: [4, 12, 84]
Generated Node #2: [4, 12, 84] from Operation: 20+64=84
Current State: 33:[4, 12, 84], Operations: ['20+64=84']
Exploring Operation: 84/4=21, Resulting Numbers: [12, 21]
Generated Node #3: [12, 21] from Operation: 84/4=21
Current State: 33:[12, 21], Operations: ['20+64=84', '84/4=21']
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[4, 20, 12, 64], Operations: []
Exploring Operation: 64-20=44, Resulting Numbers: [4, 12, 44]
Generated Node #0,0: 33:[4, 12, 44] Operation: 64-20=44
Exploring Operation: 20+12=32, Resulting Numbers: [4, 64, 32]
Generated Node #0,1: 33:[4, 64, 32] Operation: 20+12=32
Exploring Operation: 64-12=52, Resulting Numbers: [4, 20, 52]
Generated Node #0,2: 33:[4, 20, 52] Operation: 64-12=52
Exploring Operation: 20/4=5, Resulting Numbers: [12, 64, 5]
Generated Node #0,3: 33:[12, 64, 5] Operation: 20/4=5
Exploring Operation: 64/4=16, Resulting Numbers: [20, 12, 16]
Generated Node #0,4: 33:[20, 12, 16] Operation: 64/4=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[4, 12, 44], Operations: ['64-20=44']
Exploring Operation: 44-4=40, Resulting Numbers: [12, 40]
Generated Node #0,0,0: 33:[12, 40] Operation: 44-4=40
Exploring Operation: 44-12=32, Resulting Numbers: [4, 32]
Generated Node #0,0,1: 33:[4, 32] Operation: 44-12=32
Exploring Operation: 44/4=11, Resulting Numbers: [12, 11]
Generated Node #0,0,2: 33:[12, 11] Operation: 44/4=11
Exploring Operation: 12-4=8, Resulting Numbers: [44, 8]
Generated Node #0,0,3: 33:[44, 8] Operation: 12-4=8
Exploring Operation: 12/4=3, Resulting Numbers: [44, 3]
Generated Node #0,0,4: 33:[44, 3] Operation: 12/4=3
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 33:[12, 11], Operations: ['64-20=44', '44/4=11']
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,33 unequal: No Solution
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,33 unequal: No Solution
Exploring Operation: 12-11=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,0,1
Current State: 33:[4, 32], Operations: ['64-20=44', '44-12=32']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,33 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,33 unequal: No Solution
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[12, 40], Operations: ['64-20=44', '44-4=40']
Exploring Operation: 12+40=52, Resulting Numbers: [52]
52,33 unequal: No Solution
Exploring Operation: 12*40=480, Resulting Numbers: [480]
480,33 unequal: No Solution
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 33:[44, 3], Operations: ['64-20=44', '12/4=3']
Exploring Operation: 44*3=132, Resulting Numbers: [132]
132,33 unequal: No Solution
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,33 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 33:[44, 8], Operations: ['64-20=44', '12-4=8']
Exploring Operation: 44*8=352, Resulting Numbers: [352]
352,33 unequal: No Solution
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 44+8=52, Resulting Numbers: [52]
52,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,4
Current State: 33:[20, 12, 16], Operations: ['64/4=16']
Exploring Operation: 20-16=4, Resulting Numbers: [12, 4]
Generated Node #0,4,0: 33:[12, 4] Operation: 20-16=4
Exploring Operation: 20+12=32, Resulting Numbers: [16, 32]
Generated Node #0,4,1: 33:[16, 32] Operation: 20+12=32
Exploring Operation: 20-12=8, Resulting Numbers: [16, 8]
Generated Node #0,4,2: 33:[16, 8] Operation: 20-12=8
Exploring Operation: 16-12=4, Resulting Numbers: [20, 4]
Generated Node #0,4,3: 33:[20, 4] Operation: 16-12=4
Exploring Operation: 20+16=36, Resulting Numbers: [12, 36]
Generated Node #0,4,4: 33:[12, 36] Operation: 20+16=36
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 33:[12, 4], Operations: ['64/4=16', '20-16=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,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,4,4
Current State: 33:[12, 36], Operations: ['64/4=16', '20+16=36']
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 12+36=48, Resulting Numbers: [48]
48,33 unequal: No Solution
Exploring Operation: 12*36=432, Resulting Numbers: [432]
432,33 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,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,4,1
Current State: 33:[16, 32], Operations: ['64/4=16', '20+12=32']
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Exploring Operation: 16*32=512, Resulting Numbers: [512]
512,33 unequal: No Solution
Exploring Operation: 16+32=48, Resulting Numbers: [48]
48,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,4,2
Current State: 33:[16, 8], Operations: ['64/4=16', '20-12=8']
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 16*8=128, Resulting Numbers: [128]
128,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,4,3
Current State: 33:[20, 4], Operations: ['64/4=16', '16-12=4']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[4, 20, 52], Operations: ['64-12=52']
Exploring Operation: 52/4=13, Resulting Numbers: [20, 13]
Generated Node #0,2,0: 33:[20, 13] Operation: 52/4=13
Exploring Operation: 52-20=32, Resulting Numbers: [4, 32]
Generated Node #0,2,1: 33:[4, 32] Operation: 52-20=32
Exploring Operation: 52-4=48, Resulting Numbers: [20, 48]
Generated Node #0,2,2: 33:[20, 48] Operation: 52-4=48
Exploring Operation: 20/4=5, Resulting Numbers: [52, 5]
Generated Node #0,2,3: 33:[52, 5] Operation: 20/4=5
Exploring Operation: 20-4=16, Resulting Numbers: [52, 16]
Generated Node #0,2,4: 33:[52, 16] Operation: 20-4=16
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 33:[4, 32], Operations: ['64-12=52', '52-20=32']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,33 unequal: No Solution
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,33 unequal: No Solution
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 33:[20, 13], Operations: ['64-12=52', '52/4=13']
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[4, 20, 12, 64], Operations: []
Exploring Operation: 64-12=52, Resulting Numbers: [4, 20, 52]
Generated Node #0,2: 33:[4, 20, 52] Operation: 64-12=52
Moving to Node #0,2
Current State: 33:[4, 20, 52], Operations: ['64-12=52']
Exploring Operation: 52/4=13, Resulting Numbers: [20, 13]
Generated Node #0,2,0: 33:[20, 13] Operation: 52/4=13
Moving to Node #0,2,0
Current State: 33:[20, 13], Operations: ['64-12=52', '52/4=13']
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.943576 | hs_5 | mult_heuristic |
[
76,
65,
2,
72
] | 25 | [
"76-65=11",
"72/2=36",
"36-11=25"
] | Current State: 25:[76, 65, 2, 72], Operations: []
Exploring Operation: 76-65=11, Resulting Numbers: [2, 72, 11]
Generated Node #2: [2, 72, 11] from Operation: 76-65=11
Current State: 25:[2, 72, 11], Operations: ['76-65=11']
Exploring Operation: 72/2=36, Resulting Numbers: [11, 36]
Generated Node #3: [11, 36] from Operation: 72/2=36
Current State: 25:[11, 36], Operations: ['76-65=11', '72/2=36']
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[76, 65, 2, 72], Operations: []
Exploring Operation: 72-65=7, Resulting Numbers: [76, 2, 7]
Generated Node #0,0: 25:[76, 2, 7] Operation: 72-65=7
Exploring Operation: 72/2=36, Resulting Numbers: [76, 65, 36]
Generated Node #0,1: 25:[76, 65, 36] Operation: 72/2=36
Exploring Operation: 76/2=38, Resulting Numbers: [65, 72, 38]
Generated Node #0,2: 25:[65, 72, 38] Operation: 76/2=38
Exploring Operation: 76-72=4, Resulting Numbers: [65, 2, 4]
Generated Node #0,3: 25:[65, 2, 4] Operation: 76-72=4
Exploring Operation: 76-65=11, Resulting Numbers: [2, 72, 11]
Generated Node #0,4: 25:[2, 72, 11] Operation: 76-65=11
Start Sub Search at level 1: Moving to Node #0,3
Current State: 25:[65, 2, 4], Operations: ['76-72=4']
Exploring Operation: 2+4=6, Resulting Numbers: [65, 6]
Generated Node #0,3,0: 25:[65, 6] Operation: 2+4=6
Exploring Operation: 65+2=67, Resulting Numbers: [4, 67]
Generated Node #0,3,1: 25:[4, 67] Operation: 65+2=67
Exploring Operation: 65-2=63, Resulting Numbers: [4, 63]
Generated Node #0,3,2: 25:[4, 63] Operation: 65-2=63
Exploring Operation: 65-4=61, Resulting Numbers: [2, 61]
Generated Node #0,3,3: 25:[2, 61] Operation: 65-4=61
Exploring Operation: 2*4=8, Resulting Numbers: [65, 8]
Generated Node #0,3,4: 25:[65, 8] Operation: 2*4=8
Moving to Node #0,3,2
Current State: 25:[4, 63], Operations: ['76-72=4', '65-2=63']
Exploring Operation: 4*63=252, Resulting Numbers: [252]
252,25 unequal: No Solution
Exploring Operation: 4+63=67, Resulting Numbers: [67]
67,25 unequal: No Solution
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,25 unequal: No Solution
Moving to Node #0,3,3
Current State: 25:[2, 61], Operations: ['76-72=4', '65-4=61']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,25 unequal: No Solution
Exploring Operation: 2*61=122, Resulting Numbers: [122]
122,25 unequal: No Solution
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,25 unequal: No Solution
Moving to Node #0,3,0
Current State: 25:[65, 6], Operations: ['76-72=4', '2+4=6']
Exploring Operation: 65*6=390, Resulting Numbers: [390]
390,25 unequal: No Solution
Exploring Operation: 65+6=71, Resulting Numbers: [71]
71,25 unequal: No Solution
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,25 unequal: No Solution
Moving to Node #0,3,1
Current State: 25:[4, 67], Operations: ['76-72=4', '65+2=67']
Exploring Operation: 4+67=71, Resulting Numbers: [71]
71,25 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,25 unequal: No Solution
Exploring Operation: 4*67=268, Resulting Numbers: [268]
268,25 unequal: No Solution
Moving to Node #0,3,4
Current State: 25:[65, 8], Operations: ['76-72=4', '2*4=8']
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,25 unequal: No Solution
Exploring Operation: 65*8=520, Resulting Numbers: [520]
520,25 unequal: No Solution
Exploring Operation: 65+8=73, Resulting Numbers: [73]
73,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[76, 2, 7], Operations: ['72-65=7']
Exploring Operation: 76+2=78, Resulting Numbers: [7, 78]
Generated Node #0,0,0: 25:[7, 78] Operation: 76+2=78
Exploring Operation: 7-2=5, Resulting Numbers: [76, 5]
Generated Node #0,0,1: 25:[76, 5] Operation: 7-2=5
Exploring Operation: 76-2=74, Resulting Numbers: [7, 74]
Generated Node #0,0,2: 25:[7, 74] Operation: 76-2=74
Exploring Operation: 76/2=38, Resulting Numbers: [7, 38]
Generated Node #0,0,3: 25:[7, 38] Operation: 76/2=38
Exploring Operation: 76-7=69, Resulting Numbers: [2, 69]
Generated Node #0,0,4: 25:[2, 69] Operation: 76-7=69
Moving to Node #0,0,3
Current State: 25:[7, 38], Operations: ['72-65=7', '76/2=38']
Exploring Operation: 7*38=266, Resulting Numbers: [266]
266,25 unequal: No Solution
Exploring Operation: 7+38=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Moving to Node #0,0,4
Current State: 25:[2, 69], Operations: ['72-65=7', '76-7=69']
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,25 unequal: No Solution
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,25 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[76, 5], Operations: ['72-65=7', '7-2=5']
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,25 unequal: No Solution
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,25 unequal: No Solution
Exploring Operation: 76*5=380, Resulting Numbers: [380]
380,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[7, 74], Operations: ['72-65=7', '76-2=74']
Exploring Operation: 7*74=518, Resulting Numbers: [518]
518,25 unequal: No Solution
Exploring Operation: 7+74=81, Resulting Numbers: [81]
81,25 unequal: No Solution
Exploring Operation: 74-7=67, Resulting Numbers: [67]
67,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[7, 78], Operations: ['72-65=7', '76+2=78']
Exploring Operation: 7*78=546, Resulting Numbers: [546]
546,25 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,25 unequal: No Solution
Exploring Operation: 7+78=85, Resulting Numbers: [85]
85,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,4
Current State: 25:[2, 72, 11], Operations: ['76-65=11']
Exploring Operation: 11-2=9, Resulting Numbers: [72, 9]
Generated Node #0,4,0: 25:[72, 9] Operation: 11-2=9
Exploring Operation: 72-2=70, Resulting Numbers: [11, 70]
Generated Node #0,4,1: 25:[11, 70] Operation: 72-2=70
Exploring Operation: 2*11=22, Resulting Numbers: [72, 22]
Generated Node #0,4,2: 25:[72, 22] Operation: 2*11=22
Exploring Operation: 72/2=36, Resulting Numbers: [11, 36]
Generated Node #0,4,3: 25:[11, 36] Operation: 72/2=36
Exploring Operation: 72-11=61, Resulting Numbers: [2, 61]
Generated Node #0,4,4: 25:[2, 61] Operation: 72-11=61
Moving to Node #0,4,3
Current State: 25:[11, 36], Operations: ['76-65=11', '72/2=36']
Exploring Operation: 11+36=47, Resulting Numbers: [47]
47,25 unequal: No Solution
Exploring Operation: 11*36=396, Resulting Numbers: [396]
396,25 unequal: No Solution
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[76, 65, 2, 72], Operations: []
Exploring Operation: 76-65=11, Resulting Numbers: [2, 72, 11]
Generated Node #0,4: 25:[2, 72, 11] Operation: 76-65=11
Moving to Node #0,4
Current State: 25:[2, 72, 11], Operations: ['76-65=11']
Exploring Operation: 72/2=36, Resulting Numbers: [11, 36]
Generated Node #0,4,3: 25:[11, 36] Operation: 72/2=36
Moving to Node #0,4,3
Current State: 25:[11, 36], Operations: ['76-65=11', '72/2=36']
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.950521 | hs_5 | mult_heuristic |
[
9,
27,
60,
71
] | 14 | [
"27/9=3",
"71-60=11",
"3+11=14"
] | Current State: 14:[9, 27, 60, 71], Operations: []
Exploring Operation: 27/9=3, Resulting Numbers: [60, 71, 3]
Generated Node #2: [60, 71, 3] from Operation: 27/9=3
Current State: 14:[60, 71, 3], Operations: ['27/9=3']
Exploring Operation: 71-60=11, Resulting Numbers: [3, 11]
Generated Node #3: [3, 11] from Operation: 71-60=11
Current State: 14:[3, 11], Operations: ['27/9=3', '71-60=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[9, 27, 60, 71], Operations: []
Exploring Operation: 60-27=33, Resulting Numbers: [9, 71, 33]
Generated Node #0,0: 14:[9, 71, 33] Operation: 60-27=33
Exploring Operation: 71-27=44, Resulting Numbers: [9, 60, 44]
Generated Node #0,1: 14:[9, 60, 44] Operation: 71-27=44
Exploring Operation: 27/9=3, Resulting Numbers: [60, 71, 3]
Generated Node #0,2: 14:[60, 71, 3] Operation: 27/9=3
Exploring Operation: 71-60=11, Resulting Numbers: [9, 27, 11]
Generated Node #0,3: 14:[9, 27, 11] Operation: 71-60=11
Moving to Node #0,3
Current State: 14:[9, 27, 11], Operations: ['71-60=11']
Exploring Operation: 27-9=18, Resulting Numbers: [11, 18]
Generated Node #0,3,0: 14:[11, 18] Operation: 27-9=18
Exploring Operation: 27-11=16, Resulting Numbers: [9, 16]
Generated Node #0,3,1: 14:[9, 16] Operation: 27-11=16
Exploring Operation: 27/9=3, Resulting Numbers: [11, 3]
Generated Node #0,3,2: 14:[11, 3] Operation: 27/9=3
Exploring Operation: 11-9=2, Resulting Numbers: [27, 2]
Generated Node #0,3,3: 14:[27, 2] Operation: 11-9=2
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 14:[9, 16], Operations: ['71-60=11', '27-11=16']
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 14:[11, 3], Operations: ['71-60=11', '27/9=3']
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[9, 27, 60, 71], Operations: []
Exploring Operation: 71-60=11, Resulting Numbers: [9, 27, 11]
Generated Node #0,3: 14:[9, 27, 11] Operation: 71-60=11
Moving to Node #0,3
Current State: 14:[9, 27, 11], Operations: ['71-60=11']
Exploring Operation: 27/9=3, Resulting Numbers: [11, 3]
Generated Node #0,3,2: 14:[11, 3] Operation: 27/9=3
Moving to Node #0,3,2
Current State: 14:[11, 3], Operations: ['71-60=11', '27/9=3']
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
4,
32,
85,
92
] | 56 | [
"32/4=8",
"92-85=7",
"8*7=56"
] | Current State: 56:[4, 32, 85, 92], Operations: []
Exploring Operation: 32/4=8, Resulting Numbers: [85, 92, 8]
Generated Node #2: [85, 92, 8] from Operation: 32/4=8
Current State: 56:[85, 92, 8], Operations: ['32/4=8']
Exploring Operation: 92-85=7, Resulting Numbers: [8, 7]
Generated Node #3: [8, 7] from Operation: 92-85=7
Current State: 56:[8, 7], Operations: ['32/4=8', '92-85=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[4, 32, 85, 92], Operations: []
Exploring Operation: 92-32=60, Resulting Numbers: [4, 85, 60]
Generated Node #0,0: 56:[4, 85, 60] Operation: 92-32=60
Exploring Operation: 92/4=23, Resulting Numbers: [32, 85, 23]
Generated Node #0,1: 56:[32, 85, 23] Operation: 92/4=23
Exploring Operation: 92-85=7, Resulting Numbers: [4, 32, 7]
Generated Node #0,2: 56:[4, 32, 7] Operation: 92-85=7
Exploring Operation: 85-32=53, Resulting Numbers: [4, 92, 53]
Generated Node #0,3: 56:[4, 92, 53] Operation: 85-32=53
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[4, 32, 7], Operations: ['92-85=7']
Exploring Operation: 32-4=28, Resulting Numbers: [7, 28]
Generated Node #0,2,0: 56:[7, 28] Operation: 32-4=28
Exploring Operation: 4*7=28, Resulting Numbers: [32, 28]
Generated Node #0,2,1: 56:[32, 28] Operation: 4*7=28
Exploring Operation: 32/4=8, Resulting Numbers: [7, 8]
Generated Node #0,2,2: 56:[7, 8] Operation: 32/4=8
Exploring Operation: 32-7=25, Resulting Numbers: [4, 25]
Generated Node #0,2,3: 56:[4, 25] Operation: 32-7=25
Moving to Node #0,2,0
Current State: 56:[7, 28], Operations: ['92-85=7', '32-4=28']
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,56 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 7*28=196, Resulting Numbers: [196]
196,56 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[7, 8], Operations: ['92-85=7', '32/4=8']
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,56 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[4, 32, 85, 92], Operations: []
Exploring Operation: 92-85=7, Resulting Numbers: [4, 32, 7]
Generated Node #0,2: 56:[4, 32, 7] Operation: 92-85=7
Moving to Node #0,2
Current State: 56:[4, 32, 7], Operations: ['92-85=7']
Exploring Operation: 32/4=8, Resulting Numbers: [7, 8]
Generated Node #0,2,2: 56:[7, 8] Operation: 32/4=8
Moving to Node #0,2,2
Current State: 56:[7, 8], Operations: ['92-85=7', '32/4=8']
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
87,
11,
80,
81
] | 75 | [
"87-11=76",
"81-80=1",
"76-1=75"
] | Current State: 75:[87, 11, 80, 81], Operations: []
Exploring Operation: 87-11=76, Resulting Numbers: [80, 81, 76]
Generated Node #2: [80, 81, 76] from Operation: 87-11=76
Current State: 75:[80, 81, 76], Operations: ['87-11=76']
Exploring Operation: 81-80=1, Resulting Numbers: [76, 1]
Generated Node #3: [76, 1] from Operation: 81-80=1
Current State: 75:[76, 1], Operations: ['87-11=76', '81-80=1']
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[87, 11, 80, 81], Operations: []
Exploring Operation: 87-80=7, Resulting Numbers: [11, 81, 7]
Generated Node #0,0: 75:[11, 81, 7] Operation: 87-80=7
Exploring Operation: 87-81=6, Resulting Numbers: [11, 80, 6]
Generated Node #0,1: 75:[11, 80, 6] Operation: 87-81=6
Exploring Operation: 87-11=76, Resulting Numbers: [80, 81, 76]
Generated Node #0,2: 75:[80, 81, 76] Operation: 87-11=76
Moving to Node #0,1
Current State: 75:[11, 80, 6], Operations: ['87-81=6']
Exploring Operation: 80-6=74, Resulting Numbers: [11, 74]
Generated Node #0,1,0: 75:[11, 74] Operation: 80-6=74
Exploring Operation: 11-6=5, Resulting Numbers: [80, 5]
Generated Node #0,1,1: 75:[80, 5] Operation: 11-6=5
Exploring Operation: 80-11=69, Resulting Numbers: [6, 69]
Generated Node #0,1,2: 75:[6, 69] Operation: 80-11=69
Moving to Node #0,0
Current State: 75:[11, 81, 7], Operations: ['87-80=7']
Exploring Operation: 11-7=4, Resulting Numbers: [81, 4]
Generated Node #0,0,0: 75:[81, 4] Operation: 11-7=4
Exploring Operation: 81-7=74, Resulting Numbers: [11, 74]
Generated Node #0,0,1: 75:[11, 74] Operation: 81-7=74
Exploring Operation: 81-11=70, Resulting Numbers: [7, 70]
Generated Node #0,0,2: 75:[7, 70] Operation: 81-11=70
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[11, 74], Operations: ['87-80=7', '81-7=74']
Exploring Operation: 11*74=814, Resulting Numbers: [814]
814,75 unequal: No Solution
Exploring Operation: 74-11=63, Resulting Numbers: [63]
63,75 unequal: No Solution
Exploring Operation: 11+74=85, Resulting Numbers: [85]
85,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,0,0
Current State: 75:[81, 4], Operations: ['87-80=7', '11-7=4']
Exploring Operation: 81+4=85, Resulting Numbers: [85]
85,75 unequal: No Solution
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,75 unequal: No Solution
Exploring Operation: 81*4=324, Resulting Numbers: [324]
324,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,0,2
Current State: 75:[7, 70], Operations: ['87-80=7', '81-11=70']
Exploring Operation: 7+70=77, Resulting Numbers: [77]
77,75 unequal: No Solution
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,75 unequal: No Solution
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,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:[80, 81, 76], Operations: ['87-11=76']
Exploring Operation: 81-80=1, Resulting Numbers: [76, 1]
Generated Node #0,2,0: 75:[76, 1] Operation: 81-80=1
Exploring Operation: 81-76=5, Resulting Numbers: [80, 5]
Generated Node #0,2,1: 75:[80, 5] Operation: 81-76=5
Exploring Operation: 80-76=4, Resulting Numbers: [81, 4]
Generated Node #0,2,2: 75:[81, 4] Operation: 80-76=4
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 75:[76, 1], Operations: ['87-11=76', '81-80=1']
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[87, 11, 80, 81], Operations: []
Exploring Operation: 87-11=76, Resulting Numbers: [80, 81, 76]
Generated Node #0,2: 75:[80, 81, 76] Operation: 87-11=76
Moving to Node #0,2
Current State: 75:[80, 81, 76], Operations: ['87-11=76']
Exploring Operation: 81-80=1, Resulting Numbers: [76, 1]
Generated Node #0,2,0: 75:[76, 1] Operation: 81-80=1
Moving to Node #0,2,0
Current State: 75:[76, 1], Operations: ['87-11=76', '81-80=1']
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_3 | sum_heuristic |
[
22,
79,
35,
42
] | 94 | [
"22+79=101",
"42-35=7",
"101-7=94"
] | Current State: 94:[22, 79, 35, 42], Operations: []
Exploring Operation: 22+79=101, Resulting Numbers: [35, 42, 101]
Generated Node #2: [35, 42, 101] from Operation: 22+79=101
Current State: 94:[35, 42, 101], Operations: ['22+79=101']
Exploring Operation: 42-35=7, Resulting Numbers: [101, 7]
Generated Node #3: [101, 7] from Operation: 42-35=7
Current State: 94:[101, 7], Operations: ['22+79=101', '42-35=7']
Exploring Operation: 101-7=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[22, 79, 35, 42], Operations: []
Exploring Operation: 79-22=57, Resulting Numbers: [35, 42, 57]
Generated Node #0,0: 94:[35, 42, 57] Operation: 79-22=57
Exploring Operation: 79-35=44, Resulting Numbers: [22, 42, 44]
Generated Node #0,1: 94:[22, 42, 44] Operation: 79-35=44
Exploring Operation: 22+35=57, Resulting Numbers: [79, 42, 57]
Generated Node #0,2: 94:[79, 42, 57] Operation: 22+35=57
Exploring Operation: 22+79=101, Resulting Numbers: [35, 42, 101]
Generated Node #0,3: 94:[35, 42, 101] Operation: 22+79=101
Moving to Node #0,3
Current State: 94:[35, 42, 101], Operations: ['22+79=101']
Exploring Operation: 42-35=7, Resulting Numbers: [101, 7]
Generated Node #0,3,0: 94:[101, 7] Operation: 42-35=7
Exploring Operation: 101-35=66, Resulting Numbers: [42, 66]
Generated Node #0,3,1: 94:[42, 66] Operation: 101-35=66
Exploring Operation: 101-42=59, Resulting Numbers: [35, 59]
Generated Node #0,3,2: 94:[35, 59] Operation: 101-42=59
Exploring Operation: 35+42=77, Resulting Numbers: [101, 77]
Generated Node #0,3,3: 94:[101, 77] Operation: 35+42=77
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 94:[101, 7], Operations: ['22+79=101', '42-35=7']
Exploring Operation: 101*7=707, Resulting Numbers: [707]
707,94 unequal: No Solution
Exploring Operation: 101+7=108, Resulting Numbers: [108]
108,94 unequal: No Solution
Exploring Operation: 101-7=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[22, 79, 35, 42], Operations: []
Exploring Operation: 22+79=101, Resulting Numbers: [35, 42, 101]
Generated Node #0,3: 94:[35, 42, 101] Operation: 22+79=101
Moving to Node #0,3
Current State: 94:[35, 42, 101], Operations: ['22+79=101']
Exploring Operation: 42-35=7, Resulting Numbers: [101, 7]
Generated Node #0,3,0: 94:[101, 7] Operation: 42-35=7
Moving to Node #0,3,0
Current State: 94:[101, 7], Operations: ['22+79=101', '42-35=7']
Exploring Operation: 101-7=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
87,
45,
48,
51
] | 89 | [
"45+51=96",
"96/48=2",
"87+2=89"
] | Current State: 89:[87, 45, 48, 51], Operations: []
Exploring Operation: 45+51=96, Resulting Numbers: [87, 48, 96]
Generated Node #2: [87, 48, 96] from Operation: 45+51=96
Current State: 89:[87, 48, 96], Operations: ['45+51=96']
Exploring Operation: 96/48=2, Resulting Numbers: [87, 2]
Generated Node #3: [87, 2] from Operation: 96/48=2
Current State: 89:[87, 2], Operations: ['45+51=96', '96/48=2']
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[87, 45, 48, 51], Operations: []
Exploring Operation: 45+48=93, Resulting Numbers: [87, 51, 93]
Generated Node #0,0: 89:[87, 51, 93] Operation: 45+48=93
Exploring Operation: 45+51=96, Resulting Numbers: [87, 48, 96]
Generated Node #0,1: 89:[87, 48, 96] Operation: 45+51=96
Exploring Operation: 48+51=99, Resulting Numbers: [87, 45, 99]
Generated Node #0,2: 89:[87, 45, 99] Operation: 48+51=99
Moving to Node #0,0
Current State: 89:[87, 51, 93], Operations: ['45+48=93']
Exploring Operation: 93-51=42, Resulting Numbers: [87, 42]
Generated Node #0,0,0: 89:[87, 42] Operation: 93-51=42
Exploring Operation: 87+51=138, Resulting Numbers: [93, 138]
Generated Node #0,0,1: 89:[93, 138] Operation: 87+51=138
Exploring Operation: 87-51=36, Resulting Numbers: [93, 36]
Generated Node #0,0,2: 89:[93, 36] Operation: 87-51=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[87, 42], Operations: ['45+48=93', '93-51=42']
Exploring Operation: 87+42=129, Resulting Numbers: [129]
129,89 unequal: No Solution
Exploring Operation: 87*42=3654, Resulting Numbers: [3654]
3654,89 unequal: No Solution
Exploring Operation: 87-42=45, Resulting Numbers: [45]
45,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[93, 138], Operations: ['45+48=93', '87+51=138']
Exploring Operation: 138-93=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Exploring Operation: 93+138=231, Resulting Numbers: [231]
231,89 unequal: No Solution
Exploring Operation: 93*138=12834, Resulting Numbers: [12834]
12834,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[93, 36], Operations: ['45+48=93', '87-51=36']
Exploring Operation: 93*36=3348, Resulting Numbers: [3348]
3348,89 unequal: No Solution
Exploring Operation: 93+36=129, Resulting Numbers: [129]
129,89 unequal: No Solution
Exploring Operation: 93-36=57, Resulting Numbers: [57]
57,89 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: 89:[87, 48, 96], Operations: ['45+51=96']
Exploring Operation: 87+48=135, Resulting Numbers: [96, 135]
Generated Node #0,1,0: 89:[96, 135] Operation: 87+48=135
Exploring Operation: 87-48=39, Resulting Numbers: [96, 39]
Generated Node #0,1,1: 89:[96, 39] Operation: 87-48=39
Exploring Operation: 96-48=48, Resulting Numbers: [87, 48]
Generated Node #0,1,2: 89:[87, 48] Operation: 96-48=48
Moving to Node #0,2
Current State: 89:[87, 45, 99], Operations: ['48+51=99']
Exploring Operation: 87+45=132, Resulting Numbers: [99, 132]
Generated Node #0,2,0: 89:[99, 132] Operation: 87+45=132
Exploring Operation: 87-45=42, Resulting Numbers: [99, 42]
Generated Node #0,2,1: 89:[99, 42] Operation: 87-45=42
Exploring Operation: 99-45=54, Resulting Numbers: [87, 54]
Generated Node #0,2,2: 89:[87, 54] Operation: 99-45=54
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[87, 54], Operations: ['48+51=99', '99-45=54']
Exploring Operation: 87*54=4698, Resulting Numbers: [4698]
4698,89 unequal: No Solution
Exploring Operation: 87-54=33, Resulting Numbers: [33]
33,89 unequal: No Solution
Exploring Operation: 87+54=141, Resulting Numbers: [141]
141,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:[99, 132], Operations: ['48+51=99', '87+45=132']
Exploring Operation: 99+132=231, Resulting Numbers: [231]
231,89 unequal: No Solution
Exploring Operation: 132-99=33, Resulting Numbers: [33]
33,89 unequal: No Solution
Exploring Operation: 99*132=13068, Resulting Numbers: [13068]
13068,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[99, 42], Operations: ['48+51=99', '87-45=42']
Exploring Operation: 99+42=141, Resulting Numbers: [141]
141,89 unequal: No Solution
Exploring Operation: 99*42=4158, Resulting Numbers: [4158]
4158,89 unequal: No Solution
Exploring Operation: 99-42=57, Resulting Numbers: [57]
57,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 89:[87, 48], Operations: ['45+51=96', '96-48=48']
Exploring Operation: 87+48=135, Resulting Numbers: [135]
135,89 unequal: No Solution
Exploring Operation: 87-48=39, Resulting Numbers: [39]
39,89 unequal: No Solution
Exploring Operation: 87*48=4176, Resulting Numbers: [4176]
4176,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[96, 135], Operations: ['45+51=96', '87+48=135']
Exploring Operation: 96*135=12960, Resulting Numbers: [12960]
12960,89 unequal: No Solution
Exploring Operation: 135-96=39, Resulting Numbers: [39]
39,89 unequal: No Solution
Exploring Operation: 96+135=231, Resulting Numbers: [231]
231,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[96, 39], Operations: ['45+51=96', '87-48=39']
Exploring Operation: 96-39=57, Resulting Numbers: [57]
57,89 unequal: No Solution
Exploring Operation: 96+39=135, Resulting Numbers: [135]
135,89 unequal: No Solution
Exploring Operation: 96*39=3744, Resulting Numbers: [3744]
3744,89 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
65,
29,
26,
77
] | 15 | [
"65-29=36",
"77-26=51",
"51-36=15"
] | Current State: 15:[65, 29, 26, 77], Operations: []
Exploring Operation: 65-29=36, Resulting Numbers: [26, 77, 36]
Generated Node #2: [26, 77, 36] from Operation: 65-29=36
Current State: 15:[26, 77, 36], Operations: ['65-29=36']
Exploring Operation: 77-26=51, Resulting Numbers: [36, 51]
Generated Node #3: [36, 51] from Operation: 77-26=51
Current State: 15:[36, 51], Operations: ['65-29=36', '77-26=51']
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[65, 29, 26, 77], Operations: []
Exploring Operation: 77-29=48, Resulting Numbers: [65, 26, 48]
Generated Node #0,0: 15:[65, 26, 48] Operation: 77-29=48
Exploring Operation: 65-29=36, Resulting Numbers: [26, 77, 36]
Generated Node #0,1: 15:[26, 77, 36] Operation: 65-29=36
Exploring Operation: 65-26=39, Resulting Numbers: [29, 77, 39]
Generated Node #0,2: 15:[29, 77, 39] Operation: 65-26=39
Exploring Operation: 77-65=12, Resulting Numbers: [29, 26, 12]
Generated Node #0,3: 15:[29, 26, 12] Operation: 77-65=12
Exploring Operation: 77-26=51, Resulting Numbers: [65, 29, 51]
Generated Node #0,4: 15:[65, 29, 51] Operation: 77-26=51
Moving to Node #0,3
Current State: 15:[29, 26, 12], Operations: ['77-65=12']
Exploring Operation: 29-12=17, Resulting Numbers: [26, 17]
Generated Node #0,3,0: 15:[26, 17] Operation: 29-12=17
Exploring Operation: 29-26=3, Resulting Numbers: [12, 3]
Generated Node #0,3,1: 15:[12, 3] Operation: 29-26=3
Exploring Operation: 26-12=14, Resulting Numbers: [29, 14]
Generated Node #0,3,2: 15:[29, 14] Operation: 26-12=14
Exploring Operation: 26+12=38, Resulting Numbers: [29, 38]
Generated Node #0,3,3: 15:[29, 38] Operation: 26+12=38
Exploring Operation: 29+12=41, Resulting Numbers: [26, 41]
Generated Node #0,3,4: 15:[26, 41] Operation: 29+12=41
Moving to Node #0,1
Current State: 15:[26, 77, 36], Operations: ['65-29=36']
Exploring Operation: 26+77=103, Resulting Numbers: [36, 103]
Generated Node #0,1,0: 15:[36, 103] Operation: 26+77=103
Exploring Operation: 26+36=62, Resulting Numbers: [77, 62]
Generated Node #0,1,1: 15:[77, 62] Operation: 26+36=62
Exploring Operation: 36-26=10, Resulting Numbers: [77, 10]
Generated Node #0,1,2: 15:[77, 10] Operation: 36-26=10
Exploring Operation: 77-26=51, Resulting Numbers: [36, 51]
Generated Node #0,1,3: 15:[36, 51] Operation: 77-26=51
Exploring Operation: 77-36=41, Resulting Numbers: [26, 41]
Generated Node #0,1,4: 15:[26, 41] Operation: 77-36=41
Moving to Node #0,0
Current State: 15:[65, 26, 48], Operations: ['77-29=48']
Exploring Operation: 48-26=22, Resulting Numbers: [65, 22]
Generated Node #0,0,0: 15:[65, 22] Operation: 48-26=22
Exploring Operation: 65+26=91, Resulting Numbers: [48, 91]
Generated Node #0,0,1: 15:[48, 91] Operation: 65+26=91
Exploring Operation: 65+48=113, Resulting Numbers: [26, 113]
Generated Node #0,0,2: 15:[26, 113] Operation: 65+48=113
Exploring Operation: 65-26=39, Resulting Numbers: [48, 39]
Generated Node #0,0,3: 15:[48, 39] Operation: 65-26=39
Exploring Operation: 65-48=17, Resulting Numbers: [26, 17]
Generated Node #0,0,4: 15:[26, 17] Operation: 65-48=17
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 15:[26, 17], Operations: ['77-29=48', '65-48=17']
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,15 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,15 unequal: No Solution
No 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: 15:[65, 22], Operations: ['77-29=48', '48-26=22']
Exploring Operation: 65+22=87, Resulting Numbers: [87]
87,15 unequal: No Solution
Exploring Operation: 65*22=1430, Resulting Numbers: [1430]
1430,15 unequal: No Solution
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,15 unequal: No Solution
No 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: 15:[48, 39], Operations: ['77-29=48', '65-26=39']
Exploring Operation: 48*39=1872, Resulting Numbers: [1872]
1872,15 unequal: No Solution
Exploring Operation: 48+39=87, Resulting Numbers: [87]
87,15 unequal: No Solution
Exploring Operation: 48-39=9, Resulting Numbers: [9]
9,15 unequal: No Solution
No 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: 15:[48, 91], Operations: ['77-29=48', '65+26=91']
Exploring Operation: 91-48=43, Resulting Numbers: [43]
43,15 unequal: No Solution
Exploring Operation: 48+91=139, Resulting Numbers: [139]
139,15 unequal: No Solution
Exploring Operation: 48*91=4368, Resulting Numbers: [4368]
4368,15 unequal: No Solution
No 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: 15:[26, 113], Operations: ['77-29=48', '65+48=113']
Exploring Operation: 26+113=139, Resulting Numbers: [139]
139,15 unequal: No Solution
Exploring Operation: 113-26=87, Resulting Numbers: [87]
87,15 unequal: No Solution
Exploring Operation: 26*113=2938, Resulting Numbers: [2938]
2938,15 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: 15:[29, 77, 39], Operations: ['65-26=39']
Exploring Operation: 29+39=68, Resulting Numbers: [77, 68]
Generated Node #0,2,0: 15:[77, 68] Operation: 29+39=68
Exploring Operation: 39-29=10, Resulting Numbers: [77, 10]
Generated Node #0,2,1: 15:[77, 10] Operation: 39-29=10
Exploring Operation: 77-39=38, Resulting Numbers: [29, 38]
Generated Node #0,2,2: 15:[29, 38] Operation: 77-39=38
Exploring Operation: 77-29=48, Resulting Numbers: [39, 48]
Generated Node #0,2,3: 15:[39, 48] Operation: 77-29=48
Exploring Operation: 29+77=106, Resulting Numbers: [39, 106]
Generated Node #0,2,4: 15:[39, 106] Operation: 29+77=106
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 15:[29, 38], Operations: ['65-26=39', '77-39=38']
Exploring Operation: 29*38=1102, Resulting Numbers: [1102]
1102,15 unequal: No Solution
Exploring Operation: 29+38=67, Resulting Numbers: [67]
67,15 unequal: No Solution
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,15 unequal: No Solution
No 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: 15:[39, 48], Operations: ['65-26=39', '77-29=48']
Exploring Operation: 39+48=87, Resulting Numbers: [87]
87,15 unequal: No Solution
Exploring Operation: 48-39=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 39*48=1872, Resulting Numbers: [1872]
1872,15 unequal: No Solution
No 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: 15:[77, 10], Operations: ['65-26=39', '39-29=10']
Exploring Operation: 77+10=87, Resulting Numbers: [87]
87,15 unequal: No Solution
Exploring Operation: 77-10=67, Resulting Numbers: [67]
67,15 unequal: No Solution
Exploring Operation: 77*10=770, Resulting Numbers: [770]
770,15 unequal: No Solution
No 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: 15:[77, 68], Operations: ['65-26=39', '29+39=68']
Exploring Operation: 77+68=145, Resulting Numbers: [145]
145,15 unequal: No Solution
Exploring Operation: 77-68=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 77*68=5236, Resulting Numbers: [5236]
5236,15 unequal: No Solution
No 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: 15:[39, 106], Operations: ['65-26=39', '29+77=106']
Exploring Operation: 39*106=4134, Resulting Numbers: [4134]
4134,15 unequal: No Solution
Exploring Operation: 39+106=145, Resulting Numbers: [145]
145,15 unequal: No Solution
Exploring Operation: 106-39=67, Resulting Numbers: [67]
67,15 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: 15:[65, 29, 51], Operations: ['77-26=51']
Exploring Operation: 51-29=22, Resulting Numbers: [65, 22]
Generated Node #0,4,0: 15:[65, 22] Operation: 51-29=22
Exploring Operation: 65+51=116, Resulting Numbers: [29, 116]
Generated Node #0,4,1: 15:[29, 116] Operation: 65+51=116
Exploring Operation: 65+29=94, Resulting Numbers: [51, 94]
Generated Node #0,4,2: 15:[51, 94] Operation: 65+29=94
Exploring Operation: 65-51=14, Resulting Numbers: [29, 14]
Generated Node #0,4,3: 15:[29, 14] Operation: 65-51=14
Exploring Operation: 65-29=36, Resulting Numbers: [51, 36]
Generated Node #0,4,4: 15:[51, 36] Operation: 65-29=36
Moving to Node #0,3,1
Current State: 15:[12, 3], Operations: ['77-65=12', '29-26=3']
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[65, 29, 26, 77], Operations: []
Exploring Operation: 77-65=12, Resulting Numbers: [29, 26, 12]
Generated Node #0,3: 15:[29, 26, 12] Operation: 77-65=12
Moving to Node #0,3
Current State: 15:[29, 26, 12], Operations: ['77-65=12']
Exploring Operation: 29-26=3, Resulting Numbers: [12, 3]
Generated Node #0,3,1: 15:[12, 3] Operation: 29-26=3
Moving to Node #0,3,1
Current State: 15:[12, 3], Operations: ['77-65=12', '29-26=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 0.942708 | hs_5 | sum_heuristic |
[
5,
5,
4,
20
] | 99 | [
"5-4=1",
"5*20=100",
"100-1=99"
] | Current State: 99:[5, 5, 4, 20], Operations: []
Exploring Operation: 5-4=1, Resulting Numbers: [20, 1]
Generated Node #2: [20, 1] from Operation: 5-4=1
Current State: 99:[20, 1], Operations: ['5-4=1']
Exploring Operation: 5*20=100, Resulting Numbers: [1, 100]
Generated Node #3: [1, 100] from Operation: 5*20=100
Current State: 99:[1, 100], Operations: ['5-4=1', '5*20=100']
Exploring Operation: 100-1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[5, 5, 4, 20], Operations: []
Exploring Operation: 20/5=4, Resulting Numbers: [5, 4, 4]
Generated Node #0,0: 99:[5, 4, 4] Operation: 20/5=4
Exploring Operation: 20/5=4, Resulting Numbers: [5, 4, 4]
Generated Node #0,1: 99:[5, 4, 4] Operation: 20/5=4
Exploring Operation: 20/4=5, Resulting Numbers: [5, 5, 5]
Generated Node #0,2: 99:[5, 5, 5] Operation: 20/4=5
Exploring Operation: 5*20=100, Resulting Numbers: [5, 4, 100]
Generated Node #0,3: 99:[5, 4, 100] Operation: 5*20=100
Exploring Operation: 5*20=100, Resulting Numbers: [5, 4, 100]
Generated Node #0,4: 99:[5, 4, 100] Operation: 5*20=100
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[5, 4, 4], Operations: ['20/5=4']
Exploring Operation: 5-4=1, Resulting Numbers: [4, 1]
Generated Node #0,0,0: 99:[4, 1] Operation: 5-4=1
Exploring Operation: 5+4=9, Resulting Numbers: [4, 9]
Generated Node #0,0,1: 99:[4, 9] Operation: 5+4=9
Exploring Operation: 5+4=9, Resulting Numbers: [4, 9]
Generated Node #0,0,2: 99:[4, 9] Operation: 5+4=9
Exploring Operation: 4+4=8, Resulting Numbers: [5, 8]
Generated Node #0,0,3: 99:[5, 8] Operation: 4+4=8
Exploring Operation: 5-4=1, Resulting Numbers: [4, 1]
Generated Node #0,0,4: 99:[4, 1] Operation: 5-4=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 99:[4, 9], Operations: ['20/5=4', '5+4=9']
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,99 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,99 unequal: No Solution
No 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: 99:[4, 9], Operations: ['20/5=4', '5+4=9']
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,99 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,99 unequal: No Solution
No 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: 99:[4, 1], Operations: ['20/5=4', '5-4=1']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,99 unequal: No Solution
No 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: 99:[5, 8], Operations: ['20/5=4', '4+4=8']
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,99 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,99 unequal: No Solution
No 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: 99:[4, 1], Operations: ['20/5=4', '5-4=1']
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,99 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,99 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: 99:[5, 4, 4], Operations: ['20/5=4']
Exploring Operation: 5+4=9, Resulting Numbers: [4, 9]
Generated Node #0,1,0: 99:[4, 9] Operation: 5+4=9
Exploring Operation: 5+4=9, Resulting Numbers: [4, 9]
Generated Node #0,1,1: 99:[4, 9] Operation: 5+4=9
Exploring Operation: 4+4=8, Resulting Numbers: [5, 8]
Generated Node #0,1,2: 99:[5, 8] Operation: 4+4=8
Exploring Operation: 5-4=1, Resulting Numbers: [4, 1]
Generated Node #0,1,3: 99:[4, 1] Operation: 5-4=1
Exploring Operation: 5-4=1, Resulting Numbers: [4, 1]
Generated Node #0,1,4: 99:[4, 1] Operation: 5-4=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 99:[4, 9], Operations: ['20/5=4', '5+4=9']
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,99 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,99 unequal: No Solution
No 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: 99:[4, 9], Operations: ['20/5=4', '5+4=9']
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,99 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,99 unequal: No Solution
No 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: 99:[5, 8], Operations: ['20/5=4', '4+4=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,99 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,99 unequal: No Solution
No 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: 99:[4, 1], Operations: ['20/5=4', '5-4=1']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,99 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,99 unequal: No Solution
No 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: 99:[4, 1], Operations: ['20/5=4', '5-4=1']
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,99 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,99 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: 99:[5, 4, 100], Operations: ['5*20=100']
Exploring Operation: 100-4=96, Resulting Numbers: [5, 96]
Generated Node #0,3,0: 99:[5, 96] Operation: 100-4=96
Exploring Operation: 5+100=105, Resulting Numbers: [4, 105]
Generated Node #0,3,1: 99:[4, 105] Operation: 5+100=105
Exploring Operation: 5+4=9, Resulting Numbers: [100, 9]
Generated Node #0,3,2: 99:[100, 9] Operation: 5+4=9
Exploring Operation: 100-5=95, Resulting Numbers: [4, 95]
Generated Node #0,3,3: 99:[4, 95] Operation: 100-5=95
Exploring Operation: 5-4=1, Resulting Numbers: [100, 1]
Generated Node #0,3,4: 99:[100, 1] Operation: 5-4=1
Moving to Node #0,3,2
Current State: 99:[100, 9], Operations: ['5*20=100', '5+4=9']
Exploring Operation: 100+9=109, Resulting Numbers: [109]
109,99 unequal: No Solution
Exploring Operation: 100*9=900, Resulting Numbers: [900]
900,99 unequal: No Solution
Exploring Operation: 100-9=91, Resulting Numbers: [91]
91,99 unequal: No Solution
Moving to Node #0,3,4
Current State: 99:[100, 1], Operations: ['5*20=100', '5-4=1']
Exploring Operation: 100+1=101, Resulting Numbers: [101]
101,99 unequal: No Solution
Exploring Operation: 100*1=100, Resulting Numbers: [100]
100,99 unequal: No Solution
Exploring Operation: 100/1=100, Resulting Numbers: [100]
100,99 unequal: No Solution
Exploring Operation: 100-1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[5, 5, 4, 20], Operations: []
Exploring Operation: 5*20=100, Resulting Numbers: [5, 4, 100]
Generated Node #0,3: 99:[5, 4, 100] Operation: 5*20=100
Moving to Node #0,3
Current State: 99:[5, 4, 100], Operations: ['5*20=100']
Exploring Operation: 5-4=1, Resulting Numbers: [100, 1]
Generated Node #0,3,4: 99:[100, 1] Operation: 5-4=1
Moving to Node #0,3,4
Current State: 99:[100, 1], Operations: ['5*20=100', '5-4=1']
Exploring Operation: 100-1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.943576 | hs_5 | mult_heuristic |
[
23,
79,
16,
23
] | 62 | [
"23/23=1",
"79-16=63",
"63-1=62"
] | Current State: 62:[23, 79, 16, 23], Operations: []
Exploring Operation: 23/23=1, Resulting Numbers: [79, 16, 1]
Generated Node #2: [79, 16, 1] from Operation: 23/23=1
Current State: 62:[79, 16, 1], Operations: ['23/23=1']
Exploring Operation: 79-16=63, Resulting Numbers: [1, 63]
Generated Node #3: [1, 63] from Operation: 79-16=63
Current State: 62:[1, 63], Operations: ['23/23=1', '79-16=63']
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[23, 79, 16, 23], Operations: []
Exploring Operation: 23-16=7, Resulting Numbers: [23, 79, 7]
Generated Node #0,0: 62:[23, 79, 7] Operation: 23-16=7
Exploring Operation: 79-23=56, Resulting Numbers: [23, 16, 56]
Generated Node #0,1: 62:[23, 16, 56] Operation: 79-23=56
Exploring Operation: 79-16=63, Resulting Numbers: [23, 23, 63]
Generated Node #0,2: 62:[23, 23, 63] Operation: 79-16=63
Exploring Operation: 23-16=7, Resulting Numbers: [79, 23, 7]
Generated Node #0,3: 62:[79, 23, 7] Operation: 23-16=7
Exploring Operation: 79-23=56, Resulting Numbers: [16, 23, 56]
Generated Node #0,4: 62:[16, 23, 56] Operation: 79-23=56
Moving to Node #0,2
Current State: 62:[23, 23, 63], Operations: ['79-16=63']
Exploring Operation: 63-23=40, Resulting Numbers: [23, 40]
Generated Node #0,2,0: 62:[23, 40] Operation: 63-23=40
Exploring Operation: 23/23=1, Resulting Numbers: [63, 1]
Generated Node #0,2,1: 62:[63, 1] Operation: 23/23=1
Exploring Operation: 23-23=0, Resulting Numbers: [63, 0]
Generated Node #0,2,2: 62:[63, 0] Operation: 23-23=0
Exploring Operation: 23+23=46, Resulting Numbers: [63, 46]
Generated Node #0,2,3: 62:[63, 46] Operation: 23+23=46
Exploring Operation: 63-23=40, Resulting Numbers: [23, 40]
Generated Node #0,2,4: 62:[23, 40] Operation: 63-23=40
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 62:[63, 1], Operations: ['79-16=63', '23/23=1']
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 63+1=64, Resulting Numbers: [64]
64,62 unequal: No Solution
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[23, 79, 16, 23], Operations: []
Exploring Operation: 79-16=63, Resulting Numbers: [23, 23, 63]
Generated Node #0,2: 62:[23, 23, 63] Operation: 79-16=63
Moving to Node #0,2
Current State: 62:[23, 23, 63], Operations: ['79-16=63']
Exploring Operation: 23/23=1, Resulting Numbers: [63, 1]
Generated Node #0,2,1: 62:[63, 1] Operation: 23/23=1
Moving to Node #0,2,1
Current State: 62:[63, 1], Operations: ['79-16=63', '23/23=1']
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
2,
54,
95,
41
] | 81 | [
"54/2=27",
"95-41=54",
"27+54=81"
] | Current State: 81:[2, 54, 95, 41], Operations: []
Exploring Operation: 54/2=27, Resulting Numbers: [95, 41, 27]
Generated Node #2: [95, 41, 27] from Operation: 54/2=27
Current State: 81:[95, 41, 27], Operations: ['54/2=27']
Exploring Operation: 95-41=54, Resulting Numbers: [27, 54]
Generated Node #3: [27, 54] from Operation: 95-41=54
Current State: 81:[27, 54], Operations: ['54/2=27', '95-41=54']
Exploring Operation: 27+54=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[2, 54, 95, 41], Operations: []
Exploring Operation: 54/2=27, Resulting Numbers: [95, 41, 27]
Generated Node #0,0: 81:[95, 41, 27] Operation: 54/2=27
Exploring Operation: 2*41=82, Resulting Numbers: [54, 95, 82]
Generated Node #0,1: 81:[54, 95, 82] Operation: 2*41=82
Exploring Operation: 54+41=95, Resulting Numbers: [2, 95, 95]
Generated Node #0,2: 81:[2, 95, 95] Operation: 54+41=95
Exploring Operation: 54-41=13, Resulting Numbers: [2, 95, 13]
Generated Node #0,3: 81:[2, 95, 13] Operation: 54-41=13
Exploring Operation: 95-54=41, Resulting Numbers: [2, 41, 41]
Generated Node #0,4: 81:[2, 41, 41] Operation: 95-54=41
Start Sub Search at level 1: Moving to Node #0,3
Current State: 81:[2, 95, 13], Operations: ['54-41=13']
Exploring Operation: 2+95=97, Resulting Numbers: [13, 97]
Generated Node #0,3,0: 81:[13, 97] Operation: 2+95=97
Exploring Operation: 13-2=11, Resulting Numbers: [95, 11]
Generated Node #0,3,1: 81:[95, 11] Operation: 13-2=11
Exploring Operation: 95-2=93, Resulting Numbers: [13, 93]
Generated Node #0,3,2: 81:[13, 93] Operation: 95-2=93
Exploring Operation: 95-13=82, Resulting Numbers: [2, 82]
Generated Node #0,3,3: 81:[2, 82] Operation: 95-13=82
Exploring Operation: 2*13=26, Resulting Numbers: [95, 26]
Generated Node #0,3,4: 81:[95, 26] Operation: 2*13=26
Moving to Node #0,3,3
Current State: 81:[2, 82], Operations: ['54-41=13', '95-13=82']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,81 unequal: No Solution
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,81 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Exploring Operation: 2*82=164, Resulting Numbers: [164]
164,81 unequal: No Solution
Moving to Node #0,3,4
Current State: 81:[95, 26], Operations: ['54-41=13', '2*13=26']
Exploring Operation: 95-26=69, Resulting Numbers: [69]
69,81 unequal: No Solution
Exploring Operation: 95*26=2470, Resulting Numbers: [2470]
2470,81 unequal: No Solution
Exploring Operation: 95+26=121, Resulting Numbers: [121]
121,81 unequal: No Solution
Moving to Node #0,3,1
Current State: 81:[95, 11], Operations: ['54-41=13', '13-2=11']
Exploring Operation: 95+11=106, Resulting Numbers: [106]
106,81 unequal: No Solution
Exploring Operation: 95*11=1045, Resulting Numbers: [1045]
1045,81 unequal: No Solution
Exploring Operation: 95-11=84, Resulting Numbers: [84]
84,81 unequal: No Solution
Moving to Node #0,3,2
Current State: 81:[13, 93], Operations: ['54-41=13', '95-2=93']
Exploring Operation: 93-13=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Exploring Operation: 13+93=106, Resulting Numbers: [106]
106,81 unequal: No Solution
Exploring Operation: 13*93=1209, Resulting Numbers: [1209]
1209,81 unequal: No Solution
Moving to Node #0,3,0
Current State: 81:[13, 97], Operations: ['54-41=13', '2+95=97']
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,81 unequal: No Solution
Exploring Operation: 13+97=110, Resulting Numbers: [110]
110,81 unequal: No Solution
Exploring Operation: 13*97=1261, Resulting Numbers: [1261]
1261,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[95, 41, 27], Operations: ['54/2=27']
Exploring Operation: 41+27=68, Resulting Numbers: [95, 68]
Generated Node #0,0,0: 81:[95, 68] Operation: 41+27=68
Exploring Operation: 41-27=14, Resulting Numbers: [95, 14]
Generated Node #0,0,1: 81:[95, 14] Operation: 41-27=14
Exploring Operation: 95-27=68, Resulting Numbers: [41, 68]
Generated Node #0,0,2: 81:[41, 68] Operation: 95-27=68
Exploring Operation: 95-41=54, Resulting Numbers: [27, 54]
Generated Node #0,0,3: 81:[27, 54] Operation: 95-41=54
Exploring Operation: 95+41=136, Resulting Numbers: [27, 136]
Generated Node #0,0,4: 81:[27, 136] Operation: 95+41=136
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 81:[95, 14], Operations: ['54/2=27', '41-27=14']
Exploring Operation: 95*14=1330, Resulting Numbers: [1330]
1330,81 unequal: No Solution
Exploring Operation: 95+14=109, Resulting Numbers: [109]
109,81 unequal: No Solution
Exploring Operation: 95-14=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[2, 54, 95, 41], Operations: []
Exploring Operation: 54/2=27, Resulting Numbers: [95, 41, 27]
Generated Node #0,0: 81:[95, 41, 27] Operation: 54/2=27
Moving to Node #0,0
Current State: 81:[95, 41, 27], Operations: ['54/2=27']
Exploring Operation: 41-27=14, Resulting Numbers: [95, 14]
Generated Node #0,0,1: 81:[95, 14] Operation: 41-27=14
Moving to Node #0,0,1
Current State: 81:[95, 14], Operations: ['54/2=27', '41-27=14']
Exploring Operation: 95-14=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_5 | mult_heuristic |
[
39,
36,
23,
51
] | 77 | [
"39-36=3",
"23+51=74",
"3+74=77"
] | Current State: 77:[39, 36, 23, 51], Operations: []
Exploring Operation: 39-36=3, Resulting Numbers: [23, 51, 3]
Generated Node #2: [23, 51, 3] from Operation: 39-36=3
Current State: 77:[23, 51, 3], Operations: ['39-36=3']
Exploring Operation: 23+51=74, Resulting Numbers: [3, 74]
Generated Node #3: [3, 74] from Operation: 23+51=74
Current State: 77:[3, 74], Operations: ['39-36=3', '23+51=74']
Exploring Operation: 3+74=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[39, 36, 23, 51], Operations: []
Exploring Operation: 51-39=12, Resulting Numbers: [36, 23, 12]
Generated Node #0,0: 77:[36, 23, 12] Operation: 51-39=12
Moving to Node #0,0
Current State: 77:[36, 23, 12], Operations: ['51-39=12']
Exploring Operation: 36-23=13, Resulting Numbers: [12, 13]
Generated Node #0,0,0: 77:[12, 13] Operation: 36-23=13
Moving to Node #0,0,0
Current State: 77:[12, 13], Operations: ['51-39=12', '36-23=13']
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,77 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
89,
77,
46,
66
] | 79 | [
"89-66=23",
"46/23=2",
"77+2=79"
] | Current State: 79:[89, 77, 46, 66], Operations: []
Exploring Operation: 89-66=23, Resulting Numbers: [77, 46, 23]
Generated Node #2: [77, 46, 23] from Operation: 89-66=23
Current State: 79:[77, 46, 23], Operations: ['89-66=23']
Exploring Operation: 46/23=2, Resulting Numbers: [77, 2]
Generated Node #3: [77, 2] from Operation: 46/23=2
Current State: 79:[77, 2], Operations: ['89-66=23', '46/23=2']
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[89, 77, 46, 66], Operations: []
Exploring Operation: 46+66=112, Resulting Numbers: [89, 77, 112]
Generated Node #0,0: 79:[89, 77, 112] Operation: 46+66=112
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[89, 77, 112], Operations: ['46+66=112']
Exploring Operation: 112-77=35, Resulting Numbers: [89, 35]
Generated Node #0,0,0: 79:[89, 35] Operation: 112-77=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[89, 35], Operations: ['46+66=112', '112-77=35']
Exploring Operation: 89-35=54, Resulting Numbers: [54]
54,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
37,
3,
53,
91
] | 78 | [
"37+3=40",
"91-53=38",
"40+38=78"
] | Current State: 78:[37, 3, 53, 91], Operations: []
Exploring Operation: 37+3=40, Resulting Numbers: [53, 91, 40]
Generated Node #2: [53, 91, 40] from Operation: 37+3=40
Current State: 78:[53, 91, 40], Operations: ['37+3=40']
Exploring Operation: 91-53=38, Resulting Numbers: [40, 38]
Generated Node #3: [40, 38] from Operation: 91-53=38
Current State: 78:[40, 38], Operations: ['37+3=40', '91-53=38']
Exploring Operation: 40+38=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[37, 3, 53, 91], Operations: []
Exploring Operation: 91-53=38, Resulting Numbers: [37, 3, 38]
Generated Node #0,0: 78:[37, 3, 38] Operation: 91-53=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[37, 3, 38], Operations: ['91-53=38']
Exploring Operation: 38-37=1, Resulting Numbers: [3, 1]
Generated Node #0,0,0: 78:[3, 1] Operation: 38-37=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[3, 1], Operations: ['91-53=38', '38-37=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,78 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 |
[
82,
9,
5,
15
] | 71 | [
"82+9=91",
"5+15=20",
"91-20=71"
] | Current State: 71:[82, 9, 5, 15], Operations: []
Exploring Operation: 82+9=91, Resulting Numbers: [5, 15, 91]
Generated Node #2: [5, 15, 91] from Operation: 82+9=91
Current State: 71:[5, 15, 91], Operations: ['82+9=91']
Exploring Operation: 5+15=20, Resulting Numbers: [91, 20]
Generated Node #3: [91, 20] from Operation: 5+15=20
Current State: 71:[91, 20], Operations: ['82+9=91', '5+15=20']
Exploring Operation: 91-20=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[82, 9, 5, 15], Operations: []
Exploring Operation: 82-9=73, Resulting Numbers: [5, 15, 73]
Generated Node #0,0: 71:[5, 15, 73] Operation: 82-9=73
Exploring Operation: 9*5=45, Resulting Numbers: [82, 15, 45]
Generated Node #0,1: 71:[82, 15, 45] Operation: 9*5=45
Exploring Operation: 9+5=14, Resulting Numbers: [82, 15, 14]
Generated Node #0,2: 71:[82, 15, 14] Operation: 9+5=14
Exploring Operation: 82-5=77, Resulting Numbers: [9, 15, 77]
Generated Node #0,3: 71:[9, 15, 77] Operation: 82-5=77
Exploring Operation: 5*15=75, Resulting Numbers: [82, 9, 75]
Generated Node #0,4: 71:[82, 9, 75] Operation: 5*15=75
Start Sub Search at level 1: Moving to Node #0,4
Current State: 71:[82, 9, 75], Operations: ['5*15=75']
Exploring Operation: 75-9=66, Resulting Numbers: [82, 66]
Generated Node #0,4,0: 71:[82, 66] Operation: 75-9=66
Exploring Operation: 9+75=84, Resulting Numbers: [82, 84]
Generated Node #0,4,1: 71:[82, 84] Operation: 9+75=84
Exploring Operation: 82-75=7, Resulting Numbers: [9, 7]
Generated Node #0,4,2: 71:[9, 7] Operation: 82-75=7
Exploring Operation: 82+9=91, Resulting Numbers: [75, 91]
Generated Node #0,4,3: 71:[75, 91] Operation: 82+9=91
Exploring Operation: 82-9=73, Resulting Numbers: [75, 73]
Generated Node #0,4,4: 71:[75, 73] Operation: 82-9=73
Moving to Node #0,4,4
Current State: 71:[75, 73], Operations: ['5*15=75', '82-9=73']
Exploring Operation: 75-73=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 75+73=148, Resulting Numbers: [148]
148,71 unequal: No Solution
Exploring Operation: 75*73=5475, Resulting Numbers: [5475]
5475,71 unequal: No Solution
Moving to Node #0,4,0
Current State: 71:[82, 66], Operations: ['5*15=75', '75-9=66']
Exploring Operation: 82*66=5412, Resulting Numbers: [5412]
5412,71 unequal: No Solution
Exploring Operation: 82-66=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 82+66=148, Resulting Numbers: [148]
148,71 unequal: No Solution
Moving to Node #0,4,1
Current State: 71:[82, 84], Operations: ['5*15=75', '9+75=84']
Exploring Operation: 82+84=166, Resulting Numbers: [166]
166,71 unequal: No Solution
Exploring Operation: 84-82=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 82*84=6888, Resulting Numbers: [6888]
6888,71 unequal: No Solution
Moving to Node #0,4,3
Current State: 71:[75, 91], Operations: ['5*15=75', '82+9=91']
Exploring Operation: 75*91=6825, Resulting Numbers: [6825]
6825,71 unequal: No Solution
Exploring Operation: 75+91=166, Resulting Numbers: [166]
166,71 unequal: No Solution
Exploring Operation: 91-75=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Moving to Node #0,4,2
Current State: 71:[9, 7], Operations: ['5*15=75', '82-75=7']
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,71 unequal: No Solution
Exploring Operation: 9-7=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,1
Current State: 71:[82, 15, 45], Operations: ['9*5=45']
Exploring Operation: 45/15=3, Resulting Numbers: [82, 3]
Generated Node #0,1,0: 71:[82, 3] Operation: 45/15=3
Exploring Operation: 15+45=60, Resulting Numbers: [82, 60]
Generated Node #0,1,1: 71:[82, 60] Operation: 15+45=60
Exploring Operation: 82+15=97, Resulting Numbers: [45, 97]
Generated Node #0,1,2: 71:[45, 97] Operation: 82+15=97
Exploring Operation: 82-15=67, Resulting Numbers: [45, 67]
Generated Node #0,1,3: 71:[45, 67] Operation: 82-15=67
Exploring Operation: 45-15=30, Resulting Numbers: [82, 30]
Generated Node #0,1,4: 71:[82, 30] Operation: 45-15=30
Moving to Node #0,1,1
Current State: 71:[82, 60], Operations: ['9*5=45', '15+45=60']
Exploring Operation: 82*60=4920, Resulting Numbers: [4920]
4920,71 unequal: No Solution
Exploring Operation: 82+60=142, Resulting Numbers: [142]
142,71 unequal: No Solution
Exploring Operation: 82-60=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[45, 67], Operations: ['9*5=45', '82-15=67']
Exploring Operation: 45+67=112, Resulting Numbers: [112]
112,71 unequal: No Solution
Exploring Operation: 45*67=3015, Resulting Numbers: [3015]
3015,71 unequal: No Solution
Exploring Operation: 67-45=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[45, 97], Operations: ['9*5=45', '82+15=97']
Exploring Operation: 97-45=52, Resulting Numbers: [52]
52,71 unequal: No Solution
Exploring Operation: 45+97=142, Resulting Numbers: [142]
142,71 unequal: No Solution
Exploring Operation: 45*97=4365, Resulting Numbers: [4365]
4365,71 unequal: No Solution
Moving to Node #0,1,4
Current State: 71:[82, 30], Operations: ['9*5=45', '45-15=30']
Exploring Operation: 82-30=52, Resulting Numbers: [52]
52,71 unequal: No Solution
Exploring Operation: 82+30=112, Resulting Numbers: [112]
112,71 unequal: No Solution
Exploring Operation: 82*30=2460, Resulting Numbers: [2460]
2460,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[82, 3], Operations: ['9*5=45', '45/15=3']
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,71 unequal: No Solution
Exploring Operation: 82*3=246, Resulting Numbers: [246]
246,71 unequal: No Solution
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[5, 15, 73], Operations: ['82-9=73']
Exploring Operation: 15-5=10, Resulting Numbers: [73, 10]
Generated Node #0,0,0: 71:[73, 10] Operation: 15-5=10
Exploring Operation: 73-5=68, Resulting Numbers: [15, 68]
Generated Node #0,0,1: 71:[15, 68] Operation: 73-5=68
Exploring Operation: 5+15=20, Resulting Numbers: [73, 20]
Generated Node #0,0,2: 71:[73, 20] Operation: 5+15=20
Exploring Operation: 5+73=78, Resulting Numbers: [15, 78]
Generated Node #0,0,3: 71:[15, 78] Operation: 5+73=78
Exploring Operation: 5*15=75, Resulting Numbers: [73, 75]
Generated Node #0,0,4: 71:[73, 75] Operation: 5*15=75
Moving to Node #0,0,4
Current State: 71:[73, 75], Operations: ['82-9=73', '5*15=75']
Exploring Operation: 75-73=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 73*75=5475, Resulting Numbers: [5475]
5475,71 unequal: No Solution
Exploring Operation: 73+75=148, Resulting Numbers: [148]
148,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[73, 20], Operations: ['82-9=73', '5+15=20']
Exploring Operation: 73+20=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Exploring Operation: 73-20=53, Resulting Numbers: [53]
53,71 unequal: No Solution
Exploring Operation: 73*20=1460, Resulting Numbers: [1460]
1460,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[15, 68], Operations: ['82-9=73', '73-5=68']
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,71 unequal: No Solution
Exploring Operation: 15+68=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 15*68=1020, Resulting Numbers: [1020]
1020,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[73, 10], Operations: ['82-9=73', '15-5=10']
Exploring Operation: 73*10=730, Resulting Numbers: [730]
730,71 unequal: No Solution
Exploring Operation: 73+10=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 73-10=63, Resulting Numbers: [63]
63,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[15, 78], Operations: ['82-9=73', '5+73=78']
Exploring Operation: 78-15=63, Resulting Numbers: [63]
63,71 unequal: No Solution
Exploring Operation: 15+78=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Exploring Operation: 15*78=1170, Resulting Numbers: [1170]
1170,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
Current State: 71:[82, 15, 14], Operations: ['9+5=14']
Exploring Operation: 82+14=96, Resulting Numbers: [15, 96]
Generated Node #0,2,0: 71:[15, 96] Operation: 82+14=96
Exploring Operation: 82-14=68, Resulting Numbers: [15, 68]
Generated Node #0,2,1: 71:[15, 68] Operation: 82-14=68
Exploring Operation: 15+14=29, Resulting Numbers: [82, 29]
Generated Node #0,2,2: 71:[82, 29] Operation: 15+14=29
Exploring Operation: 82-15=67, Resulting Numbers: [14, 67]
Generated Node #0,2,3: 71:[14, 67] Operation: 82-15=67
Exploring Operation: 15-14=1, Resulting Numbers: [82, 1]
Generated Node #0,2,4: 71:[82, 1] Operation: 15-14=1
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 71:[82, 29], Operations: ['9+5=14', '15+14=29']
Exploring Operation: 82+29=111, Resulting Numbers: [111]
111,71 unequal: No Solution
Exploring Operation: 82*29=2378, Resulting Numbers: [2378]
2378,71 unequal: No Solution
Exploring Operation: 82-29=53, Resulting Numbers: [53]
53,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 71:[15, 68], Operations: ['9+5=14', '82-14=68']
Exploring Operation: 15+68=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,71 unequal: No Solution
Exploring Operation: 15*68=1020, Resulting Numbers: [1020]
1020,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 71:[14, 67], Operations: ['9+5=14', '82-15=67']
Exploring Operation: 14*67=938, Resulting Numbers: [938]
938,71 unequal: No Solution
Exploring Operation: 14+67=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 67-14=53, Resulting Numbers: [53]
53,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 71:[15, 96], Operations: ['9+5=14', '82+14=96']
Exploring Operation: 15*96=1440, Resulting Numbers: [1440]
1440,71 unequal: No Solution
Exploring Operation: 15+96=111, Resulting Numbers: [111]
111,71 unequal: No Solution
Exploring Operation: 96-15=81, Resulting Numbers: [81]
81,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 71:[82, 1], Operations: ['9+5=14', '15-14=1']
Exploring Operation: 82+1=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 71:[9, 15, 77], Operations: ['82-5=77']
Exploring Operation: 77-9=68, Resulting Numbers: [15, 68]
Generated Node #0,3,0: 71:[15, 68] Operation: 77-9=68
Exploring Operation: 9+15=24, Resulting Numbers: [77, 24]
Generated Node #0,3,1: 71:[77, 24] Operation: 9+15=24
Exploring Operation: 9*15=135, Resulting Numbers: [77, 135]
Generated Node #0,3,2: 71:[77, 135] Operation: 9*15=135
Exploring Operation: 15-9=6, Resulting Numbers: [77, 6]
Generated Node #0,3,3: 71:[77, 6] Operation: 15-9=6
Exploring Operation: 9+77=86, Resulting Numbers: [15, 86]
Generated Node #0,3,4: 71:[15, 86] Operation: 9+77=86
Moving to Node #0,3,1
Current State: 71:[77, 24], Operations: ['82-5=77', '9+15=24']
Exploring Operation: 77+24=101, Resulting Numbers: [101]
101,71 unequal: No Solution
Exploring Operation: 77-24=53, Resulting Numbers: [53]
53,71 unequal: No Solution
Exploring Operation: 77*24=1848, Resulting Numbers: [1848]
1848,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[15, 68], Operations: ['82-5=77', '77-9=68']
Exploring Operation: 15*68=1020, Resulting Numbers: [1020]
1020,71 unequal: No Solution
Exploring Operation: 15+68=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[77, 135], Operations: ['82-5=77', '9*15=135']
Exploring Operation: 135-77=58, Resulting Numbers: [58]
58,71 unequal: No Solution
Exploring Operation: 77*135=10395, Resulting Numbers: [10395]
10395,71 unequal: No Solution
Exploring Operation: 77+135=212, Resulting Numbers: [212]
212,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[77, 6], Operations: ['82-5=77', '15-9=6']
Exploring Operation: 77*6=462, Resulting Numbers: [462]
462,71 unequal: No Solution
Exploring Operation: 77+6=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 77-6=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[82, 9, 5, 15], Operations: []
Exploring Operation: 82-5=77, Resulting Numbers: [9, 15, 77]
Generated Node #0,3: 71:[9, 15, 77] Operation: 82-5=77
Moving to Node #0,3
Current State: 71:[9, 15, 77], Operations: ['82-5=77']
Exploring Operation: 15-9=6, Resulting Numbers: [77, 6]
Generated Node #0,3,3: 71:[77, 6] Operation: 15-9=6
Moving to Node #0,3,3
Current State: 71:[77, 6], Operations: ['82-5=77', '15-9=6']
Exploring Operation: 77-6=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.907118 | hs_5 | sum_heuristic |
[
82,
50,
47,
42
] | 72 | [
"47-42=5",
"50/5=10",
"82-10=72"
] | Current State: 72:[82, 50, 47, 42], Operations: []
Exploring Operation: 47-42=5, Resulting Numbers: [82, 50, 5]
Generated Node #2: [82, 50, 5] from Operation: 47-42=5
Current State: 72:[82, 50, 5], Operations: ['47-42=5']
Exploring Operation: 50/5=10, Resulting Numbers: [82, 10]
Generated Node #3: [82, 10] from Operation: 50/5=10
Current State: 72:[82, 10], Operations: ['47-42=5', '50/5=10']
Exploring Operation: 82-10=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[82, 50, 47, 42], Operations: []
Exploring Operation: 50-47=3, Resulting Numbers: [82, 42, 3]
Generated Node #0,0: 72:[82, 42, 3] Operation: 50-47=3
Moving to Node #0,0
Current State: 72:[82, 42, 3], Operations: ['50-47=3']
Exploring Operation: 82-42=40, Resulting Numbers: [3, 40]
Generated Node #0,0,0: 72:[3, 40] Operation: 82-42=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[3, 40], Operations: ['50-47=3', '82-42=40']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
68,
28,
16,
36
] | 76 | [
"68+28=96",
"36-16=20",
"96-20=76"
] | Current State: 76:[68, 28, 16, 36], Operations: []
Exploring Operation: 68+28=96, Resulting Numbers: [16, 36, 96]
Generated Node #2: [16, 36, 96] from Operation: 68+28=96
Current State: 76:[16, 36, 96], Operations: ['68+28=96']
Exploring Operation: 36-16=20, Resulting Numbers: [96, 20]
Generated Node #3: [96, 20] from Operation: 36-16=20
Current State: 76:[96, 20], Operations: ['68+28=96', '36-16=20']
Exploring Operation: 96-20=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[68, 28, 16, 36], Operations: []
Exploring Operation: 28+16=44, Resulting Numbers: [68, 36, 44]
Generated Node #0,0: 76:[68, 36, 44] Operation: 28+16=44
Exploring Operation: 36-28=8, Resulting Numbers: [68, 16, 8]
Generated Node #0,1: 76:[68, 16, 8] Operation: 36-28=8
Exploring Operation: 28-16=12, Resulting Numbers: [68, 36, 12]
Generated Node #0,2: 76:[68, 36, 12] Operation: 28-16=12
Exploring Operation: 68-28=40, Resulting Numbers: [16, 36, 40]
Generated Node #0,3: 76:[16, 36, 40] Operation: 68-28=40
Start Sub Search at level 1: Moving to Node #0,3
Current State: 76:[16, 36, 40], Operations: ['68-28=40']
Exploring Operation: 40-16=24, Resulting Numbers: [36, 24]
Generated Node #0,3,0: 76:[36, 24] Operation: 40-16=24
Exploring Operation: 36-16=20, Resulting Numbers: [40, 20]
Generated Node #0,3,1: 76:[40, 20] Operation: 36-16=20
Exploring Operation: 40-36=4, Resulting Numbers: [16, 4]
Generated Node #0,3,2: 76:[16, 4] Operation: 40-36=4
Exploring Operation: 36+40=76, Resulting Numbers: [16, 76]
Generated Node #0,3,3: 76:[16, 76] Operation: 36+40=76
Moving to Node #0,3,1
Current State: 76:[40, 20], Operations: ['68-28=40', '36-16=20']
Exploring Operation: 40*20=800, Resulting Numbers: [800]
800,76 unequal: No Solution
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 40+20=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[16, 76], Operations: ['68-28=40', '36+40=76']
Exploring Operation: 16*76=1216, Resulting Numbers: [1216]
1216,76 unequal: No Solution
Exploring Operation: 76-16=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Exploring Operation: 16+76=92, Resulting Numbers: [92]
92,76 unequal: No Solution
Moving to Node #0,3,2
Current State: 76:[16, 4], Operations: ['68-28=40', '40-36=4']
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,76 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Moving to Node #0,3,0
Current State: 76:[36, 24], Operations: ['68-28=40', '40-16=24']
Exploring Operation: 36+24=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Exploring Operation: 36*24=864, Resulting Numbers: [864]
864,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:[68, 16, 8], Operations: ['36-28=8']
Exploring Operation: 16/8=2, Resulting Numbers: [68, 2]
Generated Node #0,1,0: 76:[68, 2] Operation: 16/8=2
Exploring Operation: 68+8=76, Resulting Numbers: [16, 76]
Generated Node #0,1,1: 76:[16, 76] Operation: 68+8=76
Exploring Operation: 68+16=84, Resulting Numbers: [8, 84]
Generated Node #0,1,2: 76:[8, 84] Operation: 68+16=84
Exploring Operation: 16-8=8, Resulting Numbers: [68, 8]
Generated Node #0,1,3: 76:[68, 8] Operation: 16-8=8
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[16, 76], Operations: ['36-28=8', '68+8=76']
Exploring Operation: 16*76=1216, Resulting Numbers: [1216]
1216,76 unequal: No Solution
Exploring Operation: 16+76=92, Resulting Numbers: [92]
92,76 unequal: No Solution
Exploring Operation: 76-16=60, Resulting Numbers: [60]
60,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[68, 2], Operations: ['36-28=8', '16/8=2']
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,76 unequal: No Solution
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,76 unequal: No Solution
Exploring Operation: 68*2=136, Resulting Numbers: [136]
136,76 unequal: No Solution
Exploring Operation: 68+2=70, Resulting Numbers: [70]
70,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 76:[8, 84], Operations: ['36-28=8', '68+16=84']
Exploring Operation: 8*84=672, Resulting Numbers: [672]
672,76 unequal: No Solution
Exploring Operation: 8+84=92, Resulting Numbers: [92]
92,76 unequal: No Solution
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[68, 28, 16, 36], Operations: []
Exploring Operation: 36-28=8, Resulting Numbers: [68, 16, 8]
Generated Node #0,1: 76:[68, 16, 8] Operation: 36-28=8
Moving to Node #0,1
Current State: 76:[68, 16, 8], Operations: ['36-28=8']
Exploring Operation: 68+16=84, Resulting Numbers: [8, 84]
Generated Node #0,1,2: 76:[8, 84] Operation: 68+16=84
Moving to Node #0,1,2
Current State: 76:[8, 84], Operations: ['36-28=8', '68+16=84']
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.965278 | hs_4 | mult_heuristic |
[
27,
63,
35,
89
] | 35 | [
"27+63=90",
"90-89=1",
"35*1=35"
] | Current State: 35:[27, 63, 35, 89], Operations: []
Exploring Operation: 27+63=90, Resulting Numbers: [35, 89, 90]
Generated Node #2: [35, 89, 90] from Operation: 27+63=90
Current State: 35:[35, 89, 90], Operations: ['27+63=90']
Exploring Operation: 90-89=1, Resulting Numbers: [35, 1]
Generated Node #3: [35, 1] from Operation: 90-89=1
Current State: 35:[35, 1], Operations: ['27+63=90', '90-89=1']
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[27, 63, 35, 89], Operations: []
Exploring Operation: 89-35=54, Resulting Numbers: [27, 63, 54]
Generated Node #0,0: 35:[27, 63, 54] Operation: 89-35=54
Exploring Operation: 63-27=36, Resulting Numbers: [35, 89, 36]
Generated Node #0,1: 35:[35, 89, 36] Operation: 63-27=36
Exploring Operation: 89-27=62, Resulting Numbers: [63, 35, 62]
Generated Node #0,2: 35:[63, 35, 62] Operation: 89-27=62
Exploring Operation: 89-63=26, Resulting Numbers: [27, 35, 26]
Generated Node #0,3: 35:[27, 35, 26] Operation: 89-63=26
Start Sub Search at level 1: Moving to Node #0,3
Current State: 35:[27, 35, 26], Operations: ['89-63=26']
Exploring Operation: 35-27=8, Resulting Numbers: [26, 8]
Generated Node #0,3,0: 35:[26, 8] Operation: 35-27=8
Exploring Operation: 27+26=53, Resulting Numbers: [35, 53]
Generated Node #0,3,1: 35:[35, 53] Operation: 27+26=53
Exploring Operation: 35-26=9, Resulting Numbers: [27, 9]
Generated Node #0,3,2: 35:[27, 9] Operation: 35-26=9
Exploring Operation: 27-26=1, Resulting Numbers: [35, 1]
Generated Node #0,3,3: 35:[35, 1] Operation: 27-26=1
Moving to Node #0,3,3
Current State: 35:[35, 1], Operations: ['89-63=26', '27-26=1']
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[27, 63, 35, 89], Operations: []
Exploring Operation: 89-63=26, Resulting Numbers: [27, 35, 26]
Generated Node #0,3: 35:[27, 35, 26] Operation: 89-63=26
Moving to Node #0,3
Current State: 35:[27, 35, 26], Operations: ['89-63=26']
Exploring Operation: 27-26=1, Resulting Numbers: [35, 1]
Generated Node #0,3,3: 35:[35, 1] Operation: 27-26=1
Moving to Node #0,3,3
Current State: 35:[35, 1], Operations: ['89-63=26', '27-26=1']
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
40,
5,
90,
74
] | 19 | [
"40-5=35",
"90-74=16",
"35-16=19"
] | Current State: 19:[40, 5, 90, 74], Operations: []
Exploring Operation: 40-5=35, Resulting Numbers: [90, 74, 35]
Generated Node #2: [90, 74, 35] from Operation: 40-5=35
Current State: 19:[90, 74, 35], Operations: ['40-5=35']
Exploring Operation: 90-74=16, Resulting Numbers: [35, 16]
Generated Node #3: [35, 16] from Operation: 90-74=16
Current State: 19:[35, 16], Operations: ['40-5=35', '90-74=16']
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[40, 5, 90, 74], Operations: []
Exploring Operation: 90-40=50, Resulting Numbers: [5, 74, 50]
Generated Node #0,0: 19:[5, 74, 50] Operation: 90-40=50
Exploring Operation: 90-74=16, Resulting Numbers: [40, 5, 16]
Generated Node #0,1: 19:[40, 5, 16] Operation: 90-74=16
Exploring Operation: 90/5=18, Resulting Numbers: [40, 74, 18]
Generated Node #0,2: 19:[40, 74, 18] Operation: 90/5=18
Moving to Node #0,1
Current State: 19:[40, 5, 16], Operations: ['90-74=16']
Exploring Operation: 40/5=8, Resulting Numbers: [16, 8]
Generated Node #0,1,0: 19:[16, 8] Operation: 40/5=8
Exploring Operation: 40-16=24, Resulting Numbers: [5, 24]
Generated Node #0,1,1: 19:[5, 24] Operation: 40-16=24
Exploring Operation: 40-5=35, Resulting Numbers: [16, 35]
Generated Node #0,1,2: 19:[16, 35] Operation: 40-5=35
Moving to Node #0,2
Current State: 19:[40, 74, 18], Operations: ['90/5=18']
Exploring Operation: 74-40=34, Resulting Numbers: [18, 34]
Generated Node #0,2,0: 19:[18, 34] Operation: 74-40=34
Exploring Operation: 74-18=56, Resulting Numbers: [40, 56]
Generated Node #0,2,1: 19:[40, 56] Operation: 74-18=56
Exploring Operation: 40-18=22, Resulting Numbers: [74, 22]
Generated Node #0,2,2: 19:[74, 22] Operation: 40-18=22
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 19:[18, 34], Operations: ['90/5=18', '74-40=34']
Exploring Operation: 18+34=52, Resulting Numbers: [52]
52,19 unequal: No Solution
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
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 19:[40, 56], Operations: ['90/5=18', '74-18=56']
Exploring Operation: 40*56=2240, Resulting Numbers: [2240]
2240,19 unequal: No Solution
Exploring Operation: 56-40=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 40+56=96, Resulting Numbers: [96]
96,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 19:[74, 22], Operations: ['90/5=18', '40-18=22']
Exploring Operation: 74+22=96, Resulting Numbers: [96]
96,19 unequal: No Solution
Exploring Operation: 74-22=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 74*22=1628, Resulting Numbers: [1628]
1628,19 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: 19:[5, 74, 50], Operations: ['90-40=50']
Exploring Operation: 74-5=69, Resulting Numbers: [50, 69]
Generated Node #0,0,0: 19:[50, 69] Operation: 74-5=69
Exploring Operation: 74-50=24, Resulting Numbers: [5, 24]
Generated Node #0,0,1: 19:[5, 24] Operation: 74-50=24
Exploring Operation: 50/5=10, Resulting Numbers: [74, 10]
Generated Node #0,0,2: 19:[74, 10] Operation: 50/5=10
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[5, 24], Operations: ['90-40=50', '74-50=24']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[40, 5, 90, 74], Operations: []
Exploring Operation: 90-40=50, Resulting Numbers: [5, 74, 50]
Generated Node #0,0: 19:[5, 74, 50] Operation: 90-40=50
Moving to Node #0,0
Current State: 19:[5, 74, 50], Operations: ['90-40=50']
Exploring Operation: 74-50=24, Resulting Numbers: [5, 24]
Generated Node #0,0,1: 19:[5, 24] Operation: 74-50=24
Moving to Node #0,0,1
Current State: 19:[5, 24], Operations: ['90-40=50', '74-50=24']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
17,
58,
84,
20
] | 90 | [
"20-17=3",
"58*3=174",
"174-84=90"
] | Current State: 90:[17, 58, 84, 20], Operations: []
Exploring Operation: 20-17=3, Resulting Numbers: [58, 84, 3]
Generated Node #2: [58, 84, 3] from Operation: 20-17=3
Current State: 90:[58, 84, 3], Operations: ['20-17=3']
Exploring Operation: 58*3=174, Resulting Numbers: [84, 174]
Generated Node #3: [84, 174] from Operation: 58*3=174
Current State: 90:[84, 174], Operations: ['20-17=3', '58*3=174']
Exploring Operation: 174-84=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[17, 58, 84, 20], Operations: []
Exploring Operation: 58-20=38, Resulting Numbers: [17, 84, 38]
Generated Node #0,0: 90:[17, 84, 38] Operation: 58-20=38
Exploring Operation: 58+20=78, Resulting Numbers: [17, 84, 78]
Generated Node #0,1: 90:[17, 84, 78] Operation: 58+20=78
Exploring Operation: 84-58=26, Resulting Numbers: [17, 20, 26]
Generated Node #0,2: 90:[17, 20, 26] Operation: 84-58=26
Exploring Operation: 58-17=41, Resulting Numbers: [84, 20, 41]
Generated Node #0,3: 90:[84, 20, 41] Operation: 58-17=41
Exploring Operation: 20-17=3, Resulting Numbers: [58, 84, 3]
Generated Node #0,4: 90:[58, 84, 3] Operation: 20-17=3
Moving to Node #0,2
Current State: 90:[17, 20, 26], Operations: ['84-58=26']
Exploring Operation: 20+26=46, Resulting Numbers: [17, 46]
Generated Node #0,2,0: 90:[17, 46] Operation: 20+26=46
Exploring Operation: 26-20=6, Resulting Numbers: [17, 6]
Generated Node #0,2,1: 90:[17, 6] Operation: 26-20=6
Exploring Operation: 26-17=9, Resulting Numbers: [20, 9]
Generated Node #0,2,2: 90:[20, 9] Operation: 26-17=9
Exploring Operation: 17+26=43, Resulting Numbers: [20, 43]
Generated Node #0,2,3: 90:[20, 43] Operation: 17+26=43
Exploring Operation: 20-17=3, Resulting Numbers: [26, 3]
Generated Node #0,2,4: 90:[26, 3] Operation: 20-17=3
Moving to Node #0,3
Current State: 90:[84, 20, 41], Operations: ['58-17=41']
Exploring Operation: 41-20=21, Resulting Numbers: [84, 21]
Generated Node #0,3,0: 90:[84, 21] Operation: 41-20=21
Exploring Operation: 84-41=43, Resulting Numbers: [20, 43]
Generated Node #0,3,1: 90:[20, 43] Operation: 84-41=43
Exploring Operation: 20+41=61, Resulting Numbers: [84, 61]
Generated Node #0,3,2: 90:[84, 61] Operation: 20+41=61
Exploring Operation: 84+20=104, Resulting Numbers: [41, 104]
Generated Node #0,3,3: 90:[41, 104] Operation: 84+20=104
Exploring Operation: 84-20=64, Resulting Numbers: [41, 64]
Generated Node #0,3,4: 90:[41, 64] Operation: 84-20=64
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 90:[20, 43], Operations: ['58-17=41', '84-41=43']
Exploring Operation: 20+43=63, Resulting Numbers: [63]
63,90 unequal: No Solution
Exploring Operation: 20*43=860, Resulting Numbers: [860]
860,90 unequal: No Solution
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 90:[84, 21], Operations: ['58-17=41', '41-20=21']
Exploring Operation: 84*21=1764, Resulting Numbers: [1764]
1764,90 unequal: No Solution
Exploring Operation: 84/21=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 84-21=63, Resulting Numbers: [63]
63,90 unequal: No Solution
Exploring Operation: 84+21=105, Resulting Numbers: [105]
105,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 90:[41, 104], Operations: ['58-17=41', '84+20=104']
Exploring Operation: 41+104=145, Resulting Numbers: [145]
145,90 unequal: No Solution
Exploring Operation: 41*104=4264, Resulting Numbers: [4264]
4264,90 unequal: No Solution
Exploring Operation: 104-41=63, Resulting Numbers: [63]
63,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 90:[84, 61], Operations: ['58-17=41', '20+41=61']
Exploring Operation: 84*61=5124, Resulting Numbers: [5124]
5124,90 unequal: No Solution
Exploring Operation: 84+61=145, Resulting Numbers: [145]
145,90 unequal: No Solution
Exploring Operation: 84-61=23, Resulting Numbers: [23]
23,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 90:[41, 64], Operations: ['58-17=41', '84-20=64']
Exploring Operation: 41+64=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Exploring Operation: 41*64=2624, Resulting Numbers: [2624]
2624,90 unequal: No Solution
Exploring Operation: 64-41=23, Resulting Numbers: [23]
23,90 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: 90:[17, 84, 38], Operations: ['58-20=38']
Exploring Operation: 38-17=21, Resulting Numbers: [84, 21]
Generated Node #0,0,0: 90:[84, 21] Operation: 38-17=21
Exploring Operation: 17+84=101, Resulting Numbers: [38, 101]
Generated Node #0,0,1: 90:[38, 101] Operation: 17+84=101
Exploring Operation: 17+38=55, Resulting Numbers: [84, 55]
Generated Node #0,0,2: 90:[84, 55] Operation: 17+38=55
Exploring Operation: 84-38=46, Resulting Numbers: [17, 46]
Generated Node #0,0,3: 90:[17, 46] Operation: 84-38=46
Exploring Operation: 84-17=67, Resulting Numbers: [38, 67]
Generated Node #0,0,4: 90:[38, 67] Operation: 84-17=67
Moving to Node #0,1
Current State: 90:[17, 84, 78], Operations: ['58+20=78']
Exploring Operation: 17+84=101, Resulting Numbers: [78, 101]
Generated Node #0,1,0: 90:[78, 101] Operation: 17+84=101
Exploring Operation: 84-78=6, Resulting Numbers: [17, 6]
Generated Node #0,1,1: 90:[17, 6] Operation: 84-78=6
Exploring Operation: 78-17=61, Resulting Numbers: [84, 61]
Generated Node #0,1,2: 90:[84, 61] Operation: 78-17=61
Exploring Operation: 17+78=95, Resulting Numbers: [84, 95]
Generated Node #0,1,3: 90:[84, 95] Operation: 17+78=95
Exploring Operation: 84-17=67, Resulting Numbers: [78, 67]
Generated Node #0,1,4: 90:[78, 67] Operation: 84-17=67
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[17, 6], Operations: ['58+20=78', '84-78=6']
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 90:[84, 95], Operations: ['58+20=78', '17+78=95']
Exploring Operation: 84+95=179, Resulting Numbers: [179]
179,90 unequal: No Solution
Exploring Operation: 84*95=7980, Resulting Numbers: [7980]
7980,90 unequal: No Solution
Exploring Operation: 95-84=11, Resulting Numbers: [11]
11,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 90:[84, 61], Operations: ['58+20=78', '78-17=61']
Exploring Operation: 84+61=145, Resulting Numbers: [145]
145,90 unequal: No Solution
Exploring Operation: 84*61=5124, Resulting Numbers: [5124]
5124,90 unequal: No Solution
Exploring Operation: 84-61=23, Resulting Numbers: [23]
23,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[78, 101], Operations: ['58+20=78', '17+84=101']
Exploring Operation: 101-78=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 78+101=179, Resulting Numbers: [179]
179,90 unequal: No Solution
Exploring Operation: 78*101=7878, Resulting Numbers: [7878]
7878,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 90:[78, 67], Operations: ['58+20=78', '84-17=67']
Exploring Operation: 78+67=145, Resulting Numbers: [145]
145,90 unequal: No Solution
Exploring Operation: 78-67=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 78*67=5226, Resulting Numbers: [5226]
5226,90 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: 90:[58, 84, 3], Operations: ['20-17=3']
Exploring Operation: 58+3=61, Resulting Numbers: [84, 61]
Generated Node #0,4,0: 90:[84, 61] Operation: 58+3=61
Exploring Operation: 84/3=28, Resulting Numbers: [58, 28]
Generated Node #0,4,1: 90:[58, 28] Operation: 84/3=28
Exploring Operation: 84-58=26, Resulting Numbers: [3, 26]
Generated Node #0,4,2: 90:[3, 26] Operation: 84-58=26
Exploring Operation: 84+3=87, Resulting Numbers: [58, 87]
Generated Node #0,4,3: 90:[58, 87] Operation: 84+3=87
Exploring Operation: 58-3=55, Resulting Numbers: [84, 55]
Generated Node #0,4,4: 90:[84, 55] Operation: 58-3=55
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 90:[3, 26], Operations: ['20-17=3', '84-58=26']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 90:[58, 28], Operations: ['20-17=3', '84/3=28']
Exploring Operation: 58+28=86, Resulting Numbers: [86]
86,90 unequal: No Solution
Exploring Operation: 58-28=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Exploring Operation: 58*28=1624, Resulting Numbers: [1624]
1624,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 90:[58, 87], Operations: ['20-17=3', '84+3=87']
Exploring Operation: 58*87=5046, Resulting Numbers: [5046]
5046,90 unequal: No Solution
Exploring Operation: 87-58=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 58+87=145, Resulting Numbers: [145]
145,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 90:[84, 55], Operations: ['20-17=3', '58-3=55']
Exploring Operation: 84-55=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 84*55=4620, Resulting Numbers: [4620]
4620,90 unequal: No Solution
Exploring Operation: 84+55=139, Resulting Numbers: [139]
139,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 90:[84, 61], Operations: ['20-17=3', '58+3=61']
Exploring Operation: 84*61=5124, Resulting Numbers: [5124]
5124,90 unequal: No Solution
Exploring Operation: 84+61=145, Resulting Numbers: [145]
145,90 unequal: No Solution
Exploring Operation: 84-61=23, Resulting Numbers: [23]
23,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 90:[17, 6], Operations: ['84-58=26', '26-20=6']
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,90 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[20, 9], Operations: ['84-58=26', '26-17=9']
Exploring Operation: 20*9=180, Resulting Numbers: [180]
180,90 unequal: No Solution
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Moving to Node #0,0,3
Current State: 90:[17, 46], Operations: ['58-20=38', '84-38=46']
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 17*46=782, Resulting Numbers: [782]
782,90 unequal: No Solution
Exploring Operation: 17+46=63, Resulting Numbers: [63]
63,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[17, 46], Operations: ['84-58=26', '20+26=46']
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 17*46=782, Resulting Numbers: [782]
782,90 unequal: No Solution
Exploring Operation: 17+46=63, Resulting Numbers: [63]
63,90 unequal: No Solution
Moving to Node #0,2,4
Current State: 90:[26, 3], Operations: ['84-58=26', '20-17=3']
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,90 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Moving to Node #0,2,3
Current State: 90:[20, 43], Operations: ['84-58=26', '17+26=43']
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 20*43=860, Resulting Numbers: [860]
860,90 unequal: No Solution
Exploring Operation: 20+43=63, Resulting Numbers: [63]
63,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[84, 21], Operations: ['58-20=38', '38-17=21']
Exploring Operation: 84*21=1764, Resulting Numbers: [1764]
1764,90 unequal: No Solution
Exploring Operation: 84/21=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 84+21=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Exploring Operation: 84-21=63, Resulting Numbers: [63]
63,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[84, 55], Operations: ['58-20=38', '17+38=55']
Exploring Operation: 84*55=4620, Resulting Numbers: [4620]
4620,90 unequal: No Solution
Exploring Operation: 84-55=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 84+55=139, Resulting Numbers: [139]
139,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[38, 101], Operations: ['58-20=38', '17+84=101']
Exploring Operation: 38+101=139, Resulting Numbers: [139]
139,90 unequal: No Solution
Exploring Operation: 38*101=3838, Resulting Numbers: [3838]
3838,90 unequal: No Solution
Exploring Operation: 101-38=63, Resulting Numbers: [63]
63,90 unequal: No Solution
Moving to Node #0,0,4
Current State: 90:[38, 67], Operations: ['58-20=38', '84-17=67']
Exploring Operation: 38+67=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Exploring Operation: 67-38=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 38*67=2546, Resulting Numbers: [2546]
2546,90 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
68,
72,
48,
71
] | 19 | [
"72-68=4",
"71-48=23",
"23-4=19"
] | Current State: 19:[68, 72, 48, 71], Operations: []
Exploring Operation: 72-68=4, Resulting Numbers: [48, 71, 4]
Generated Node #2: [48, 71, 4] from Operation: 72-68=4
Current State: 19:[48, 71, 4], Operations: ['72-68=4']
Exploring Operation: 71-48=23, Resulting Numbers: [4, 23]
Generated Node #3: [4, 23] from Operation: 71-48=23
Current State: 19:[4, 23], Operations: ['72-68=4', '71-48=23']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[68, 72, 48, 71], Operations: []
Exploring Operation: 72-71=1, Resulting Numbers: [68, 48, 1]
Generated Node #0,0: 19:[68, 48, 1] Operation: 72-71=1
Exploring Operation: 72-68=4, Resulting Numbers: [48, 71, 4]
Generated Node #0,1: 19:[48, 71, 4] Operation: 72-68=4
Moving to Node #0,0
Current State: 19:[68, 48, 1], Operations: ['72-71=1']
Exploring Operation: 68-1=67, Resulting Numbers: [48, 67]
Generated Node #0,0,0: 19:[48, 67] Operation: 68-1=67
Exploring Operation: 68-48=20, Resulting Numbers: [1, 20]
Generated Node #0,0,1: 19:[1, 20] Operation: 68-48=20
Moving to Node #0,1
Current State: 19:[48, 71, 4], Operations: ['72-68=4']
Exploring Operation: 71-48=23, Resulting Numbers: [4, 23]
Generated Node #0,1,0: 19:[4, 23] Operation: 71-48=23
Exploring Operation: 48/4=12, Resulting Numbers: [71, 12]
Generated Node #0,1,1: 19:[71, 12] Operation: 48/4=12
Moving to Node #0,0,1
Current State: 19:[1, 20], Operations: ['72-71=1', '68-48=20']
Exploring Operation: 1*20=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[68, 72, 48, 71], Operations: []
Exploring Operation: 72-71=1, Resulting Numbers: [68, 48, 1]
Generated Node #0,0: 19:[68, 48, 1] Operation: 72-71=1
Moving to Node #0,0
Current State: 19:[68, 48, 1], Operations: ['72-71=1']
Exploring Operation: 68-48=20, Resulting Numbers: [1, 20]
Generated Node #0,0,1: 19:[1, 20] Operation: 68-48=20
Moving to Node #0,0,1
Current State: 19:[1, 20], Operations: ['72-71=1', '68-48=20']
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
71,
77,
4,
37
] | 61 | [
"77-71=6",
"4*6=24",
"37+24=61"
] | Current State: 61:[71, 77, 4, 37], Operations: []
Exploring Operation: 77-71=6, Resulting Numbers: [4, 37, 6]
Generated Node #2: [4, 37, 6] from Operation: 77-71=6
Current State: 61:[4, 37, 6], Operations: ['77-71=6']
Exploring Operation: 4*6=24, Resulting Numbers: [37, 24]
Generated Node #3: [37, 24] from Operation: 4*6=24
Current State: 61:[37, 24], Operations: ['77-71=6', '4*6=24']
Exploring Operation: 37+24=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[71, 77, 4, 37], Operations: []
Exploring Operation: 71-4=67, Resulting Numbers: [77, 37, 67]
Generated Node #0,0: 61:[77, 37, 67] Operation: 71-4=67
Moving to Node #0,0
Current State: 61:[77, 37, 67], Operations: ['71-4=67']
Exploring Operation: 77-37=40, Resulting Numbers: [67, 40]
Generated Node #0,0,0: 61:[67, 40] Operation: 77-37=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[67, 40], Operations: ['71-4=67', '77-37=40']
Exploring Operation: 67-40=27, Resulting Numbers: [27]
27,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
6,
11,
40,
4
] | 61 | [
"6+11=17",
"40+4=44",
"17+44=61"
] | Current State: 61:[6, 11, 40, 4], Operations: []
Exploring Operation: 6+11=17, Resulting Numbers: [40, 4, 17]
Generated Node #2: [40, 4, 17] from Operation: 6+11=17
Current State: 61:[40, 4, 17], Operations: ['6+11=17']
Exploring Operation: 40+4=44, Resulting Numbers: [17, 44]
Generated Node #3: [17, 44] from Operation: 40+4=44
Current State: 61:[17, 44], Operations: ['6+11=17', '40+4=44']
Exploring Operation: 17+44=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[6, 11, 40, 4], Operations: []
Exploring Operation: 6+11=17, Resulting Numbers: [40, 4, 17]
Generated Node #0,0: 61:[40, 4, 17] Operation: 6+11=17
Exploring Operation: 6*11=66, Resulting Numbers: [40, 4, 66]
Generated Node #0,1: 61:[40, 4, 66] Operation: 6*11=66
Exploring Operation: 6*4=24, Resulting Numbers: [11, 40, 24]
Generated Node #0,2: 61:[11, 40, 24] Operation: 6*4=24
Exploring Operation: 6+40=46, Resulting Numbers: [11, 4, 46]
Generated Node #0,3: 61:[11, 4, 46] Operation: 6+40=46
Exploring Operation: 11*4=44, Resulting Numbers: [6, 40, 44]
Generated Node #0,4: 61:[6, 40, 44] Operation: 11*4=44
Moving to Node #0,1
Current State: 61:[40, 4, 66], Operations: ['6*11=66']
Exploring Operation: 40-4=36, Resulting Numbers: [66, 36]
Generated Node #0,1,0: 61:[66, 36] Operation: 40-4=36
Exploring Operation: 40+4=44, Resulting Numbers: [66, 44]
Generated Node #0,1,1: 61:[66, 44] Operation: 40+4=44
Exploring Operation: 40/4=10, Resulting Numbers: [66, 10]
Generated Node #0,1,2: 61:[66, 10] Operation: 40/4=10
Exploring Operation: 66-4=62, Resulting Numbers: [40, 62]
Generated Node #0,1,3: 61:[40, 62] Operation: 66-4=62
Exploring Operation: 4+66=70, Resulting Numbers: [40, 70]
Generated Node #0,1,4: 61:[40, 70] Operation: 4+66=70
Moving to Node #0,4
Current State: 61:[6, 40, 44], Operations: ['11*4=44']
Exploring Operation: 40+44=84, Resulting Numbers: [6, 84]
Generated Node #0,4,0: 61:[6, 84] Operation: 40+44=84
Exploring Operation: 6+40=46, Resulting Numbers: [44, 46]
Generated Node #0,4,1: 61:[44, 46] Operation: 6+40=46
Exploring Operation: 40-6=34, Resulting Numbers: [44, 34]
Generated Node #0,4,2: 61:[44, 34] Operation: 40-6=34
Exploring Operation: 6+44=50, Resulting Numbers: [40, 50]
Generated Node #0,4,3: 61:[40, 50] Operation: 6+44=50
Exploring Operation: 44-6=38, Resulting Numbers: [40, 38]
Generated Node #0,4,4: 61:[40, 38] Operation: 44-6=38
Moving to Node #0,2
Current State: 61:[11, 40, 24], Operations: ['6*4=24']
Exploring Operation: 40+24=64, Resulting Numbers: [11, 64]
Generated Node #0,2,0: 61:[11, 64] Operation: 40+24=64
Exploring Operation: 24-11=13, Resulting Numbers: [40, 13]
Generated Node #0,2,1: 61:[40, 13] Operation: 24-11=13
Exploring Operation: 40-11=29, Resulting Numbers: [24, 29]
Generated Node #0,2,2: 61:[24, 29] Operation: 40-11=29
Exploring Operation: 11+24=35, Resulting Numbers: [40, 35]
Generated Node #0,2,3: 61:[40, 35] Operation: 11+24=35
Exploring Operation: 11+40=51, Resulting Numbers: [24, 51]
Generated Node #0,2,4: 61:[24, 51] Operation: 11+40=51
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 61:[40, 35], Operations: ['6*4=24', '11+24=35']
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Exploring Operation: 40*35=1400, Resulting Numbers: [1400]
1400,61 unequal: No Solution
Exploring Operation: 40+35=75, Resulting Numbers: [75]
75,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 61:[24, 51], Operations: ['6*4=24', '11+40=51']
Exploring Operation: 24+51=75, Resulting Numbers: [75]
75,61 unequal: No Solution
Exploring Operation: 51-24=27, Resulting Numbers: [27]
27,61 unequal: No Solution
Exploring Operation: 24*51=1224, Resulting Numbers: [1224]
1224,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 61:[11, 64], Operations: ['6*4=24', '40+24=64']
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,61 unequal: No Solution
Exploring Operation: 11+64=75, Resulting Numbers: [75]
75,61 unequal: No Solution
Exploring Operation: 11*64=704, Resulting Numbers: [704]
704,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 61:[40, 13], Operations: ['6*4=24', '24-11=13']
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,61 unequal: No Solution
Exploring Operation: 40+13=53, Resulting Numbers: [53]
53,61 unequal: No Solution
Exploring Operation: 40*13=520, Resulting Numbers: [520]
520,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 61:[24, 29], Operations: ['6*4=24', '40-11=29']
Exploring Operation: 24*29=696, Resulting Numbers: [696]
696,61 unequal: No Solution
Exploring Operation: 24+29=53, Resulting Numbers: [53]
53,61 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,61 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: 61:[40, 4, 17], Operations: ['6+11=17']
Exploring Operation: 40-4=36, Resulting Numbers: [17, 36]
Generated Node #0,0,0: 61:[17, 36] Operation: 40-4=36
Exploring Operation: 40+4=44, Resulting Numbers: [17, 44]
Generated Node #0,0,1: 61:[17, 44] Operation: 40+4=44
Exploring Operation: 40+17=57, Resulting Numbers: [4, 57]
Generated Node #0,0,2: 61:[4, 57] Operation: 40+17=57
Exploring Operation: 4*17=68, Resulting Numbers: [40, 68]
Generated Node #0,0,3: 61:[40, 68] Operation: 4*17=68
Exploring Operation: 4+17=21, Resulting Numbers: [40, 21]
Generated Node #0,0,4: 61:[40, 21] Operation: 4+17=21
Moving to Node #0,3
Current State: 61:[11, 4, 46], Operations: ['6+40=46']
Exploring Operation: 11*4=44, Resulting Numbers: [46, 44]
Generated Node #0,3,0: 61:[46, 44] Operation: 11*4=44
Exploring Operation: 11+4=15, Resulting Numbers: [46, 15]
Generated Node #0,3,1: 61:[46, 15] Operation: 11+4=15
Exploring Operation: 4+46=50, Resulting Numbers: [11, 50]
Generated Node #0,3,2: 61:[11, 50] Operation: 4+46=50
Exploring Operation: 11+46=57, Resulting Numbers: [4, 57]
Generated Node #0,3,3: 61:[4, 57] Operation: 11+46=57
Exploring Operation: 11-4=7, Resulting Numbers: [46, 7]
Generated Node #0,3,4: 61:[46, 7] Operation: 11-4=7
Moving to Node #0,1,1
Current State: 61:[66, 44], Operations: ['6*11=66', '40+4=44']
Exploring Operation: 66+44=110, Resulting Numbers: [110]
110,61 unequal: No Solution
Exploring Operation: 66-44=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 66*44=2904, Resulting Numbers: [2904]
2904,61 unequal: No Solution
Moving to Node #0,1,3
Current State: 61:[40, 62], Operations: ['6*11=66', '66-4=62']
Exploring Operation: 40*62=2480, Resulting Numbers: [2480]
2480,61 unequal: No Solution
Exploring Operation: 40+62=102, Resulting Numbers: [102]
102,61 unequal: No Solution
Exploring Operation: 62-40=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[40, 68], Operations: ['6+11=17', '4*17=68']
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,61 unequal: No Solution
Exploring Operation: 40+68=108, Resulting Numbers: [108]
108,61 unequal: No Solution
Exploring Operation: 40*68=2720, Resulting Numbers: [2720]
2720,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[66, 36], Operations: ['6*11=66', '40-4=36']
Exploring Operation: 66-36=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Exploring Operation: 66*36=2376, Resulting Numbers: [2376]
2376,61 unequal: No Solution
Exploring Operation: 66+36=102, Resulting Numbers: [102]
102,61 unequal: No Solution
Moving to Node #0,1,4
Current State: 61:[40, 70], Operations: ['6*11=66', '4+66=70']
Exploring Operation: 40+70=110, Resulting Numbers: [110]
110,61 unequal: No Solution
Exploring Operation: 70-40=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Exploring Operation: 40*70=2800, Resulting Numbers: [2800]
2800,61 unequal: No Solution
Moving to Node #0,4,3
Current State: 61:[40, 50], Operations: ['11*4=44', '6+44=50']
Exploring Operation: 40+50=90, Resulting Numbers: [90]
90,61 unequal: No Solution
Exploring Operation: 50-40=10, Resulting Numbers: [10]
10,61 unequal: No Solution
Exploring Operation: 40*50=2000, Resulting Numbers: [2000]
2000,61 unequal: No Solution
Moving to Node #0,4,1
Current State: 61:[44, 46], Operations: ['11*4=44', '6+40=46']
Exploring Operation: 44+46=90, Resulting Numbers: [90]
90,61 unequal: No Solution
Exploring Operation: 46-44=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 44*46=2024, Resulting Numbers: [2024]
2024,61 unequal: No Solution
Moving to Node #0,3,0
Current State: 61:[46, 44], Operations: ['6+40=46', '11*4=44']
Exploring Operation: 46+44=90, Resulting Numbers: [90]
90,61 unequal: No Solution
Exploring Operation: 46-44=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 46*44=2024, Resulting Numbers: [2024]
2024,61 unequal: No Solution
Moving to Node #0,4,4
Current State: 61:[40, 38], Operations: ['11*4=44', '44-6=38']
Exploring Operation: 40-38=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 40+38=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 40*38=1520, Resulting Numbers: [1520]
1520,61 unequal: No Solution
Moving to Node #0,4,2
Current State: 61:[44, 34], Operations: ['11*4=44', '40-6=34']
Exploring Operation: 44*34=1496, Resulting Numbers: [1496]
1496,61 unequal: No Solution
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,61 unequal: No Solution
Exploring Operation: 44+34=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[66, 10], Operations: ['6*11=66', '40/4=10']
Exploring Operation: 66*10=660, Resulting Numbers: [660]
660,61 unequal: No Solution
Exploring Operation: 66+10=76, Resulting Numbers: [76]
76,61 unequal: No Solution
Exploring Operation: 66-10=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Moving to Node #0,0,4
Current State: 61:[40, 21], Operations: ['6+11=17', '4+17=21']
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,61 unequal: No Solution
Exploring Operation: 40*21=840, Resulting Numbers: [840]
840,61 unequal: No Solution
Exploring Operation: 40+21=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[6, 11, 40, 4], Operations: []
Exploring Operation: 6+11=17, Resulting Numbers: [40, 4, 17]
Generated Node #0,0: 61:[40, 4, 17] Operation: 6+11=17
Moving to Node #0,0
Current State: 61:[40, 4, 17], Operations: ['6+11=17']
Exploring Operation: 4+17=21, Resulting Numbers: [40, 21]
Generated Node #0,0,4: 61:[40, 21] Operation: 4+17=21
Moving to Node #0,0,4
Current State: 61:[40, 21], Operations: ['6+11=17', '4+17=21']
Exploring Operation: 40+21=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 0.926215 | hs_5 | mult_heuristic |
[
43,
68,
16,
81
] | 65 | [
"43-16=27",
"81/27=3",
"68-3=65"
] | Current State: 65:[43, 68, 16, 81], Operations: []
Exploring Operation: 43-16=27, Resulting Numbers: [68, 81, 27]
Generated Node #2: [68, 81, 27] from Operation: 43-16=27
Current State: 65:[68, 81, 27], Operations: ['43-16=27']
Exploring Operation: 81/27=3, Resulting Numbers: [68, 3]
Generated Node #3: [68, 3] from Operation: 81/27=3
Current State: 65:[68, 3], Operations: ['43-16=27', '81/27=3']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[43, 68, 16, 81], Operations: []
Exploring Operation: 43+16=59, Resulting Numbers: [68, 81, 59]
Generated Node #0,0: 65:[68, 81, 59] Operation: 43+16=59
Exploring Operation: 81-16=65, Resulting Numbers: [43, 68, 65]
Generated Node #0,1: 65:[43, 68, 65] Operation: 81-16=65
Exploring Operation: 81-68=13, Resulting Numbers: [43, 16, 13]
Generated Node #0,2: 65:[43, 16, 13] Operation: 81-68=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[68, 81, 59], Operations: ['43+16=59']
Exploring Operation: 81-59=22, Resulting Numbers: [68, 22]
Generated Node #0,0,0: 65:[68, 22] Operation: 81-59=22
Exploring Operation: 68-59=9, Resulting Numbers: [81, 9]
Generated Node #0,0,1: 65:[81, 9] Operation: 68-59=9
Exploring Operation: 81-68=13, Resulting Numbers: [59, 13]
Generated Node #0,0,2: 65:[59, 13] Operation: 81-68=13
Moving to Node #0,0,2
Current State: 65:[59, 13], Operations: ['43+16=59', '81-68=13']
Exploring Operation: 59+13=72, Resulting Numbers: [72]
72,65 unequal: No Solution
Exploring Operation: 59*13=767, Resulting Numbers: [767]
767,65 unequal: No Solution
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[68, 22], Operations: ['43+16=59', '81-59=22']
Exploring Operation: 68+22=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Exploring Operation: 68*22=1496, Resulting Numbers: [1496]
1496,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[81, 9], Operations: ['43+16=59', '68-59=9']
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,65 unequal: No Solution
Exploring Operation: 81/9=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 81+9=90, Resulting Numbers: [90]
90,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[43, 68, 65], Operations: ['81-16=65']
Exploring Operation: 68-65=3, Resulting Numbers: [43, 3]
Generated Node #0,1,0: 65:[43, 3] Operation: 68-65=3
Exploring Operation: 68-43=25, Resulting Numbers: [65, 25]
Generated Node #0,1,1: 65:[65, 25] Operation: 68-43=25
Exploring Operation: 65-43=22, Resulting Numbers: [68, 22]
Generated Node #0,1,2: 65:[68, 22] Operation: 65-43=22
Moving to Node #0,1,1
Current State: 65:[65, 25], Operations: ['81-16=65', '68-43=25']
Exploring Operation: 65+25=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 65*25=1625, Resulting Numbers: [1625]
1625,65 unequal: No Solution
Exploring Operation: 65-25=40, Resulting Numbers: [40]
40,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[68, 22], Operations: ['81-16=65', '65-43=22']
Exploring Operation: 68+22=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 68*22=1496, Resulting Numbers: [1496]
1496,65 unequal: No Solution
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[43, 3], Operations: ['81-16=65', '68-65=3']
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,65 unequal: No Solution
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[43, 16, 13], Operations: ['81-68=13']
Exploring Operation: 43-16=27, Resulting Numbers: [13, 27]
Generated Node #0,2,0: 65:[13, 27] Operation: 43-16=27
Exploring Operation: 43+16=59, Resulting Numbers: [13, 59]
Generated Node #0,2,1: 65:[13, 59] Operation: 43+16=59
Exploring Operation: 43+13=56, Resulting Numbers: [16, 56]
Generated Node #0,2,2: 65:[16, 56] Operation: 43+13=56
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 65:[13, 59], Operations: ['81-68=13', '43+16=59']
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Exploring Operation: 13+59=72, Resulting Numbers: [72]
72,65 unequal: No Solution
Exploring Operation: 13*59=767, Resulting Numbers: [767]
767,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 65:[16, 56], Operations: ['81-68=13', '43+13=56']
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,65 unequal: No Solution
Exploring Operation: 16+56=72, Resulting Numbers: [72]
72,65 unequal: No Solution
Exploring Operation: 16*56=896, Resulting Numbers: [896]
896,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 65:[13, 27], Operations: ['81-68=13', '43-16=27']
Exploring Operation: 13*27=351, Resulting Numbers: [351]
351,65 unequal: No Solution
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,65 unequal: No Solution
Exploring Operation: 13+27=40, Resulting Numbers: [40]
40,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
81,
51,
5,
70
] | 44 | [
"81-51=30",
"70/5=14",
"30+14=44"
] | Current State: 44:[81, 51, 5, 70], Operations: []
Exploring Operation: 81-51=30, Resulting Numbers: [5, 70, 30]
Generated Node #2: [5, 70, 30] from Operation: 81-51=30
Current State: 44:[5, 70, 30], Operations: ['81-51=30']
Exploring Operation: 70/5=14, Resulting Numbers: [30, 14]
Generated Node #3: [30, 14] from Operation: 70/5=14
Current State: 44:[30, 14], Operations: ['81-51=30', '70/5=14']
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[81, 51, 5, 70], Operations: []
Exploring Operation: 81-51=30, Resulting Numbers: [5, 70, 30]
Generated Node #0,0: 44:[5, 70, 30] Operation: 81-51=30
Exploring Operation: 70/5=14, Resulting Numbers: [81, 51, 14]
Generated Node #0,1: 44:[81, 51, 14] Operation: 70/5=14
Exploring Operation: 81-5=76, Resulting Numbers: [51, 70, 76]
Generated Node #0,2: 44:[51, 70, 76] Operation: 81-5=76
Exploring Operation: 81-70=11, Resulting Numbers: [51, 5, 11]
Generated Node #0,3: 44:[51, 5, 11] Operation: 81-70=11
Exploring Operation: 70-51=19, Resulting Numbers: [81, 5, 19]
Generated Node #0,4: 44:[81, 5, 19] Operation: 70-51=19
Moving to Node #0,3
Current State: 44:[51, 5, 11], Operations: ['81-70=11']
Exploring Operation: 5+11=16, Resulting Numbers: [51, 16]
Generated Node #0,3,0: 44:[51, 16] Operation: 5+11=16
Exploring Operation: 51-11=40, Resulting Numbers: [5, 40]
Generated Node #0,3,1: 44:[5, 40] Operation: 51-11=40
Exploring Operation: 11-5=6, Resulting Numbers: [51, 6]
Generated Node #0,3,2: 44:[51, 6] Operation: 11-5=6
Exploring Operation: 51+5=56, Resulting Numbers: [11, 56]
Generated Node #0,3,3: 44:[11, 56] Operation: 51+5=56
Exploring Operation: 51-5=46, Resulting Numbers: [11, 46]
Generated Node #0,3,4: 44:[11, 46] Operation: 51-5=46
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 44:[11, 46], Operations: ['81-70=11', '51-5=46']
Exploring Operation: 11+46=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 11*46=506, Resulting Numbers: [506]
506,44 unequal: No Solution
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,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,3,1
Current State: 44:[5, 40], Operations: ['81-70=11', '51-11=40']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Exploring Operation: 5*40=200, Resulting Numbers: [200]
200,44 unequal: No Solution
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,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,3,2
Current State: 44:[51, 6], Operations: ['81-70=11', '11-5=6']
Exploring Operation: 51*6=306, Resulting Numbers: [306]
306,44 unequal: No Solution
Exploring Operation: 51+6=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,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,3,0
Current State: 44:[51, 16], Operations: ['81-70=11', '5+11=16']
Exploring Operation: 51*16=816, Resulting Numbers: [816]
816,44 unequal: No Solution
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Exploring Operation: 51+16=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,3,3
Current State: 44:[11, 56], Operations: ['81-70=11', '51+5=56']
Exploring Operation: 11*56=616, Resulting Numbers: [616]
616,44 unequal: No Solution
Exploring Operation: 11+56=67, Resulting Numbers: [67]
67,44 unequal: No Solution
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,44 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: 44:[5, 70, 30], Operations: ['81-51=30']
Exploring Operation: 70-5=65, Resulting Numbers: [30, 65]
Generated Node #0,0,0: 44:[30, 65] Operation: 70-5=65
Exploring Operation: 70-30=40, Resulting Numbers: [5, 40]
Generated Node #0,0,1: 44:[5, 40] Operation: 70-30=40
Exploring Operation: 70/5=14, Resulting Numbers: [30, 14]
Generated Node #0,0,2: 44:[30, 14] Operation: 70/5=14
Exploring Operation: 30-5=25, Resulting Numbers: [70, 25]
Generated Node #0,0,3: 44:[70, 25] Operation: 30-5=25
Exploring Operation: 30/5=6, Resulting Numbers: [70, 6]
Generated Node #0,0,4: 44:[70, 6] Operation: 30/5=6
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 44:[5, 40], Operations: ['81-51=30', '70-30=40']
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,44 unequal: No Solution
Exploring Operation: 5*40=200, Resulting Numbers: [200]
200,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,2
Current State: 44:[30, 14], Operations: ['81-51=30', '70/5=14']
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[81, 51, 5, 70], Operations: []
Exploring Operation: 81-51=30, Resulting Numbers: [5, 70, 30]
Generated Node #0,0: 44:[5, 70, 30] Operation: 81-51=30
Moving to Node #0,0
Current State: 44:[5, 70, 30], Operations: ['81-51=30']
Exploring Operation: 70/5=14, Resulting Numbers: [30, 14]
Generated Node #0,0,2: 44:[30, 14] Operation: 70/5=14
Moving to Node #0,0,2
Current State: 44:[30, 14], Operations: ['81-51=30', '70/5=14']
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_5 | mult_heuristic |
[
40,
76,
12,
4
] | 54 | [
"40/4=10",
"76-12=64",
"64-10=54"
] | Current State: 54:[40, 76, 12, 4], Operations: []
Exploring Operation: 40/4=10, Resulting Numbers: [76, 12, 10]
Generated Node #2: [76, 12, 10] from Operation: 40/4=10
Current State: 54:[76, 12, 10], Operations: ['40/4=10']
Exploring Operation: 76-12=64, Resulting Numbers: [10, 64]
Generated Node #3: [10, 64] from Operation: 76-12=64
Current State: 54:[10, 64], Operations: ['40/4=10', '76-12=64']
Exploring Operation: 64-10=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[40, 76, 12, 4], Operations: []
Exploring Operation: 76/4=19, Resulting Numbers: [40, 12, 19]
Generated Node #0,0: 54:[40, 12, 19] Operation: 76/4=19
Exploring Operation: 76-40=36, Resulting Numbers: [12, 4, 36]
Generated Node #0,1: 54:[12, 4, 36] Operation: 76-40=36
Moving to Node #0,1
Current State: 54:[12, 4, 36], Operations: ['76-40=36']
Exploring Operation: 36/4=9, Resulting Numbers: [12, 9]
Generated Node #0,1,0: 54:[12, 9] Operation: 36/4=9
Exploring Operation: 36/12=3, Resulting Numbers: [4, 3]
Generated Node #0,1,1: 54:[4, 3] Operation: 36/12=3
Moving to Node #0,0
Current State: 54:[40, 12, 19], Operations: ['76/4=19']
Exploring Operation: 40-12=28, Resulting Numbers: [19, 28]
Generated Node #0,0,0: 54:[19, 28] Operation: 40-12=28
Exploring Operation: 40+12=52, Resulting Numbers: [19, 52]
Generated Node #0,0,1: 54:[19, 52] Operation: 40+12=52
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[19, 28], Operations: ['76/4=19', '40-12=28']
Exploring Operation: 19+28=47, Resulting Numbers: [47]
47,54 unequal: No Solution
Exploring Operation: 28-19=9, Resulting Numbers: [9]
9,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 54:[19, 52], Operations: ['76/4=19', '40+12=52']
Exploring Operation: 19+52=71, Resulting Numbers: [71]
71,54 unequal: No Solution
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,54 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: 54:[4, 3], Operations: ['76-40=36', '36/12=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,54 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Moving to Node #0,1,0
Current State: 54:[12, 9], Operations: ['76-40=36', '36/4=9']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,54 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
3,
5,
85,
10
] | 73 | [
"5-3=2",
"85-10=75",
"75-2=73"
] | Current State: 73:[3, 5, 85, 10], Operations: []
Exploring Operation: 5-3=2, Resulting Numbers: [85, 10, 2]
Generated Node #2: [85, 10, 2] from Operation: 5-3=2
Current State: 73:[85, 10, 2], Operations: ['5-3=2']
Exploring Operation: 85-10=75, Resulting Numbers: [2, 75]
Generated Node #3: [2, 75] from Operation: 85-10=75
Current State: 73:[2, 75], Operations: ['5-3=2', '85-10=75']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[3, 5, 85, 10], Operations: []
Exploring Operation: 5*10=50, Resulting Numbers: [3, 85, 50]
Generated Node #0,0: 73:[3, 85, 50] Operation: 5*10=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[3, 85, 50], Operations: ['5*10=50']
Exploring Operation: 85-3=82, Resulting Numbers: [50, 82]
Generated Node #0,0,0: 73:[50, 82] Operation: 85-3=82
Moving to Node #0,0,0
Current State: 73:[50, 82], Operations: ['5*10=50', '85-3=82']
Exploring Operation: 82-50=32, Resulting Numbers: [32]
32,73 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 |
[
7,
66,
99,
2
] | 55 | [
"7+2=9",
"99/9=11",
"66-11=55"
] | Current State: 55:[7, 66, 99, 2], Operations: []
Exploring Operation: 7+2=9, Resulting Numbers: [66, 99, 9]
Generated Node #2: [66, 99, 9] from Operation: 7+2=9
Current State: 55:[66, 99, 9], Operations: ['7+2=9']
Exploring Operation: 99/9=11, Resulting Numbers: [66, 11]
Generated Node #3: [66, 11] from Operation: 99/9=11
Current State: 55:[66, 11], Operations: ['7+2=9', '99/9=11']
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[7, 66, 99, 2], Operations: []
Exploring Operation: 99-66=33, Resulting Numbers: [7, 2, 33]
Generated Node #0,0: 55:[7, 2, 33] Operation: 99-66=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[7, 2, 33], Operations: ['99-66=33']
Exploring Operation: 2*33=66, Resulting Numbers: [7, 66]
Generated Node #0,0,0: 55:[7, 66] Operation: 2*33=66
Moving to Node #0,0,0
Current State: 55:[7, 66], Operations: ['99-66=33', '2*33=66']
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
32,
86,
35,
64
] | 45 | [
"86-32=54",
"35+64=99",
"99-54=45"
] | Current State: 45:[32, 86, 35, 64], Operations: []
Exploring Operation: 86-32=54, Resulting Numbers: [35, 64, 54]
Generated Node #2: [35, 64, 54] from Operation: 86-32=54
Current State: 45:[35, 64, 54], Operations: ['86-32=54']
Exploring Operation: 35+64=99, Resulting Numbers: [54, 99]
Generated Node #3: [54, 99] from Operation: 35+64=99
Current State: 45:[54, 99], Operations: ['86-32=54', '35+64=99']
Exploring Operation: 99-54=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[32, 86, 35, 64], Operations: []
Exploring Operation: 86-64=22, Resulting Numbers: [32, 35, 22]
Generated Node #0,0: 45:[32, 35, 22] Operation: 86-64=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[32, 35, 22], Operations: ['86-64=22']
Exploring Operation: 35-32=3, Resulting Numbers: [22, 3]
Generated Node #0,0,0: 45:[22, 3] Operation: 35-32=3
Moving to Node #0,0,0
Current State: 45:[22, 3], Operations: ['86-64=22', '35-32=3']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,45 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 |
[
22,
56,
63,
82
] | 53 | [
"56-22=34",
"82-63=19",
"34+19=53"
] | Current State: 53:[22, 56, 63, 82], Operations: []
Exploring Operation: 56-22=34, Resulting Numbers: [63, 82, 34]
Generated Node #2: [63, 82, 34] from Operation: 56-22=34
Current State: 53:[63, 82, 34], Operations: ['56-22=34']
Exploring Operation: 82-63=19, Resulting Numbers: [34, 19]
Generated Node #3: [34, 19] from Operation: 82-63=19
Current State: 53:[34, 19], Operations: ['56-22=34', '82-63=19']
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[22, 56, 63, 82], Operations: []
Exploring Operation: 63-22=41, Resulting Numbers: [56, 82, 41]
Generated Node #0,0: 53:[56, 82, 41] Operation: 63-22=41
Exploring Operation: 82-22=60, Resulting Numbers: [56, 63, 60]
Generated Node #0,1: 53:[56, 63, 60] Operation: 82-22=60
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[56, 63, 60], Operations: ['82-22=60']
Exploring Operation: 63-56=7, Resulting Numbers: [60, 7]
Generated Node #0,1,0: 53:[60, 7] Operation: 63-56=7
Exploring Operation: 63-60=3, Resulting Numbers: [56, 3]
Generated Node #0,1,1: 53:[56, 3] Operation: 63-60=3
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[60, 7], Operations: ['82-22=60', '63-56=7']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[22, 56, 63, 82], Operations: []
Exploring Operation: 82-22=60, Resulting Numbers: [56, 63, 60]
Generated Node #0,1: 53:[56, 63, 60] Operation: 82-22=60
Moving to Node #0,1
Current State: 53:[56, 63, 60], Operations: ['82-22=60']
Exploring Operation: 63-56=7, Resulting Numbers: [60, 7]
Generated Node #0,1,0: 53:[60, 7] Operation: 63-56=7
Moving to Node #0,1,0
Current State: 53:[60, 7], Operations: ['82-22=60', '63-56=7']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
78,
80,
20,
64
] | 12 | [
"80-78=2",
"64/2=32",
"32-20=12"
] | Current State: 12:[78, 80, 20, 64], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [20, 64, 2]
Generated Node #2: [20, 64, 2] from Operation: 80-78=2
Current State: 12:[20, 64, 2], Operations: ['80-78=2']
Exploring Operation: 64/2=32, Resulting Numbers: [20, 32]
Generated Node #3: [20, 32] from Operation: 64/2=32
Current State: 12:[20, 32], Operations: ['80-78=2', '64/2=32']
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[78, 80, 20, 64], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [20, 64, 2]
Generated Node #0,0: 12:[20, 64, 2] Operation: 80-78=2
Exploring Operation: 78-64=14, Resulting Numbers: [80, 20, 14]
Generated Node #0,1: 12:[80, 20, 14] Operation: 78-64=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[20, 64, 2], Operations: ['80-78=2']
Exploring Operation: 64-20=44, Resulting Numbers: [2, 44]
Generated Node #0,0,0: 12:[2, 44] Operation: 64-20=44
Exploring Operation: 64/2=32, Resulting Numbers: [20, 32]
Generated Node #0,0,1: 12:[20, 32] Operation: 64/2=32
Moving to Node #0,0,1
Current State: 12:[20, 32], Operations: ['80-78=2', '64/2=32']
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[78, 80, 20, 64], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [20, 64, 2]
Generated Node #0,0: 12:[20, 64, 2] Operation: 80-78=2
Moving to Node #0,0
Current State: 12:[20, 64, 2], Operations: ['80-78=2']
Exploring Operation: 64/2=32, Resulting Numbers: [20, 32]
Generated Node #0,0,1: 12:[20, 32] Operation: 64/2=32
Moving to Node #0,0,1
Current State: 12:[20, 32], Operations: ['80-78=2', '64/2=32']
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
7,
93,
41,
76
] | 31 | [
"93-7=86",
"41+76=117",
"117-86=31"
] | Current State: 31:[7, 93, 41, 76], Operations: []
Exploring Operation: 93-7=86, Resulting Numbers: [41, 76, 86]
Generated Node #2: [41, 76, 86] from Operation: 93-7=86
Current State: 31:[41, 76, 86], Operations: ['93-7=86']
Exploring Operation: 41+76=117, Resulting Numbers: [86, 117]
Generated Node #3: [86, 117] from Operation: 41+76=117
Current State: 31:[86, 117], Operations: ['93-7=86', '41+76=117']
Exploring Operation: 117-86=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[7, 93, 41, 76], Operations: []
Exploring Operation: 93-76=17, Resulting Numbers: [7, 41, 17]
Generated Node #0,0: 31:[7, 41, 17] Operation: 93-76=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[7, 41, 17], Operations: ['93-76=17']
Exploring Operation: 41-7=34, Resulting Numbers: [17, 34]
Generated Node #0,0,0: 31:[17, 34] Operation: 41-7=34
Moving to Node #0,0,0
Current State: 31:[17, 34], Operations: ['93-76=17', '41-7=34']
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,31 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 |
[
64,
76,
98,
81
] | 74 | [
"64+98=162",
"162/81=2",
"76-2=74"
] | Current State: 74:[64, 76, 98, 81], Operations: []
Exploring Operation: 64+98=162, Resulting Numbers: [76, 81, 162]
Generated Node #2: [76, 81, 162] from Operation: 64+98=162
Current State: 74:[76, 81, 162], Operations: ['64+98=162']
Exploring Operation: 162/81=2, Resulting Numbers: [76, 2]
Generated Node #3: [76, 2] from Operation: 162/81=2
Current State: 74:[76, 2], Operations: ['64+98=162', '162/81=2']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[64, 76, 98, 81], Operations: []
Exploring Operation: 98-64=34, Resulting Numbers: [76, 81, 34]
Generated Node #0,0: 74:[76, 81, 34] Operation: 98-64=34
Exploring Operation: 98-81=17, Resulting Numbers: [64, 76, 17]
Generated Node #0,1: 74:[64, 76, 17] Operation: 98-81=17
Moving to Node #0,0
Current State: 74:[76, 81, 34], Operations: ['98-64=34']
Exploring Operation: 76-34=42, Resulting Numbers: [81, 42]
Generated Node #0,0,0: 74:[81, 42] Operation: 76-34=42
Exploring Operation: 81-76=5, Resulting Numbers: [34, 5]
Generated Node #0,0,1: 74:[34, 5] Operation: 81-76=5
Moving to Node #0,1
Current State: 74:[64, 76, 17], Operations: ['98-81=17']
Exploring Operation: 64-17=47, Resulting Numbers: [76, 47]
Generated Node #0,1,0: 74:[76, 47] Operation: 64-17=47
Exploring Operation: 64+17=81, Resulting Numbers: [76, 81]
Generated Node #0,1,1: 74:[76, 81] Operation: 64+17=81
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[76, 81], Operations: ['98-81=17', '64+17=81']
Exploring Operation: 76+81=157, Resulting Numbers: [157]
157,74 unequal: No Solution
Exploring Operation: 81-76=5, Resulting Numbers: [5]
5,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 74:[76, 47], Operations: ['98-81=17', '64-17=47']
Exploring Operation: 76-47=29, Resulting Numbers: [29]
29,74 unequal: No Solution
Exploring Operation: 76+47=123, Resulting Numbers: [123]
123,74 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: 74:[34, 5], Operations: ['98-64=34', '81-76=5']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,74 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[81, 42], Operations: ['98-64=34', '76-34=42']
Exploring Operation: 81-42=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 81+42=123, Resulting Numbers: [123]
123,74 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
2,
60,
3,
9
] | 57 | [
"60/2=30",
"3*9=27",
"30+27=57"
] | Current State: 57:[2, 60, 3, 9], Operations: []
Exploring Operation: 60/2=30, Resulting Numbers: [3, 9, 30]
Generated Node #2: [3, 9, 30] from Operation: 60/2=30
Current State: 57:[3, 9, 30], Operations: ['60/2=30']
Exploring Operation: 3*9=27, Resulting Numbers: [30, 27]
Generated Node #3: [30, 27] from Operation: 3*9=27
Current State: 57:[30, 27], Operations: ['60/2=30', '3*9=27']
Exploring Operation: 30+27=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[2, 60, 3, 9], Operations: []
Exploring Operation: 2*9=18, Resulting Numbers: [60, 3, 18]
Generated Node #0,0: 57:[60, 3, 18] Operation: 2*9=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[60, 3, 18], Operations: ['2*9=18']
Exploring Operation: 60-3=57, Resulting Numbers: [18, 57]
Generated Node #0,0,0: 57:[18, 57] Operation: 60-3=57
Moving to Node #0,0,0
Current State: 57:[18, 57], Operations: ['2*9=18', '60-3=57']
Exploring Operation: 18+57=75, Resulting Numbers: [75]
75,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
61,
44,
42,
23
] | 82 | [
"61-44=17",
"42+23=65",
"17+65=82"
] | Current State: 82:[61, 44, 42, 23], Operations: []
Exploring Operation: 61-44=17, Resulting Numbers: [42, 23, 17]
Generated Node #2: [42, 23, 17] from Operation: 61-44=17
Current State: 82:[42, 23, 17], Operations: ['61-44=17']
Exploring Operation: 42+23=65, Resulting Numbers: [17, 65]
Generated Node #3: [17, 65] from Operation: 42+23=65
Current State: 82:[17, 65], Operations: ['61-44=17', '42+23=65']
Exploring Operation: 17+65=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[61, 44, 42, 23], Operations: []
Exploring Operation: 61+23=84, Resulting Numbers: [44, 42, 84]
Generated Node #0,0: 82:[44, 42, 84] Operation: 61+23=84
Exploring Operation: 61-23=38, Resulting Numbers: [44, 42, 38]
Generated Node #0,1: 82:[44, 42, 38] Operation: 61-23=38
Exploring Operation: 61-44=17, Resulting Numbers: [42, 23, 17]
Generated Node #0,2: 82:[42, 23, 17] Operation: 61-44=17
Exploring Operation: 44+23=67, Resulting Numbers: [61, 42, 67]
Generated Node #0,3: 82:[61, 42, 67] Operation: 44+23=67
Moving to Node #0,0
Current State: 82:[44, 42, 84], Operations: ['61+23=84']
Exploring Operation: 84/42=2, Resulting Numbers: [44, 2]
Generated Node #0,0,0: 82:[44, 2] Operation: 84/42=2
Exploring Operation: 44-42=2, Resulting Numbers: [84, 2]
Generated Node #0,0,1: 82:[84, 2] Operation: 44-42=2
Exploring Operation: 84-44=40, Resulting Numbers: [42, 40]
Generated Node #0,0,2: 82:[42, 40] Operation: 84-44=40
Exploring Operation: 84-42=42, Resulting Numbers: [44, 42]
Generated Node #0,0,3: 82:[44, 42] Operation: 84-42=42
Moving to Node #0,1
Current State: 82:[44, 42, 38], Operations: ['61-23=38']
Exploring Operation: 44-38=6, Resulting Numbers: [42, 6]
Generated Node #0,1,0: 82:[42, 6] Operation: 44-38=6
Exploring Operation: 44-42=2, Resulting Numbers: [38, 2]
Generated Node #0,1,1: 82:[38, 2] Operation: 44-42=2
Exploring Operation: 42+38=80, Resulting Numbers: [44, 80]
Generated Node #0,1,2: 82:[44, 80] Operation: 42+38=80
Exploring Operation: 44+38=82, Resulting Numbers: [42, 82]
Generated Node #0,1,3: 82:[42, 82] Operation: 44+38=82
Moving to Node #0,2
Current State: 82:[42, 23, 17], Operations: ['61-44=17']
Exploring Operation: 23-17=6, Resulting Numbers: [42, 6]
Generated Node #0,2,0: 82:[42, 6] Operation: 23-17=6
Exploring Operation: 42+23=65, Resulting Numbers: [17, 65]
Generated Node #0,2,1: 82:[17, 65] Operation: 42+23=65
Exploring Operation: 23+17=40, Resulting Numbers: [42, 40]
Generated Node #0,2,2: 82:[42, 40] Operation: 23+17=40
Exploring Operation: 42-23=19, Resulting Numbers: [17, 19]
Generated Node #0,2,3: 82:[17, 19] Operation: 42-23=19
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 82:[42, 40], Operations: ['61-44=17', '23+17=40']
Exploring Operation: 42*40=1680, Resulting Numbers: [1680]
1680,82 unequal: No Solution
Exploring Operation: 42+40=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[61, 44, 42, 23], Operations: []
Exploring Operation: 61-44=17, Resulting Numbers: [42, 23, 17]
Generated Node #0,2: 82:[42, 23, 17] Operation: 61-44=17
Moving to Node #0,2
Current State: 82:[42, 23, 17], Operations: ['61-44=17']
Exploring Operation: 23+17=40, Resulting Numbers: [42, 40]
Generated Node #0,2,2: 82:[42, 40] Operation: 23+17=40
Moving to Node #0,2,2
Current State: 82:[42, 40], Operations: ['61-44=17', '23+17=40']
Exploring Operation: 42+40=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
72,
19,
14,
65
] | 26 | [
"72-19=53",
"14+65=79",
"79-53=26"
] | Current State: 26:[72, 19, 14, 65], Operations: []
Exploring Operation: 72-19=53, Resulting Numbers: [14, 65, 53]
Generated Node #2: [14, 65, 53] from Operation: 72-19=53
Current State: 26:[14, 65, 53], Operations: ['72-19=53']
Exploring Operation: 14+65=79, Resulting Numbers: [53, 79]
Generated Node #3: [53, 79] from Operation: 14+65=79
Current State: 26:[53, 79], Operations: ['72-19=53', '14+65=79']
Exploring Operation: 79-53=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[72, 19, 14, 65], Operations: []
Exploring Operation: 72-65=7, Resulting Numbers: [19, 14, 7]
Generated Node #0,0: 26:[19, 14, 7] Operation: 72-65=7
Exploring Operation: 65-14=51, Resulting Numbers: [72, 19, 51]
Generated Node #0,1: 26:[72, 19, 51] Operation: 65-14=51
Exploring Operation: 72-14=58, Resulting Numbers: [19, 65, 58]
Generated Node #0,2: 26:[19, 65, 58] Operation: 72-14=58
Exploring Operation: 65-19=46, Resulting Numbers: [72, 14, 46]
Generated Node #0,3: 26:[72, 14, 46] Operation: 65-19=46
Exploring Operation: 72-19=53, Resulting Numbers: [14, 65, 53]
Generated Node #0,4: 26:[14, 65, 53] Operation: 72-19=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[19, 14, 7], Operations: ['72-65=7']
Exploring Operation: 14+7=21, Resulting Numbers: [19, 21]
Generated Node #0,0,0: 26:[19, 21] Operation: 14+7=21
Exploring Operation: 19-7=12, Resulting Numbers: [14, 12]
Generated Node #0,0,1: 26:[14, 12] Operation: 19-7=12
Exploring Operation: 19+7=26, Resulting Numbers: [14, 26]
Generated Node #0,0,2: 26:[14, 26] Operation: 19+7=26
Exploring Operation: 19-14=5, Resulting Numbers: [7, 5]
Generated Node #0,0,3: 26:[7, 5] Operation: 19-14=5
Exploring Operation: 14/7=2, Resulting Numbers: [19, 2]
Generated Node #0,0,4: 26:[19, 2] Operation: 14/7=2
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 26:[14, 26], Operations: ['72-65=7', '19+7=26']
Exploring Operation: 14*26=364, Resulting Numbers: [364]
364,26 unequal: No Solution
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,26 unequal: No Solution
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 26:[14, 12], Operations: ['72-65=7', '19-7=12']
Exploring Operation: 14*12=168, Resulting Numbers: [168]
168,26 unequal: No Solution
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[72, 19, 14, 65], Operations: []
Exploring Operation: 72-65=7, Resulting Numbers: [19, 14, 7]
Generated Node #0,0: 26:[19, 14, 7] Operation: 72-65=7
Moving to Node #0,0
Current State: 26:[19, 14, 7], Operations: ['72-65=7']
Exploring Operation: 19-7=12, Resulting Numbers: [14, 12]
Generated Node #0,0,1: 26:[14, 12] Operation: 19-7=12
Moving to Node #0,0,1
Current State: 26:[14, 12], Operations: ['72-65=7', '19-7=12']
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
64,
63,
55,
60
] | 67 | [
"64-55=9",
"63/9=7",
"60+7=67"
] | Current State: 67:[64, 63, 55, 60], Operations: []
Exploring Operation: 64-55=9, Resulting Numbers: [63, 60, 9]
Generated Node #2: [63, 60, 9] from Operation: 64-55=9
Current State: 67:[63, 60, 9], Operations: ['64-55=9']
Exploring Operation: 63/9=7, Resulting Numbers: [60, 7]
Generated Node #3: [60, 7] from Operation: 63/9=7
Current State: 67:[60, 7], Operations: ['64-55=9', '63/9=7']
Exploring Operation: 60+7=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[64, 63, 55, 60], Operations: []
Exploring Operation: 63+55=118, Resulting Numbers: [64, 60, 118]
Generated Node #0,0: 67:[64, 60, 118] Operation: 63+55=118
Exploring Operation: 64+55=119, Resulting Numbers: [63, 60, 119]
Generated Node #0,1: 67:[63, 60, 119] Operation: 64+55=119
Exploring Operation: 55+60=115, Resulting Numbers: [64, 63, 115]
Generated Node #0,2: 67:[64, 63, 115] Operation: 55+60=115
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[64, 63, 115], Operations: ['55+60=115']
Exploring Operation: 115-63=52, Resulting Numbers: [64, 52]
Generated Node #0,2,0: 67:[64, 52] Operation: 115-63=52
Exploring Operation: 115-64=51, Resulting Numbers: [63, 51]
Generated Node #0,2,1: 67:[63, 51] Operation: 115-64=51
Exploring Operation: 64+63=127, Resulting Numbers: [115, 127]
Generated Node #0,2,2: 67:[115, 127] Operation: 64+63=127
Moving to Node #0,2,0
Current State: 67:[64, 52], Operations: ['55+60=115', '115-63=52']
Exploring Operation: 64-52=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 64+52=116, Resulting Numbers: [116]
116,67 unequal: No Solution
Exploring Operation: 64*52=3328, Resulting Numbers: [3328]
3328,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[63, 51], Operations: ['55+60=115', '115-64=51']
Exploring Operation: 63*51=3213, Resulting Numbers: [3213]
3213,67 unequal: No Solution
Exploring Operation: 63+51=114, Resulting Numbers: [114]
114,67 unequal: No Solution
Exploring Operation: 63-51=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[115, 127], Operations: ['55+60=115', '64+63=127']
Exploring Operation: 127-115=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 115*127=14605, Resulting Numbers: [14605]
14605,67 unequal: No Solution
Exploring Operation: 115+127=242, Resulting Numbers: [242]
242,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
Current State: 67:[64, 60, 118], Operations: ['63+55=118']
Exploring Operation: 118-60=58, Resulting Numbers: [64, 58]
Generated Node #0,0,0: 67:[64, 58] Operation: 118-60=58
Exploring Operation: 64+60=124, Resulting Numbers: [118, 124]
Generated Node #0,0,1: 67:[118, 124] Operation: 64+60=124
Exploring Operation: 118-64=54, Resulting Numbers: [60, 54]
Generated Node #0,0,2: 67:[60, 54] Operation: 118-64=54
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[64, 58], Operations: ['63+55=118', '118-60=58']
Exploring Operation: 64-58=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Exploring Operation: 64*58=3712, Resulting Numbers: [3712]
3712,67 unequal: No Solution
Exploring Operation: 64+58=122, Resulting Numbers: [122]
122,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,2
Current State: 67:[60, 54], Operations: ['63+55=118', '118-64=54']
Exploring Operation: 60-54=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Exploring Operation: 60+54=114, Resulting Numbers: [114]
114,67 unequal: No Solution
Exploring Operation: 60*54=3240, Resulting Numbers: [3240]
3240,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:[118, 124], Operations: ['63+55=118', '64+60=124']
Exploring Operation: 118+124=242, Resulting Numbers: [242]
242,67 unequal: No Solution
Exploring Operation: 124-118=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Exploring Operation: 118*124=14632, Resulting Numbers: [14632]
14632,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:[63, 60, 119], Operations: ['64+55=119']
Exploring Operation: 119-60=59, Resulting Numbers: [63, 59]
Generated Node #0,1,0: 67:[63, 59] Operation: 119-60=59
Exploring Operation: 63+60=123, Resulting Numbers: [119, 123]
Generated Node #0,1,1: 67:[119, 123] Operation: 63+60=123
Exploring Operation: 119-63=56, Resulting Numbers: [60, 56]
Generated Node #0,1,2: 67:[60, 56] Operation: 119-63=56
Moving to Node #0,1,0
Current State: 67:[63, 59], Operations: ['64+55=119', '119-60=59']
Exploring Operation: 63+59=122, Resulting Numbers: [122]
122,67 unequal: No Solution
Exploring Operation: 63*59=3717, Resulting Numbers: [3717]
3717,67 unequal: No Solution
Exploring Operation: 63-59=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[60, 56], Operations: ['64+55=119', '119-63=56']
Exploring Operation: 60+56=116, Resulting Numbers: [116]
116,67 unequal: No Solution
Exploring Operation: 60*56=3360, Resulting Numbers: [3360]
3360,67 unequal: No Solution
Exploring Operation: 60-56=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[119, 123], Operations: ['64+55=119', '63+60=123']
Exploring Operation: 119*123=14637, Resulting Numbers: [14637]
14637,67 unequal: No Solution
Exploring Operation: 123-119=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 119+123=242, Resulting Numbers: [242]
242,67 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 |
[
1,
89,
86,
63
] | 65 | [
"89-1=88",
"86-63=23",
"88-23=65"
] | Current State: 65:[1, 89, 86, 63], Operations: []
Exploring Operation: 89-1=88, Resulting Numbers: [86, 63, 88]
Generated Node #2: [86, 63, 88] from Operation: 89-1=88
Current State: 65:[86, 63, 88], Operations: ['89-1=88']
Exploring Operation: 86-63=23, Resulting Numbers: [88, 23]
Generated Node #3: [88, 23] from Operation: 86-63=23
Current State: 65:[88, 23], Operations: ['89-1=88', '86-63=23']
Exploring Operation: 88-23=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[1, 89, 86, 63], Operations: []
Exploring Operation: 89-63=26, Resulting Numbers: [1, 86, 26]
Generated Node #0,0: 65:[1, 86, 26] Operation: 89-63=26
Exploring Operation: 89-86=3, Resulting Numbers: [1, 63, 3]
Generated Node #0,1: 65:[1, 63, 3] Operation: 89-86=3
Moving to Node #0,1
Current State: 65:[1, 63, 3], Operations: ['89-86=3']
Exploring Operation: 1+3=4, Resulting Numbers: [63, 4]
Generated Node #0,1,0: 65:[63, 4] Operation: 1+3=4
Exploring Operation: 1+63=64, Resulting Numbers: [3, 64]
Generated Node #0,1,1: 65:[3, 64] Operation: 1+63=64
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[63, 4], Operations: ['89-86=3', '1+3=4']
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,65 unequal: No Solution
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[3, 64], Operations: ['89-86=3', '1+63=64']
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,65 unequal: No Solution
Exploring Operation: 3+64=67, Resulting Numbers: [67]
67,65 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: 65:[1, 86, 26], Operations: ['89-63=26']
Exploring Operation: 86-26=60, Resulting Numbers: [1, 60]
Generated Node #0,0,0: 65:[1, 60] Operation: 86-26=60
Exploring Operation: 86-1=85, Resulting Numbers: [26, 85]
Generated Node #0,0,1: 65:[26, 85] Operation: 86-1=85
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[1, 60], Operations: ['89-63=26', '86-26=60']
Exploring Operation: 1*60=60, Resulting Numbers: [60]
60,65 unequal: No Solution
Exploring Operation: 1+60=61, Resulting Numbers: [61]
61,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[26, 85], Operations: ['89-63=26', '86-1=85']
Exploring Operation: 26+85=111, Resulting Numbers: [111]
111,65 unequal: No Solution
Exploring Operation: 85-26=59, Resulting Numbers: [59]
59,65 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 |
[
77,
79,
78,
81
] | 38 | [
"81-79=2",
"78/2=39",
"77-39=38"
] | Current State: 38:[77, 79, 78, 81], Operations: []
Exploring Operation: 81-79=2, Resulting Numbers: [77, 78, 2]
Generated Node #2: [77, 78, 2] from Operation: 81-79=2
Current State: 38:[77, 78, 2], Operations: ['81-79=2']
Exploring Operation: 78/2=39, Resulting Numbers: [77, 39]
Generated Node #3: [77, 39] from Operation: 78/2=39
Current State: 38:[77, 39], Operations: ['81-79=2', '78/2=39']
Exploring Operation: 77-39=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[77, 79, 78, 81], Operations: []
Exploring Operation: 81-79=2, Resulting Numbers: [77, 78, 2]
Generated Node #0,0: 38:[77, 78, 2] Operation: 81-79=2
Exploring Operation: 81-78=3, Resulting Numbers: [77, 79, 3]
Generated Node #0,1: 38:[77, 79, 3] Operation: 81-78=3
Moving to Node #0,0
Current State: 38:[77, 78, 2], Operations: ['81-79=2']
Exploring Operation: 78/2=39, Resulting Numbers: [77, 39]
Generated Node #0,0,0: 38:[77, 39] Operation: 78/2=39
Exploring Operation: 78-77=1, Resulting Numbers: [2, 1]
Generated Node #0,0,1: 38:[2, 1] Operation: 78-77=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[2, 1], Operations: ['81-79=2', '78-77=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[77, 39], Operations: ['81-79=2', '78/2=39']
Exploring Operation: 77+39=116, Resulting Numbers: [116]
116,38 unequal: No Solution
Exploring Operation: 77-39=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[77, 79, 78, 81], Operations: []
Exploring Operation: 81-79=2, Resulting Numbers: [77, 78, 2]
Generated Node #0,0: 38:[77, 78, 2] Operation: 81-79=2
Moving to Node #0,0
Current State: 38:[77, 78, 2], Operations: ['81-79=2']
Exploring Operation: 78/2=39, Resulting Numbers: [77, 39]
Generated Node #0,0,0: 38:[77, 39] Operation: 78/2=39
Moving to Node #0,0,0
Current State: 38:[77, 39], Operations: ['81-79=2', '78/2=39']
Exploring Operation: 77-39=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
29,
4,
27,
94
] | 42 | [
"29-4=25",
"94-27=67",
"67-25=42"
] | Current State: 42:[29, 4, 27, 94], Operations: []
Exploring Operation: 29-4=25, Resulting Numbers: [27, 94, 25]
Generated Node #2: [27, 94, 25] from Operation: 29-4=25
Current State: 42:[27, 94, 25], Operations: ['29-4=25']
Exploring Operation: 94-27=67, Resulting Numbers: [25, 67]
Generated Node #3: [25, 67] from Operation: 94-27=67
Current State: 42:[25, 67], Operations: ['29-4=25', '94-27=67']
Exploring Operation: 67-25=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[29, 4, 27, 94], Operations: []
Exploring Operation: 94-29=65, Resulting Numbers: [4, 27, 65]
Generated Node #0,0: 42:[4, 27, 65] Operation: 94-29=65
Moving to Node #0,0
Current State: 42:[4, 27, 65], Operations: ['94-29=65']
Exploring Operation: 65-27=38, Resulting Numbers: [4, 38]
Generated Node #0,0,0: 42:[4, 38] Operation: 65-27=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[4, 38], Operations: ['94-29=65', '65-27=38']
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[29, 4, 27, 94], Operations: []
Exploring Operation: 94-29=65, Resulting Numbers: [4, 27, 65]
Generated Node #0,0: 42:[4, 27, 65] Operation: 94-29=65
Moving to Node #0,0
Current State: 42:[4, 27, 65], Operations: ['94-29=65']
Exploring Operation: 65-27=38, Resulting Numbers: [4, 38]
Generated Node #0,0,0: 42:[4, 38] Operation: 65-27=38
Moving to Node #0,0,0
Current State: 42:[4, 38], Operations: ['94-29=65', '65-27=38']
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
30,
52,
58,
29
] | 24 | [
"52-30=22",
"58/29=2",
"22+2=24"
] | Current State: 24:[30, 52, 58, 29], Operations: []
Exploring Operation: 52-30=22, Resulting Numbers: [58, 29, 22]
Generated Node #2: [58, 29, 22] from Operation: 52-30=22
Current State: 24:[58, 29, 22], Operations: ['52-30=22']
Exploring Operation: 58/29=2, Resulting Numbers: [22, 2]
Generated Node #3: [22, 2] from Operation: 58/29=2
Current State: 24:[22, 2], Operations: ['52-30=22', '58/29=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[30, 52, 58, 29], Operations: []
Exploring Operation: 58/29=2, Resulting Numbers: [30, 52, 2]
Generated Node #0,0: 24:[30, 52, 2] Operation: 58/29=2
Exploring Operation: 58-30=28, Resulting Numbers: [52, 29, 28]
Generated Node #0,1: 24:[52, 29, 28] Operation: 58-30=28
Exploring Operation: 58-52=6, Resulting Numbers: [30, 29, 6]
Generated Node #0,2: 24:[30, 29, 6] Operation: 58-52=6
Moving to Node #0,2
Current State: 24:[30, 29, 6], Operations: ['58-52=6']
Exploring Operation: 30-29=1, Resulting Numbers: [6, 1]
Generated Node #0,2,0: 24:[6, 1] Operation: 30-29=1
Exploring Operation: 30-6=24, Resulting Numbers: [29, 24]
Generated Node #0,2,1: 24:[29, 24] Operation: 30-6=24
Exploring Operation: 30/6=5, Resulting Numbers: [29, 5]
Generated Node #0,2,2: 24:[29, 5] Operation: 30/6=5
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 24:[6, 1], Operations: ['58-52=6', '30-29=1']
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 24:[29, 24], Operations: ['58-52=6', '30-6=24']
Exploring Operation: 29+24=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Exploring Operation: 29*24=696, Resulting Numbers: [696]
696,24 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 24:[29, 5], Operations: ['58-52=6', '30/6=5']
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,24 unequal: No Solution
Exploring Operation: 29*5=145, Resulting Numbers: [145]
145,24 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[30, 52, 58, 29], Operations: []
Exploring Operation: 58-52=6, Resulting Numbers: [30, 29, 6]
Generated Node #0,2: 24:[30, 29, 6] Operation: 58-52=6
Moving to Node #0,2
Current State: 24:[30, 29, 6], Operations: ['58-52=6']
Exploring Operation: 30/6=5, Resulting Numbers: [29, 5]
Generated Node #0,2,2: 24:[29, 5] Operation: 30/6=5
Moving to Node #0,2,2
Current State: 24:[29, 5], Operations: ['58-52=6', '30/6=5']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
60,
71,
36,
48
] | 95 | [
"71-60=11",
"36+48=84",
"11+84=95"
] | Current State: 95:[60, 71, 36, 48], Operations: []
Exploring Operation: 71-60=11, Resulting Numbers: [36, 48, 11]
Generated Node #2: [36, 48, 11] from Operation: 71-60=11
Current State: 95:[36, 48, 11], Operations: ['71-60=11']
Exploring Operation: 36+48=84, Resulting Numbers: [11, 84]
Generated Node #3: [11, 84] from Operation: 36+48=84
Current State: 95:[11, 84], Operations: ['71-60=11', '36+48=84']
Exploring Operation: 11+84=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[60, 71, 36, 48], Operations: []
Exploring Operation: 60+48=108, Resulting Numbers: [71, 36, 108]
Generated Node #0,0: 95:[71, 36, 108] Operation: 60+48=108
Exploring Operation: 60+36=96, Resulting Numbers: [71, 48, 96]
Generated Node #0,1: 95:[71, 48, 96] Operation: 60+36=96
Exploring Operation: 60-48=12, Resulting Numbers: [71, 36, 12]
Generated Node #0,2: 95:[71, 36, 12] Operation: 60-48=12
Exploring Operation: 71-60=11, Resulting Numbers: [36, 48, 11]
Generated Node #0,3: 95:[36, 48, 11] Operation: 71-60=11
Moving to Node #0,2
Current State: 95:[71, 36, 12], Operations: ['60-48=12']
Exploring Operation: 71+12=83, Resulting Numbers: [36, 83]
Generated Node #0,2,0: 95:[36, 83] Operation: 71+12=83
Exploring Operation: 71-36=35, Resulting Numbers: [12, 35]
Generated Node #0,2,1: 95:[12, 35] Operation: 71-36=35
Exploring Operation: 71+36=107, Resulting Numbers: [12, 107]
Generated Node #0,2,2: 95:[12, 107] Operation: 71+36=107
Exploring Operation: 36/12=3, Resulting Numbers: [71, 3]
Generated Node #0,2,3: 95:[71, 3] Operation: 36/12=3
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 95:[12, 107], Operations: ['60-48=12', '71+36=107']
Exploring Operation: 12*107=1284, Resulting Numbers: [1284]
1284,95 unequal: No Solution
Exploring Operation: 107-12=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[60, 71, 36, 48], Operations: []
Exploring Operation: 60-48=12, Resulting Numbers: [71, 36, 12]
Generated Node #0,2: 95:[71, 36, 12] Operation: 60-48=12
Moving to Node #0,2
Current State: 95:[71, 36, 12], Operations: ['60-48=12']
Exploring Operation: 71+36=107, Resulting Numbers: [12, 107]
Generated Node #0,2,2: 95:[12, 107] Operation: 71+36=107
Moving to Node #0,2,2
Current State: 95:[12, 107], Operations: ['60-48=12', '71+36=107']
Exploring Operation: 107-12=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
4,
46,
74,
65
] | 35 | [
"46+74=120",
"120/4=30",
"65-30=35"
] | Current State: 35:[4, 46, 74, 65], Operations: []
Exploring Operation: 46+74=120, Resulting Numbers: [4, 65, 120]
Generated Node #2: [4, 65, 120] from Operation: 46+74=120
Current State: 35:[4, 65, 120], Operations: ['46+74=120']
Exploring Operation: 120/4=30, Resulting Numbers: [65, 30]
Generated Node #3: [65, 30] from Operation: 120/4=30
Current State: 35:[65, 30], Operations: ['46+74=120', '120/4=30']
Exploring Operation: 65-30=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[4, 46, 74, 65], Operations: []
Exploring Operation: 65-46=19, Resulting Numbers: [4, 74, 19]
Generated Node #0,0: 35:[4, 74, 19] Operation: 65-46=19
Exploring Operation: 74-46=28, Resulting Numbers: [4, 65, 28]
Generated Node #0,1: 35:[4, 65, 28] Operation: 74-46=28
Exploring Operation: 74-4=70, Resulting Numbers: [46, 65, 70]
Generated Node #0,2: 35:[46, 65, 70] Operation: 74-4=70
Exploring Operation: 74-65=9, Resulting Numbers: [4, 46, 9]
Generated Node #0,3: 35:[4, 46, 9] Operation: 74-65=9
Exploring Operation: 46-4=42, Resulting Numbers: [74, 65, 42]
Generated Node #0,4: 35:[74, 65, 42] Operation: 46-4=42
Moving to Node #0,3
Current State: 35:[4, 46, 9], Operations: ['74-65=9']
Exploring Operation: 4+46=50, Resulting Numbers: [9, 50]
Generated Node #0,3,0: 35:[9, 50] Operation: 4+46=50
Exploring Operation: 46-4=42, Resulting Numbers: [9, 42]
Generated Node #0,3,1: 35:[9, 42] Operation: 46-4=42
Exploring Operation: 4*9=36, Resulting Numbers: [46, 36]
Generated Node #0,3,2: 35:[46, 36] Operation: 4*9=36
Exploring Operation: 46-9=37, Resulting Numbers: [4, 37]
Generated Node #0,3,3: 35:[4, 37] Operation: 46-9=37
Exploring Operation: 9-4=5, Resulting Numbers: [46, 5]
Generated Node #0,3,4: 35:[46, 5] Operation: 9-4=5
Moving to Node #0,1
Current State: 35:[4, 65, 28], Operations: ['74-46=28']
Exploring Operation: 4+65=69, Resulting Numbers: [28, 69]
Generated Node #0,1,0: 35:[28, 69] Operation: 4+65=69
Exploring Operation: 65-28=37, Resulting Numbers: [4, 37]
Generated Node #0,1,1: 35:[4, 37] Operation: 65-28=37
Exploring Operation: 65-4=61, Resulting Numbers: [28, 61]
Generated Node #0,1,2: 35:[28, 61] Operation: 65-4=61
Exploring Operation: 4+28=32, Resulting Numbers: [65, 32]
Generated Node #0,1,3: 35:[65, 32] Operation: 4+28=32
Exploring Operation: 28/4=7, Resulting Numbers: [65, 7]
Generated Node #0,1,4: 35:[65, 7] Operation: 28/4=7
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[4, 37], Operations: ['74-46=28', '65-28=37']
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,35 unequal: No Solution
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 35:[65, 7], Operations: ['74-46=28', '28/4=7']
Exploring Operation: 65-7=58, Resulting Numbers: [58]
58,35 unequal: No Solution
Exploring Operation: 65+7=72, Resulting Numbers: [72]
72,35 unequal: No Solution
Exploring Operation: 65*7=455, Resulting Numbers: [455]
455,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 35:[28, 61], Operations: ['74-46=28', '65-4=61']
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Exploring Operation: 28+61=89, Resulting Numbers: [89]
89,35 unequal: No Solution
Exploring Operation: 28*61=1708, Resulting Numbers: [1708]
1708,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 35:[65, 32], Operations: ['74-46=28', '4+28=32']
Exploring Operation: 65-32=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Exploring Operation: 65*32=2080, Resulting Numbers: [2080]
2080,35 unequal: No Solution
Exploring Operation: 65+32=97, Resulting Numbers: [97]
97,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[28, 69], Operations: ['74-46=28', '4+65=69']
Exploring Operation: 28*69=1932, Resulting Numbers: [1932]
1932,35 unequal: No Solution
Exploring Operation: 28+69=97, Resulting Numbers: [97]
97,35 unequal: No Solution
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,35 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: 35:[4, 74, 19], Operations: ['65-46=19']
Exploring Operation: 19-4=15, Resulting Numbers: [74, 15]
Generated Node #0,0,0: 35:[74, 15] Operation: 19-4=15
Exploring Operation: 4+19=23, Resulting Numbers: [74, 23]
Generated Node #0,0,1: 35:[74, 23] Operation: 4+19=23
Exploring Operation: 74-4=70, Resulting Numbers: [19, 70]
Generated Node #0,0,2: 35:[19, 70] Operation: 74-4=70
Exploring Operation: 4+74=78, Resulting Numbers: [19, 78]
Generated Node #0,0,3: 35:[19, 78] Operation: 4+74=78
Exploring Operation: 74-19=55, Resulting Numbers: [4, 55]
Generated Node #0,0,4: 35:[4, 55] Operation: 74-19=55
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 35:[4, 55], Operations: ['65-46=19', '74-19=55']
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 4*55=220, Resulting Numbers: [220]
220,35 unequal: No Solution
Exploring Operation: 4+55=59, Resulting Numbers: [59]
59,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[74, 15], Operations: ['65-46=19', '19-4=15']
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,35 unequal: No Solution
Exploring Operation: 74*15=1110, Resulting Numbers: [1110]
1110,35 unequal: No Solution
Exploring Operation: 74+15=89, Resulting Numbers: [89]
89,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[19, 70], Operations: ['65-46=19', '74-4=70']
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 19+70=89, Resulting Numbers: [89]
89,35 unequal: No Solution
Exploring Operation: 19*70=1330, Resulting Numbers: [1330]
1330,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[74, 23], Operations: ['65-46=19', '4+19=23']
Exploring Operation: 74-23=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 74*23=1702, Resulting Numbers: [1702]
1702,35 unequal: No Solution
Exploring Operation: 74+23=97, Resulting Numbers: [97]
97,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 35:[19, 78], Operations: ['65-46=19', '4+74=78']
Exploring Operation: 19+78=97, Resulting Numbers: [97]
97,35 unequal: No Solution
Exploring Operation: 78-19=59, Resulting Numbers: [59]
59,35 unequal: No Solution
Exploring Operation: 19*78=1482, Resulting Numbers: [1482]
1482,35 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: 35:[46, 65, 70], Operations: ['74-4=70']
Exploring Operation: 70-65=5, Resulting Numbers: [46, 5]
Generated Node #0,2,0: 35:[46, 5] Operation: 70-65=5
Exploring Operation: 46+65=111, Resulting Numbers: [70, 111]
Generated Node #0,2,1: 35:[70, 111] Operation: 46+65=111
Exploring Operation: 65-46=19, Resulting Numbers: [70, 19]
Generated Node #0,2,2: 35:[70, 19] Operation: 65-46=19
Exploring Operation: 70-46=24, Resulting Numbers: [65, 24]
Generated Node #0,2,3: 35:[65, 24] Operation: 70-46=24
Exploring Operation: 46+70=116, Resulting Numbers: [65, 116]
Generated Node #0,2,4: 35:[65, 116] Operation: 46+70=116
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 35:[46, 5], Operations: ['74-4=70', '70-65=5']
Exploring Operation: 46*5=230, Resulting Numbers: [230]
230,35 unequal: No Solution
Exploring Operation: 46+5=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 35:[65, 24], Operations: ['74-4=70', '70-46=24']
Exploring Operation: 65*24=1560, Resulting Numbers: [1560]
1560,35 unequal: No Solution
Exploring Operation: 65+24=89, Resulting Numbers: [89]
89,35 unequal: No Solution
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 35:[70, 19], Operations: ['74-4=70', '65-46=19']
Exploring Operation: 70+19=89, Resulting Numbers: [89]
89,35 unequal: No Solution
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 70*19=1330, Resulting Numbers: [1330]
1330,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 35:[70, 111], Operations: ['74-4=70', '46+65=111']
Exploring Operation: 111-70=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 70*111=7770, Resulting Numbers: [7770]
7770,35 unequal: No Solution
Exploring Operation: 70+111=181, Resulting Numbers: [181]
181,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 35:[65, 116], Operations: ['74-4=70', '46+70=116']
Exploring Operation: 65+116=181, Resulting Numbers: [181]
181,35 unequal: No Solution
Exploring Operation: 116-65=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 65*116=7540, Resulting Numbers: [7540]
7540,35 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: 35:[74, 65, 42], Operations: ['46-4=42']
Exploring Operation: 74-42=32, Resulting Numbers: [65, 32]
Generated Node #0,4,0: 35:[65, 32] Operation: 74-42=32
Exploring Operation: 65-42=23, Resulting Numbers: [74, 23]
Generated Node #0,4,1: 35:[74, 23] Operation: 65-42=23
Exploring Operation: 74+65=139, Resulting Numbers: [42, 139]
Generated Node #0,4,2: 35:[42, 139] Operation: 74+65=139
Exploring Operation: 74+42=116, Resulting Numbers: [65, 116]
Generated Node #0,4,3: 35:[65, 116] Operation: 74+42=116
Exploring Operation: 74-65=9, Resulting Numbers: [42, 9]
Generated Node #0,4,4: 35:[42, 9] Operation: 74-65=9
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 35:[42, 9], Operations: ['46-4=42', '74-65=9']
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Exploring Operation: 42*9=378, Resulting Numbers: [378]
378,35 unequal: No Solution
Exploring Operation: 42+9=51, Resulting Numbers: [51]
51,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 35:[65, 32], Operations: ['46-4=42', '74-42=32']
Exploring Operation: 65+32=97, Resulting Numbers: [97]
97,35 unequal: No Solution
Exploring Operation: 65*32=2080, Resulting Numbers: [2080]
2080,35 unequal: No Solution
Exploring Operation: 65-32=33, Resulting Numbers: [33]
33,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 35:[74, 23], Operations: ['46-4=42', '65-42=23']
Exploring Operation: 74-23=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 74*23=1702, Resulting Numbers: [1702]
1702,35 unequal: No Solution
Exploring Operation: 74+23=97, Resulting Numbers: [97]
97,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 35:[42, 139], Operations: ['46-4=42', '74+65=139']
Exploring Operation: 42+139=181, Resulting Numbers: [181]
181,35 unequal: No Solution
Exploring Operation: 139-42=97, Resulting Numbers: [97]
97,35 unequal: No Solution
Exploring Operation: 42*139=5838, Resulting Numbers: [5838]
5838,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 35:[65, 116], Operations: ['46-4=42', '74+42=116']
Exploring Operation: 65*116=7540, Resulting Numbers: [7540]
7540,35 unequal: No Solution
Exploring Operation: 65+116=181, Resulting Numbers: [181]
181,35 unequal: No Solution
Exploring Operation: 116-65=51, Resulting Numbers: [51]
51,35 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: 35:[4, 37], Operations: ['74-65=9', '46-9=37']
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,35 unequal: No Solution
Moving to Node #0,3,1
Current State: 35:[9, 42], Operations: ['74-65=9', '46-4=42']
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Exploring Operation: 9*42=378, Resulting Numbers: [378]
378,35 unequal: No Solution
Exploring Operation: 9+42=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Moving to Node #0,3,4
Current State: 35:[46, 5], Operations: ['74-65=9', '9-4=5']
Exploring Operation: 46*5=230, Resulting Numbers: [230]
230,35 unequal: No Solution
Exploring Operation: 46+5=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Moving to Node #0,3,2
Current State: 35:[46, 36], Operations: ['74-65=9', '4*9=36']
Exploring Operation: 46*36=1656, Resulting Numbers: [1656]
1656,35 unequal: No Solution
Exploring Operation: 46+36=82, Resulting Numbers: [82]
82,35 unequal: No Solution
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Moving to Node #0,3,0
Current State: 35:[9, 50], Operations: ['74-65=9', '4+46=50']
Exploring Operation: 9*50=450, Resulting Numbers: [450]
450,35 unequal: No Solution
Exploring Operation: 9+50=59, Resulting Numbers: [59]
59,35 unequal: No Solution
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,35 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
88,
54,
2,
62
] | 82 | [
"88+54=142",
"62-2=60",
"142-60=82"
] | Current State: 82:[88, 54, 2, 62], Operations: []
Exploring Operation: 88+54=142, Resulting Numbers: [2, 62, 142]
Generated Node #2: [2, 62, 142] from Operation: 88+54=142
Current State: 82:[2, 62, 142], Operations: ['88+54=142']
Exploring Operation: 62-2=60, Resulting Numbers: [142, 60]
Generated Node #3: [142, 60] from Operation: 62-2=60
Current State: 82:[142, 60], Operations: ['88+54=142', '62-2=60']
Exploring Operation: 142-60=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[88, 54, 2, 62], Operations: []
Exploring Operation: 62-54=8, Resulting Numbers: [88, 2, 8]
Generated Node #0,0: 82:[88, 2, 8] Operation: 62-54=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[88, 2, 8], Operations: ['62-54=8']
Exploring Operation: 88-8=80, Resulting Numbers: [2, 80]
Generated Node #0,0,0: 82:[2, 80] Operation: 88-8=80
Moving to Node #0,0,0
Current State: 82:[2, 80], Operations: ['62-54=8', '88-8=80']
Exploring Operation: 2+80=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[88, 54, 2, 62], Operations: []
Exploring Operation: 62-54=8, Resulting Numbers: [88, 2, 8]
Generated Node #0,0: 82:[88, 2, 8] Operation: 62-54=8
Moving to Node #0,0
Current State: 82:[88, 2, 8], Operations: ['62-54=8']
Exploring Operation: 88-8=80, Resulting Numbers: [2, 80]
Generated Node #0,0,0: 82:[2, 80] Operation: 88-8=80
Moving to Node #0,0,0
Current State: 82:[2, 80], Operations: ['62-54=8', '88-8=80']
Exploring Operation: 2+80=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
70,
52,
23,
36
] | 63 | [
"70+52=122",
"23+36=59",
"122-59=63"
] | Current State: 63:[70, 52, 23, 36], Operations: []
Exploring Operation: 70+52=122, Resulting Numbers: [23, 36, 122]
Generated Node #2: [23, 36, 122] from Operation: 70+52=122
Current State: 63:[23, 36, 122], Operations: ['70+52=122']
Exploring Operation: 23+36=59, Resulting Numbers: [122, 59]
Generated Node #3: [122, 59] from Operation: 23+36=59
Current State: 63:[122, 59], Operations: ['70+52=122', '23+36=59']
Exploring Operation: 122-59=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[70, 52, 23, 36], Operations: []
Exploring Operation: 36-23=13, Resulting Numbers: [70, 52, 13]
Generated Node #0,0: 63:[70, 52, 13] Operation: 36-23=13
Exploring Operation: 70-36=34, Resulting Numbers: [52, 23, 34]
Generated Node #0,1: 63:[52, 23, 34] Operation: 70-36=34
Exploring Operation: 23+36=59, Resulting Numbers: [70, 52, 59]
Generated Node #0,2: 63:[70, 52, 59] Operation: 23+36=59
Exploring Operation: 52-36=16, Resulting Numbers: [70, 23, 16]
Generated Node #0,3: 63:[70, 23, 16] Operation: 52-36=16
Exploring Operation: 70-52=18, Resulting Numbers: [23, 36, 18]
Generated Node #0,4: 63:[23, 36, 18] Operation: 70-52=18
Moving to Node #0,3
Current State: 63:[70, 23, 16], Operations: ['52-36=16']
Exploring Operation: 70-16=54, Resulting Numbers: [23, 54]
Generated Node #0,3,0: 63:[23, 54] Operation: 70-16=54
Exploring Operation: 23+16=39, Resulting Numbers: [70, 39]
Generated Node #0,3,1: 63:[70, 39] Operation: 23+16=39
Exploring Operation: 23-16=7, Resulting Numbers: [70, 7]
Generated Node #0,3,2: 63:[70, 7] Operation: 23-16=7
Exploring Operation: 70+16=86, Resulting Numbers: [23, 86]
Generated Node #0,3,3: 63:[23, 86] Operation: 70+16=86
Exploring Operation: 70-23=47, Resulting Numbers: [16, 47]
Generated Node #0,3,4: 63:[16, 47] Operation: 70-23=47
Moving to Node #0,4
Current State: 63:[23, 36, 18], Operations: ['70-52=18']
Exploring Operation: 36-18=18, Resulting Numbers: [23, 18]
Generated Node #0,4,0: 63:[23, 18] Operation: 36-18=18
Exploring Operation: 36-23=13, Resulting Numbers: [18, 13]
Generated Node #0,4,1: 63:[18, 13] Operation: 36-23=13
Exploring Operation: 23+36=59, Resulting Numbers: [18, 59]
Generated Node #0,4,2: 63:[18, 59] Operation: 23+36=59
Exploring Operation: 36/18=2, Resulting Numbers: [23, 2]
Generated Node #0,4,3: 63:[23, 2] Operation: 36/18=2
Exploring Operation: 36+18=54, Resulting Numbers: [23, 54]
Generated Node #0,4,4: 63:[23, 54] Operation: 36+18=54
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 63:[23, 2], Operations: ['70-52=18', '36/18=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,63 unequal: No Solution
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,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,4,0
Current State: 63:[23, 18], Operations: ['70-52=18', '36-18=18']
Exploring Operation: 23*18=414, Resulting Numbers: [414]
414,63 unequal: No Solution
Exploring Operation: 23+18=41, Resulting Numbers: [41]
41,63 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,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,4,1
Current State: 63:[18, 13], Operations: ['70-52=18', '36-23=13']
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,63 unequal: No Solution
Exploring Operation: 18*13=234, Resulting Numbers: [234]
234,63 unequal: No Solution
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,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,4,2
Current State: 63:[18, 59], Operations: ['70-52=18', '23+36=59']
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,63 unequal: No Solution
Exploring Operation: 18+59=77, Resulting Numbers: [77]
77,63 unequal: No Solution
Exploring Operation: 18*59=1062, Resulting Numbers: [1062]
1062,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,4,4
Current State: 63:[23, 54], Operations: ['70-52=18', '36+18=54']
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,63 unequal: No Solution
Exploring Operation: 23*54=1242, Resulting Numbers: [1242]
1242,63 unequal: No Solution
Exploring Operation: 23+54=77, Resulting Numbers: [77]
77,63 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: 63:[70, 52, 13], Operations: ['36-23=13']
Exploring Operation: 70-13=57, Resulting Numbers: [52, 57]
Generated Node #0,0,0: 63:[52, 57] Operation: 70-13=57
Exploring Operation: 52-13=39, Resulting Numbers: [70, 39]
Generated Node #0,0,1: 63:[70, 39] Operation: 52-13=39
Exploring Operation: 70-52=18, Resulting Numbers: [13, 18]
Generated Node #0,0,2: 63:[13, 18] Operation: 70-52=18
Exploring Operation: 52+13=65, Resulting Numbers: [70, 65]
Generated Node #0,0,3: 63:[70, 65] Operation: 52+13=65
Exploring Operation: 52/13=4, Resulting Numbers: [70, 4]
Generated Node #0,0,4: 63:[70, 4] Operation: 52/13=4
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 63:[13, 18], Operations: ['36-23=13', '70-52=18']
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,63 unequal: No Solution
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,63 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,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,0,4
Current State: 63:[70, 4], Operations: ['36-23=13', '52/13=4']
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,63 unequal: No Solution
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,63 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,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,0,3
Current State: 63:[70, 65], Operations: ['36-23=13', '52+13=65']
Exploring Operation: 70-65=5, Resulting Numbers: [5]
5,63 unequal: No Solution
Exploring Operation: 70+65=135, Resulting Numbers: [135]
135,63 unequal: No Solution
Exploring Operation: 70*65=4550, Resulting Numbers: [4550]
4550,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,0,0
Current State: 63:[52, 57], Operations: ['36-23=13', '70-13=57']
Exploring Operation: 52+57=109, Resulting Numbers: [109]
109,63 unequal: No Solution
Exploring Operation: 57-52=5, Resulting Numbers: [5]
5,63 unequal: No Solution
Exploring Operation: 52*57=2964, Resulting Numbers: [2964]
2964,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,0,1
Current State: 63:[70, 39], Operations: ['36-23=13', '52-13=39']
Exploring Operation: 70*39=2730, Resulting Numbers: [2730]
2730,63 unequal: No Solution
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,63 unequal: No Solution
Exploring Operation: 70+39=109, Resulting Numbers: [109]
109,63 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: 63:[70, 52, 59], Operations: ['23+36=59']
Exploring Operation: 70-59=11, Resulting Numbers: [52, 11]
Generated Node #0,2,0: 63:[52, 11] Operation: 70-59=11
Exploring Operation: 52+59=111, Resulting Numbers: [70, 111]
Generated Node #0,2,1: 63:[70, 111] Operation: 52+59=111
Exploring Operation: 59-52=7, Resulting Numbers: [70, 7]
Generated Node #0,2,2: 63:[70, 7] Operation: 59-52=7
Exploring Operation: 70+52=122, Resulting Numbers: [59, 122]
Generated Node #0,2,3: 63:[59, 122] Operation: 70+52=122
Exploring Operation: 70-52=18, Resulting Numbers: [59, 18]
Generated Node #0,2,4: 63:[59, 18] Operation: 70-52=18
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 63:[70, 7], Operations: ['23+36=59', '59-52=7']
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[70, 52, 23, 36], Operations: []
Exploring Operation: 23+36=59, Resulting Numbers: [70, 52, 59]
Generated Node #0,2: 63:[70, 52, 59] Operation: 23+36=59
Moving to Node #0,2
Current State: 63:[70, 52, 59], Operations: ['23+36=59']
Exploring Operation: 59-52=7, Resulting Numbers: [70, 7]
Generated Node #0,2,2: 63:[70, 7] Operation: 59-52=7
Moving to Node #0,2,2
Current State: 63:[70, 7], Operations: ['23+36=59', '59-52=7']
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.947917 | hs_5 | sum_heuristic |
[
26,
75,
36,
65
] | 20 | [
"75-26=49",
"65-36=29",
"49-29=20"
] | Current State: 20:[26, 75, 36, 65], Operations: []
Exploring Operation: 75-26=49, Resulting Numbers: [36, 65, 49]
Generated Node #2: [36, 65, 49] from Operation: 75-26=49
Current State: 20:[36, 65, 49], Operations: ['75-26=49']
Exploring Operation: 65-36=29, Resulting Numbers: [49, 29]
Generated Node #3: [49, 29] from Operation: 65-36=29
Current State: 20:[49, 29], Operations: ['75-26=49', '65-36=29']
Exploring Operation: 49-29=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[26, 75, 36, 65], Operations: []
Exploring Operation: 65-36=29, Resulting Numbers: [26, 75, 29]
Generated Node #0,0: 20:[26, 75, 29] Operation: 65-36=29
Exploring Operation: 75-65=10, Resulting Numbers: [26, 36, 10]
Generated Node #0,1: 20:[26, 36, 10] Operation: 75-65=10
Exploring Operation: 75-26=49, Resulting Numbers: [36, 65, 49]
Generated Node #0,2: 20:[36, 65, 49] Operation: 75-26=49
Exploring Operation: 75-36=39, Resulting Numbers: [26, 65, 39]
Generated Node #0,3: 20:[26, 65, 39] Operation: 75-36=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[26, 36, 10], Operations: ['75-65=10']
Exploring Operation: 36-10=26, Resulting Numbers: [26, 26]
Generated Node #0,1,0: 20:[26, 26] Operation: 36-10=26
Exploring Operation: 26-10=16, Resulting Numbers: [36, 16]
Generated Node #0,1,1: 20:[36, 16] Operation: 26-10=16
Exploring Operation: 36-26=10, Resulting Numbers: [10, 10]
Generated Node #0,1,2: 20:[10, 10] Operation: 36-26=10
Exploring Operation: 26+10=36, Resulting Numbers: [36, 36]
Generated Node #0,1,3: 20:[36, 36] Operation: 26+10=36
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 20:[10, 10], Operations: ['75-65=10', '36-26=10']
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,20 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[26, 75, 36, 65], Operations: []
Exploring Operation: 75-65=10, Resulting Numbers: [26, 36, 10]
Generated Node #0,1: 20:[26, 36, 10] Operation: 75-65=10
Moving to Node #0,1
Current State: 20:[26, 36, 10], Operations: ['75-65=10']
Exploring Operation: 36-26=10, Resulting Numbers: [10, 10]
Generated Node #0,1,2: 20:[10, 10] Operation: 36-26=10
Moving to Node #0,1,2
Current State: 20:[10, 10], Operations: ['75-65=10', '36-26=10']
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
11,
19,
2,
31
] | 91 | [
"11+19=30",
"2*30=60",
"31+60=91"
] | Current State: 91:[11, 19, 2, 31], Operations: []
Exploring Operation: 11+19=30, Resulting Numbers: [2, 31, 30]
Generated Node #2: [2, 31, 30] from Operation: 11+19=30
Current State: 91:[2, 31, 30], Operations: ['11+19=30']
Exploring Operation: 2*30=60, Resulting Numbers: [31, 60]
Generated Node #3: [31, 60] from Operation: 2*30=60
Current State: 91:[31, 60], Operations: ['11+19=30', '2*30=60']
Exploring Operation: 31+60=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[11, 19, 2, 31], Operations: []
Exploring Operation: 31-19=12, Resulting Numbers: [11, 2, 12]
Generated Node #0,0: 91:[11, 2, 12] Operation: 31-19=12
Exploring Operation: 31-11=20, Resulting Numbers: [19, 2, 20]
Generated Node #0,1: 91:[19, 2, 20] Operation: 31-11=20
Exploring Operation: 19-11=8, Resulting Numbers: [2, 31, 8]
Generated Node #0,2: 91:[2, 31, 8] Operation: 19-11=8
Moving to Node #0,0
Current State: 91:[11, 2, 12], Operations: ['31-19=12']
Exploring Operation: 11+2=13, Resulting Numbers: [12, 13]
Generated Node #0,0,0: 91:[12, 13] Operation: 11+2=13
Exploring Operation: 2+12=14, Resulting Numbers: [11, 14]
Generated Node #0,0,1: 91:[11, 14] Operation: 2+12=14
Exploring Operation: 11-2=9, Resulting Numbers: [12, 9]
Generated Node #0,0,2: 91:[12, 9] Operation: 11-2=9
Moving to Node #0,1
Current State: 91:[19, 2, 20], Operations: ['31-11=20']
Exploring Operation: 19-2=17, Resulting Numbers: [20, 17]
Generated Node #0,1,0: 91:[20, 17] Operation: 19-2=17
Exploring Operation: 20-19=1, Resulting Numbers: [2, 1]
Generated Node #0,1,1: 91:[2, 1] Operation: 20-19=1
Exploring Operation: 20/2=10, Resulting Numbers: [19, 10]
Generated Node #0,1,2: 91:[19, 10] Operation: 20/2=10
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[19, 10], Operations: ['31-11=20', '20/2=10']
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,91 unequal: No Solution
Exploring Operation: 19*10=190, Resulting Numbers: [190]
190,91 unequal: No Solution
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,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:[20, 17], Operations: ['31-11=20', '19-2=17']
Exploring Operation: 20*17=340, Resulting Numbers: [340]
340,91 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Exploring Operation: 20+17=37, Resulting Numbers: [37]
37,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:[2, 1], Operations: ['31-11=20', '20-19=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,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:[2, 31, 8], Operations: ['19-11=8']
Exploring Operation: 8-2=6, Resulting Numbers: [31, 6]
Generated Node #0,2,0: 91:[31, 6] Operation: 8-2=6
Exploring Operation: 31-8=23, Resulting Numbers: [2, 23]
Generated Node #0,2,1: 91:[2, 23] Operation: 31-8=23
Exploring Operation: 31-2=29, Resulting Numbers: [8, 29]
Generated Node #0,2,2: 91:[8, 29] Operation: 31-2=29
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[2, 23], Operations: ['19-11=8', '31-8=23']
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,91 unequal: No Solution
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,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:[8, 29], Operations: ['19-11=8', '31-2=29']
Exploring Operation: 8*29=232, Resulting Numbers: [232]
232,91 unequal: No Solution
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,91 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,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,0
Current State: 91:[31, 6], Operations: ['19-11=8', '8-2=6']
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,91 unequal: No Solution
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,91 unequal: No Solution
Exploring Operation: 31*6=186, Resulting Numbers: [186]
186,91 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: 91:[12, 13], Operations: ['31-19=12', '11+2=13']
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 12*13=156, Resulting Numbers: [156]
156,91 unequal: No Solution
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[11, 14], Operations: ['31-19=12', '2+12=14']
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,91 unequal: No Solution
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[12, 9], Operations: ['31-19=12', '11-2=9']
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,91 unequal: No Solution
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,91 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,91 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
55,
21,
18,
11
] | 92 | [
"18-11=7",
"21*7=147",
"147-55=92"
] | Current State: 92:[55, 21, 18, 11], Operations: []
Exploring Operation: 18-11=7, Resulting Numbers: [55, 21, 7]
Generated Node #2: [55, 21, 7] from Operation: 18-11=7
Current State: 92:[55, 21, 7], Operations: ['18-11=7']
Exploring Operation: 21*7=147, Resulting Numbers: [55, 147]
Generated Node #3: [55, 147] from Operation: 21*7=147
Current State: 92:[55, 147], Operations: ['18-11=7', '21*7=147']
Exploring Operation: 147-55=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[55, 21, 18, 11], Operations: []
Exploring Operation: 55-11=44, Resulting Numbers: [21, 18, 44]
Generated Node #0,0: 92:[21, 18, 44] Operation: 55-11=44
Exploring Operation: 55/11=5, Resulting Numbers: [21, 18, 5]
Generated Node #0,1: 92:[21, 18, 5] Operation: 55/11=5
Exploring Operation: 18-11=7, Resulting Numbers: [55, 21, 7]
Generated Node #0,2: 92:[55, 21, 7] Operation: 18-11=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[21, 18, 5], Operations: ['55/11=5']
Exploring Operation: 18*5=90, Resulting Numbers: [21, 90]
Generated Node #0,1,0: 92:[21, 90] Operation: 18*5=90
Exploring Operation: 18+5=23, Resulting Numbers: [21, 23]
Generated Node #0,1,1: 92:[21, 23] Operation: 18+5=23
Exploring Operation: 21-18=3, Resulting Numbers: [5, 3]
Generated Node #0,1,2: 92:[5, 3] Operation: 21-18=3
Moving to Node #0,1,1
Current State: 92:[21, 23], Operations: ['55/11=5', '18+5=23']
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 21*23=483, Resulting Numbers: [483]
483,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[5, 3], Operations: ['55/11=5', '21-18=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[21, 90], Operations: ['55/11=5', '18*5=90']
Exploring Operation: 90-21=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Exploring Operation: 21+90=111, Resulting Numbers: [111]
111,92 unequal: No Solution
Exploring Operation: 21*90=1890, Resulting Numbers: [1890]
1890,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[21, 18, 44], Operations: ['55-11=44']
Exploring Operation: 21-18=3, Resulting Numbers: [44, 3]
Generated Node #0,0,0: 92:[44, 3] Operation: 21-18=3
Exploring Operation: 44-21=23, Resulting Numbers: [18, 23]
Generated Node #0,0,1: 92:[18, 23] Operation: 44-21=23
Exploring Operation: 44-18=26, Resulting Numbers: [21, 26]
Generated Node #0,0,2: 92:[21, 26] Operation: 44-18=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[44, 3], Operations: ['55-11=44', '21-18=3']
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Exploring Operation: 44*3=132, Resulting Numbers: [132]
132,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, 23], Operations: ['55-11=44', '44-21=23']
Exploring Operation: 18+23=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Exploring Operation: 18*23=414, Resulting Numbers: [414]
414,92 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,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:[21, 26], Operations: ['55-11=44', '44-18=26']
Exploring Operation: 21+26=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,92 unequal: No Solution
Exploring Operation: 21*26=546, Resulting Numbers: [546]
546,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:[55, 21, 7], Operations: ['18-11=7']
Exploring Operation: 55-7=48, Resulting Numbers: [21, 48]
Generated Node #0,2,0: 92:[21, 48] Operation: 55-7=48
Exploring Operation: 21/7=3, Resulting Numbers: [55, 3]
Generated Node #0,2,1: 92:[55, 3] Operation: 21/7=3
Exploring Operation: 55-21=34, Resulting Numbers: [7, 34]
Generated Node #0,2,2: 92:[7, 34] Operation: 55-21=34
Moving to Node #0,2,0
Current State: 92:[21, 48], Operations: ['18-11=7', '55-7=48']
Exploring Operation: 21+48=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Exploring Operation: 21*48=1008, Resulting Numbers: [1008]
1008,92 unequal: No Solution
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[55, 3], Operations: ['18-11=7', '21/7=3']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,92 unequal: No Solution
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,92 unequal: No Solution
Exploring Operation: 55*3=165, Resulting Numbers: [165]
165,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[7, 34], Operations: ['18-11=7', '55-21=34']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,92 unequal: No Solution
Exploring Operation: 7+34=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Exploring Operation: 7*34=238, Resulting Numbers: [238]
238,92 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 |
[
8,
92,
42,
20
] | 51 | [
"92-20=72",
"72/8=9",
"42+9=51"
] | Current State: 51:[8, 92, 42, 20], Operations: []
Exploring Operation: 92-20=72, Resulting Numbers: [8, 42, 72]
Generated Node #2: [8, 42, 72] from Operation: 92-20=72
Current State: 51:[8, 42, 72], Operations: ['92-20=72']
Exploring Operation: 72/8=9, Resulting Numbers: [42, 9]
Generated Node #3: [42, 9] from Operation: 72/8=9
Current State: 51:[42, 9], Operations: ['92-20=72', '72/8=9']
Exploring Operation: 42+9=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[8, 92, 42, 20], Operations: []
Exploring Operation: 42-20=22, Resulting Numbers: [8, 92, 22]
Generated Node #0,0: 51:[8, 92, 22] Operation: 42-20=22
Exploring Operation: 92-20=72, Resulting Numbers: [8, 42, 72]
Generated Node #0,1: 51:[8, 42, 72] Operation: 92-20=72
Exploring Operation: 92-8=84, Resulting Numbers: [42, 20, 84]
Generated Node #0,2: 51:[42, 20, 84] Operation: 92-8=84
Exploring Operation: 8+42=50, Resulting Numbers: [92, 20, 50]
Generated Node #0,3: 51:[92, 20, 50] Operation: 8+42=50
Exploring Operation: 92-42=50, Resulting Numbers: [8, 20, 50]
Generated Node #0,4: 51:[8, 20, 50] Operation: 92-42=50
Start Sub Search at level 1: Moving to Node #0,4
Current State: 51:[8, 20, 50], Operations: ['92-42=50']
Exploring Operation: 20-8=12, Resulting Numbers: [50, 12]
Generated Node #0,4,0: 51:[50, 12] Operation: 20-8=12
Exploring Operation: 50-20=30, Resulting Numbers: [8, 30]
Generated Node #0,4,1: 51:[8, 30] Operation: 50-20=30
Exploring Operation: 8+50=58, Resulting Numbers: [20, 58]
Generated Node #0,4,2: 51:[20, 58] Operation: 8+50=58
Exploring Operation: 8+20=28, Resulting Numbers: [50, 28]
Generated Node #0,4,3: 51:[50, 28] Operation: 8+20=28
Exploring Operation: 50-8=42, Resulting Numbers: [20, 42]
Generated Node #0,4,4: 51:[20, 42] Operation: 50-8=42
Moving to Node #0,4,0
Current State: 51:[50, 12], Operations: ['92-42=50', '20-8=12']
Exploring Operation: 50*12=600, Resulting Numbers: [600]
600,51 unequal: No Solution
Exploring Operation: 50+12=62, Resulting Numbers: [62]
62,51 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,51 unequal: No Solution
Moving to Node #0,4,2
Current State: 51:[20, 58], Operations: ['92-42=50', '8+50=58']
Exploring Operation: 20+58=78, Resulting Numbers: [78]
78,51 unequal: No Solution
Exploring Operation: 20*58=1160, Resulting Numbers: [1160]
1160,51 unequal: No Solution
Exploring Operation: 58-20=38, Resulting Numbers: [38]
38,51 unequal: No Solution
Moving to Node #0,4,3
Current State: 51:[50, 28], Operations: ['92-42=50', '8+20=28']
Exploring Operation: 50+28=78, Resulting Numbers: [78]
78,51 unequal: No Solution
Exploring Operation: 50*28=1400, Resulting Numbers: [1400]
1400,51 unequal: No Solution
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Moving to Node #0,4,4
Current State: 51:[20, 42], Operations: ['92-42=50', '50-8=42']
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 20*42=840, Resulting Numbers: [840]
840,51 unequal: No Solution
Exploring Operation: 20+42=62, Resulting Numbers: [62]
62,51 unequal: No Solution
Moving to Node #0,4,1
Current State: 51:[8, 30], Operations: ['92-42=50', '50-20=30']
Exploring Operation: 8*30=240, Resulting Numbers: [240]
240,51 unequal: No Solution
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,51 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[8, 42, 72], Operations: ['92-20=72']
Exploring Operation: 42-8=34, Resulting Numbers: [72, 34]
Generated Node #0,1,0: 51:[72, 34] Operation: 42-8=34
Exploring Operation: 8+42=50, Resulting Numbers: [72, 50]
Generated Node #0,1,1: 51:[72, 50] Operation: 8+42=50
Exploring Operation: 72-42=30, Resulting Numbers: [8, 30]
Generated Node #0,1,2: 51:[8, 30] Operation: 72-42=30
Exploring Operation: 72-8=64, Resulting Numbers: [42, 64]
Generated Node #0,1,3: 51:[42, 64] Operation: 72-8=64
Exploring Operation: 72/8=9, Resulting Numbers: [42, 9]
Generated Node #0,1,4: 51:[42, 9] Operation: 72/8=9
Moving to Node #0,1,4
Current State: 51:[42, 9], Operations: ['92-20=72', '72/8=9']
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,51 unequal: No Solution
Exploring Operation: 42+9=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[8, 92, 42, 20], Operations: []
Exploring Operation: 92-20=72, Resulting Numbers: [8, 42, 72]
Generated Node #0,1: 51:[8, 42, 72] Operation: 92-20=72
Moving to Node #0,1
Current State: 51:[8, 42, 72], Operations: ['92-20=72']
Exploring Operation: 72/8=9, Resulting Numbers: [42, 9]
Generated Node #0,1,4: 51:[42, 9] Operation: 72/8=9
Moving to Node #0,1,4
Current State: 51:[42, 9], Operations: ['92-20=72', '72/8=9']
Exploring Operation: 42+9=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | sum_heuristic |
[
24,
18,
50,
36
] | 57 | [
"50*36=1800",
"1800/24=75",
"75-18=57"
] | Current State: 57:[24, 18, 50, 36], Operations: []
Exploring Operation: 50*36=1800, Resulting Numbers: [24, 18, 1800]
Generated Node #2: [24, 18, 1800] from Operation: 50*36=1800
Current State: 57:[24, 18, 1800], Operations: ['50*36=1800']
Exploring Operation: 1800/24=75, Resulting Numbers: [18, 75]
Generated Node #3: [18, 75] from Operation: 1800/24=75
Current State: 57:[18, 75], Operations: ['50*36=1800', '1800/24=75']
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[24, 18, 50, 36], Operations: []
Exploring Operation: 24+36=60, Resulting Numbers: [18, 50, 60]
Generated Node #0,0: 57:[18, 50, 60] Operation: 24+36=60
Exploring Operation: 50-36=14, Resulting Numbers: [24, 18, 14]
Generated Node #0,1: 57:[24, 18, 14] Operation: 50-36=14
Moving to Node #0,0
Current State: 57:[18, 50, 60], Operations: ['24+36=60']
Exploring Operation: 60-50=10, Resulting Numbers: [18, 10]
Generated Node #0,0,0: 57:[18, 10] Operation: 60-50=10
Exploring Operation: 18+50=68, Resulting Numbers: [60, 68]
Generated Node #0,0,1: 57:[60, 68] Operation: 18+50=68
Moving to Node #0,1
Current State: 57:[24, 18, 14], Operations: ['50-36=14']
Exploring Operation: 24-18=6, Resulting Numbers: [14, 6]
Generated Node #0,1,0: 57:[14, 6] Operation: 24-18=6
Exploring Operation: 18-14=4, Resulting Numbers: [24, 4]
Generated Node #0,1,1: 57:[24, 4] Operation: 18-14=4
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 57:[24, 4], Operations: ['50-36=14', '18-14=4']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,57 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 57:[14, 6], Operations: ['50-36=14', '24-18=6']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,57 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: 57:[18, 10], Operations: ['24+36=60', '60-50=10']
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[60, 68], Operations: ['24+36=60', '18+50=68']
Exploring Operation: 68-60=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 60+68=128, Resulting Numbers: [128]
128,57 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
43,
78,
49,
32
] | 40 | [
"43+78=121",
"49+32=81",
"121-81=40"
] | Current State: 40:[43, 78, 49, 32], Operations: []
Exploring Operation: 43+78=121, Resulting Numbers: [49, 32, 121]
Generated Node #2: [49, 32, 121] from Operation: 43+78=121
Current State: 40:[49, 32, 121], Operations: ['43+78=121']
Exploring Operation: 49+32=81, Resulting Numbers: [121, 81]
Generated Node #3: [121, 81] from Operation: 49+32=81
Current State: 40:[121, 81], Operations: ['43+78=121', '49+32=81']
Exploring Operation: 121-81=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[43, 78, 49, 32], Operations: []
Exploring Operation: 78-49=29, Resulting Numbers: [43, 32, 29]
Generated Node #0,0: 40:[43, 32, 29] Operation: 78-49=29
Exploring Operation: 78-43=35, Resulting Numbers: [49, 32, 35]
Generated Node #0,1: 40:[49, 32, 35] Operation: 78-43=35
Exploring Operation: 78-32=46, Resulting Numbers: [43, 49, 46]
Generated Node #0,2: 40:[43, 49, 46] Operation: 78-32=46
Exploring Operation: 49-32=17, Resulting Numbers: [43, 78, 17]
Generated Node #0,3: 40:[43, 78, 17] Operation: 49-32=17
Exploring Operation: 49-43=6, Resulting Numbers: [78, 32, 6]
Generated Node #0,4: 40:[78, 32, 6] Operation: 49-43=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 40:[43, 49, 46], Operations: ['78-32=46']
Exploring Operation: 43+46=89, Resulting Numbers: [49, 89]
Generated Node #0,2,0: 40:[49, 89] Operation: 43+46=89
Exploring Operation: 46-43=3, Resulting Numbers: [49, 3]
Generated Node #0,2,1: 40:[49, 3] Operation: 46-43=3
Exploring Operation: 43+49=92, Resulting Numbers: [46, 92]
Generated Node #0,2,2: 40:[46, 92] Operation: 43+49=92
Exploring Operation: 49-43=6, Resulting Numbers: [46, 6]
Generated Node #0,2,3: 40:[46, 6] Operation: 49-43=6
Exploring Operation: 49-46=3, Resulting Numbers: [43, 3]
Generated Node #0,2,4: 40:[43, 3] Operation: 49-46=3
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 40:[43, 3], Operations: ['78-32=46', '49-46=3']
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,40 unequal: No Solution
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,40 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[43, 78, 49, 32], Operations: []
Exploring Operation: 78-32=46, Resulting Numbers: [43, 49, 46]
Generated Node #0,2: 40:[43, 49, 46] Operation: 78-32=46
Moving to Node #0,2
Current State: 40:[43, 49, 46], Operations: ['78-32=46']
Exploring Operation: 49-46=3, Resulting Numbers: [43, 3]
Generated Node #0,2,4: 40:[43, 3] Operation: 49-46=3
Moving to Node #0,2,4
Current State: 40:[43, 3], Operations: ['78-32=46', '49-46=3']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
47,
41,
78,
30
] | 20 | [
"47+41=88",
"78+30=108",
"108-88=20"
] | Current State: 20:[47, 41, 78, 30], Operations: []
Exploring Operation: 47+41=88, Resulting Numbers: [78, 30, 88]
Generated Node #2: [78, 30, 88] from Operation: 47+41=88
Current State: 20:[78, 30, 88], Operations: ['47+41=88']
Exploring Operation: 78+30=108, Resulting Numbers: [88, 108]
Generated Node #3: [88, 108] from Operation: 78+30=108
Current State: 20:[88, 108], Operations: ['47+41=88', '78+30=108']
Exploring Operation: 108-88=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[47, 41, 78, 30], Operations: []
Exploring Operation: 47-41=6, Resulting Numbers: [78, 30, 6]
Generated Node #0,0: 20:[78, 30, 6] Operation: 47-41=6
Exploring Operation: 78-47=31, Resulting Numbers: [41, 30, 31]
Generated Node #0,1: 20:[41, 30, 31] Operation: 78-47=31
Exploring Operation: 78-41=37, Resulting Numbers: [47, 30, 37]
Generated Node #0,2: 20:[47, 30, 37] Operation: 78-41=37
Moving to Node #0,1
Current State: 20:[41, 30, 31], Operations: ['78-47=31']
Exploring Operation: 41-31=10, Resulting Numbers: [30, 10]
Generated Node #0,1,0: 20:[30, 10] Operation: 41-31=10
Exploring Operation: 41-30=11, Resulting Numbers: [31, 11]
Generated Node #0,1,1: 20:[31, 11] Operation: 41-30=11
Exploring Operation: 31-30=1, Resulting Numbers: [41, 1]
Generated Node #0,1,2: 20:[41, 1] Operation: 31-30=1
Moving to Node #0,2
Current State: 20:[47, 30, 37], Operations: ['78-41=37']
Exploring Operation: 47-30=17, Resulting Numbers: [37, 17]
Generated Node #0,2,0: 20:[37, 17] Operation: 47-30=17
Exploring Operation: 37-30=7, Resulting Numbers: [47, 7]
Generated Node #0,2,1: 20:[47, 7] Operation: 37-30=7
Exploring Operation: 47-37=10, Resulting Numbers: [30, 10]
Generated Node #0,2,2: 20:[30, 10] Operation: 47-37=10
Moving to Node #0,0
Current State: 20:[78, 30, 6], Operations: ['47-41=6']
Exploring Operation: 78-30=48, Resulting Numbers: [6, 48]
Generated Node #0,0,0: 20:[6, 48] Operation: 78-30=48
Exploring Operation: 78/6=13, Resulting Numbers: [30, 13]
Generated Node #0,0,1: 20:[30, 13] Operation: 78/6=13
Exploring Operation: 30/6=5, Resulting Numbers: [78, 5]
Generated Node #0,0,2: 20:[78, 5] Operation: 30/6=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[30, 13], Operations: ['47-41=6', '78/6=13']
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,20 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[6, 48], Operations: ['47-41=6', '78-30=48']
Exploring Operation: 6+48=54, Resulting Numbers: [54]
54,20 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,20 unequal: No Solution
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 20:[78, 5], Operations: ['47-41=6', '30/6=5']
Exploring Operation: 78+5=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 78-5=73, Resulting Numbers: [73]
73,20 unequal: No Solution
Exploring Operation: 78*5=390, Resulting Numbers: [390]
390,20 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: 20:[30, 10], Operations: ['78-47=31', '41-31=10']
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[47, 41, 78, 30], Operations: []
Exploring Operation: 78-47=31, Resulting Numbers: [41, 30, 31]
Generated Node #0,1: 20:[41, 30, 31] Operation: 78-47=31
Moving to Node #0,1
Current State: 20:[41, 30, 31], Operations: ['78-47=31']
Exploring Operation: 41-31=10, Resulting Numbers: [30, 10]
Generated Node #0,1,0: 20:[30, 10] Operation: 41-31=10
Moving to Node #0,1,0
Current State: 20:[30, 10], Operations: ['78-47=31', '41-31=10']
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.976563 | hs_3 | sum_heuristic |
[
29,
42,
77,
12
] | 52 | [
"42-29=13",
"77-12=65",
"65-13=52"
] | Current State: 52:[29, 42, 77, 12], Operations: []
Exploring Operation: 42-29=13, Resulting Numbers: [77, 12, 13]
Generated Node #2: [77, 12, 13] from Operation: 42-29=13
Current State: 52:[77, 12, 13], Operations: ['42-29=13']
Exploring Operation: 77-12=65, Resulting Numbers: [13, 65]
Generated Node #3: [13, 65] from Operation: 77-12=65
Current State: 52:[13, 65], Operations: ['42-29=13', '77-12=65']
Exploring Operation: 65-13=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[29, 42, 77, 12], Operations: []
Exploring Operation: 42+12=54, Resulting Numbers: [29, 77, 54]
Generated Node #0,0: 52:[29, 77, 54] Operation: 42+12=54
Exploring Operation: 77-29=48, Resulting Numbers: [42, 12, 48]
Generated Node #0,1: 52:[42, 12, 48] Operation: 77-29=48
Exploring Operation: 77-42=35, Resulting Numbers: [29, 12, 35]
Generated Node #0,2: 52:[29, 12, 35] Operation: 77-42=35
Exploring Operation: 42-29=13, Resulting Numbers: [77, 12, 13]
Generated Node #0,3: 52:[77, 12, 13] Operation: 42-29=13
Exploring Operation: 77-12=65, Resulting Numbers: [29, 42, 65]
Generated Node #0,4: 52:[29, 42, 65] Operation: 77-12=65
Moving to Node #0,2
Current State: 52:[29, 12, 35], Operations: ['77-42=35']
Exploring Operation: 29+35=64, Resulting Numbers: [12, 64]
Generated Node #0,2,0: 52:[12, 64] Operation: 29+35=64
Exploring Operation: 29-12=17, Resulting Numbers: [35, 17]
Generated Node #0,2,1: 52:[35, 17] Operation: 29-12=17
Exploring Operation: 35-12=23, Resulting Numbers: [29, 23]
Generated Node #0,2,2: 52:[29, 23] Operation: 35-12=23
Exploring Operation: 12+35=47, Resulting Numbers: [29, 47]
Generated Node #0,2,3: 52:[29, 47] Operation: 12+35=47
Exploring Operation: 35-29=6, Resulting Numbers: [12, 6]
Generated Node #0,2,4: 52:[12, 6] Operation: 35-29=6
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 52:[12, 6], Operations: ['77-42=35', '35-29=6']
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,52 unequal: No Solution
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,52 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 52:[29, 23], Operations: ['77-42=35', '35-12=23']
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 29*23=667, Resulting Numbers: [667]
667,52 unequal: No Solution
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[29, 42, 77, 12], Operations: []
Exploring Operation: 77-42=35, Resulting Numbers: [29, 12, 35]
Generated Node #0,2: 52:[29, 12, 35] Operation: 77-42=35
Moving to Node #0,2
Current State: 52:[29, 12, 35], Operations: ['77-42=35']
Exploring Operation: 35-12=23, Resulting Numbers: [29, 23]
Generated Node #0,2,2: 52:[29, 23] Operation: 35-12=23
Moving to Node #0,2,2
Current State: 52:[29, 23], Operations: ['77-42=35', '35-12=23']
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
39,
13,
96,
14
] | 84 | [
"39-13=26",
"96+14=110",
"110-26=84"
] | Current State: 84:[39, 13, 96, 14], Operations: []
Exploring Operation: 39-13=26, Resulting Numbers: [96, 14, 26]
Generated Node #2: [96, 14, 26] from Operation: 39-13=26
Current State: 84:[96, 14, 26], Operations: ['39-13=26']
Exploring Operation: 96+14=110, Resulting Numbers: [26, 110]
Generated Node #3: [26, 110] from Operation: 96+14=110
Current State: 84:[26, 110], Operations: ['39-13=26', '96+14=110']
Exploring Operation: 110-26=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[39, 13, 96, 14], Operations: []
Exploring Operation: 96-13=83, Resulting Numbers: [39, 14, 83]
Generated Node #0,0: 84:[39, 14, 83] Operation: 96-13=83
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[39, 14, 83], Operations: ['96-13=83']
Exploring Operation: 83-39=44, Resulting Numbers: [14, 44]
Generated Node #0,0,0: 84:[14, 44] Operation: 83-39=44
Moving to Node #0,0,0
Current State: 84:[14, 44], Operations: ['96-13=83', '83-39=44']
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,84 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 |
[
30,
2,
40,
48
] | 68 | [
"30*2=60",
"48-40=8",
"60+8=68"
] | Current State: 68:[30, 2, 40, 48], Operations: []
Exploring Operation: 30*2=60, Resulting Numbers: [40, 48, 60]
Generated Node #2: [40, 48, 60] from Operation: 30*2=60
Current State: 68:[40, 48, 60], Operations: ['30*2=60']
Exploring Operation: 48-40=8, Resulting Numbers: [60, 8]
Generated Node #3: [60, 8] from Operation: 48-40=8
Current State: 68:[60, 8], Operations: ['30*2=60', '48-40=8']
Exploring Operation: 60+8=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[30, 2, 40, 48], Operations: []
Exploring Operation: 48-30=18, Resulting Numbers: [2, 40, 18]
Generated Node #0,0: 68:[2, 40, 18] Operation: 48-30=18
Exploring Operation: 30+40=70, Resulting Numbers: [2, 48, 70]
Generated Node #0,1: 68:[2, 48, 70] Operation: 30+40=70
Exploring Operation: 48-40=8, Resulting Numbers: [30, 2, 8]
Generated Node #0,2: 68:[30, 2, 8] Operation: 48-40=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[2, 40, 18], Operations: ['48-30=18']
Exploring Operation: 40-2=38, Resulting Numbers: [18, 38]
Generated Node #0,0,0: 68:[18, 38] Operation: 40-2=38
Exploring Operation: 40-18=22, Resulting Numbers: [2, 22]
Generated Node #0,0,1: 68:[2, 22] Operation: 40-18=22
Exploring Operation: 40/2=20, Resulting Numbers: [18, 20]
Generated Node #0,0,2: 68:[18, 20] Operation: 40/2=20
Moving to Node #0,0,2
Current State: 68:[18, 20], Operations: ['48-30=18', '40/2=20']
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,68 unequal: No Solution
Exploring Operation: 18*20=360, Resulting Numbers: [360]
360,68 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[18, 38], Operations: ['48-30=18', '40-2=38']
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 18+38=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 18*38=684, Resulting Numbers: [684]
684,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[2, 22], Operations: ['48-30=18', '40-18=22']
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,68 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,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
Current State: 68:[30, 2, 8], Operations: ['48-40=8']
Exploring Operation: 30-8=22, Resulting Numbers: [2, 22]
Generated Node #0,2,0: 68:[2, 22] Operation: 30-8=22
Exploring Operation: 30+8=38, Resulting Numbers: [2, 38]
Generated Node #0,2,1: 68:[2, 38] Operation: 30+8=38
Exploring Operation: 8/2=4, Resulting Numbers: [30, 4]
Generated Node #0,2,2: 68:[30, 4] Operation: 8/2=4
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 68:[2, 38], Operations: ['48-40=8', '30+8=38']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,68 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,68 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,68 unequal: No Solution
No 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: 68:[30, 4], Operations: ['48-40=8', '8/2=4']
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,68 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,68 unequal: No Solution
No 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: 68:[2, 22], Operations: ['48-40=8', '30-8=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,68 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[2, 48, 70], Operations: ['30+40=70']
Exploring Operation: 70-48=22, Resulting Numbers: [2, 22]
Generated Node #0,1,0: 68:[2, 22] Operation: 70-48=22
Exploring Operation: 48-2=46, Resulting Numbers: [70, 46]
Generated Node #0,1,1: 68:[70, 46] Operation: 48-2=46
Exploring Operation: 48/2=24, Resulting Numbers: [70, 24]
Generated Node #0,1,2: 68:[70, 24] Operation: 48/2=24
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 68:[2, 22], Operations: ['30+40=70', '70-48=22']
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,68 unequal: No Solution
No 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: 68:[70, 24], Operations: ['30+40=70', '48/2=24']
Exploring Operation: 70*24=1680, Resulting Numbers: [1680]
1680,68 unequal: No Solution
Exploring Operation: 70+24=94, Resulting Numbers: [94]
94,68 unequal: No Solution
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,68 unequal: No Solution
No 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: 68:[70, 46], Operations: ['30+40=70', '48-2=46']
Exploring Operation: 70*46=3220, Resulting Numbers: [3220]
3220,68 unequal: No Solution
Exploring Operation: 70-46=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Exploring Operation: 70+46=116, Resulting Numbers: [116]
116,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
11,
17,
49,
66
] | 53 | [
"66/11=6",
"17*6=102",
"102-49=53"
] | Current State: 53:[11, 17, 49, 66], Operations: []
Exploring Operation: 66/11=6, Resulting Numbers: [17, 49, 6]
Generated Node #2: [17, 49, 6] from Operation: 66/11=6
Current State: 53:[17, 49, 6], Operations: ['66/11=6']
Exploring Operation: 17*6=102, Resulting Numbers: [49, 102]
Generated Node #3: [49, 102] from Operation: 17*6=102
Current State: 53:[49, 102], Operations: ['66/11=6', '17*6=102']
Exploring Operation: 102-49=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[11, 17, 49, 66], Operations: []
Exploring Operation: 11+17=28, Resulting Numbers: [49, 66, 28]
Generated Node #0,0: 53:[49, 66, 28] Operation: 11+17=28
Moving to Node #0,0
Current State: 53:[49, 66, 28], Operations: ['11+17=28']
Exploring Operation: 66-28=38, Resulting Numbers: [49, 38]
Generated Node #0,0,0: 53:[49, 38] Operation: 66-28=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[49, 38], Operations: ['11+17=28', '66-28=38']
Exploring Operation: 49+38=87, Resulting Numbers: [87]
87,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
16,
12,
7,
3
] | 53 | [
"16*3=48",
"12-7=5",
"48+5=53"
] | Current State: 53:[16, 12, 7, 3], Operations: []
Exploring Operation: 16*3=48, Resulting Numbers: [12, 7, 48]
Generated Node #2: [12, 7, 48] from Operation: 16*3=48
Current State: 53:[12, 7, 48], Operations: ['16*3=48']
Exploring Operation: 12-7=5, Resulting Numbers: [48, 5]
Generated Node #3: [48, 5] from Operation: 12-7=5
Current State: 53:[48, 5], Operations: ['16*3=48', '12-7=5']
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[16, 12, 7, 3], Operations: []
Exploring Operation: 12*3=36, Resulting Numbers: [16, 7, 36]
Generated Node #0,0: 53:[16, 7, 36] Operation: 12*3=36
Exploring Operation: 7*3=21, Resulting Numbers: [16, 12, 21]
Generated Node #0,1: 53:[16, 12, 21] Operation: 7*3=21
Exploring Operation: 16*3=48, Resulting Numbers: [12, 7, 48]
Generated Node #0,2: 53:[12, 7, 48] Operation: 16*3=48
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[12, 7, 48], Operations: ['16*3=48']
Exploring Operation: 7+48=55, Resulting Numbers: [12, 55]
Generated Node #0,2,0: 53:[12, 55] Operation: 7+48=55
Exploring Operation: 12+7=19, Resulting Numbers: [48, 19]
Generated Node #0,2,1: 53:[48, 19] Operation: 12+7=19
Exploring Operation: 12*7=84, Resulting Numbers: [48, 84]
Generated Node #0,2,2: 53:[48, 84] Operation: 12*7=84
Moving to Node #0,2,2
Current State: 53:[48, 84], Operations: ['16*3=48', '12*7=84']
Exploring Operation: 84-48=36, Resulting Numbers: [36]
36,53 unequal: No Solution
Exploring Operation: 48+84=132, Resulting Numbers: [132]
132,53 unequal: No Solution
Exploring Operation: 48*84=4032, Resulting Numbers: [4032]
4032,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[48, 19], Operations: ['16*3=48', '12+7=19']
Exploring Operation: 48+19=67, Resulting Numbers: [67]
67,53 unequal: No Solution
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,53 unequal: No Solution
Exploring Operation: 48*19=912, Resulting Numbers: [912]
912,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[12, 55], Operations: ['16*3=48', '7+48=55']
Exploring Operation: 12+55=67, Resulting Numbers: [67]
67,53 unequal: No Solution
Exploring Operation: 12*55=660, Resulting Numbers: [660]
660,53 unequal: No Solution
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[16, 7, 36], Operations: ['12*3=36']
Exploring Operation: 16+7=23, Resulting Numbers: [36, 23]
Generated Node #0,0,0: 53:[36, 23] Operation: 16+7=23
Exploring Operation: 7+36=43, Resulting Numbers: [16, 43]
Generated Node #0,0,1: 53:[16, 43] Operation: 7+36=43
Exploring Operation: 16+36=52, Resulting Numbers: [7, 52]
Generated Node #0,0,2: 53:[7, 52] Operation: 16+36=52
Moving to Node #0,0,0
Current State: 53:[36, 23], Operations: ['12*3=36', '16+7=23']
Exploring Operation: 36*23=828, Resulting Numbers: [828]
828,53 unequal: No Solution
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,53 unequal: No Solution
Exploring Operation: 36+23=59, Resulting Numbers: [59]
59,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[16, 43], Operations: ['12*3=36', '7+36=43']
Exploring Operation: 43-16=27, Resulting Numbers: [27]
27,53 unequal: No Solution
Exploring Operation: 16+43=59, Resulting Numbers: [59]
59,53 unequal: No Solution
Exploring Operation: 16*43=688, Resulting Numbers: [688]
688,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[7, 52], Operations: ['12*3=36', '16+36=52']
Exploring Operation: 7+52=59, Resulting Numbers: [59]
59,53 unequal: No Solution
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,53 unequal: No Solution
Exploring Operation: 7*52=364, Resulting Numbers: [364]
364,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[16, 12, 21], Operations: ['7*3=21']
Exploring Operation: 16+12=28, Resulting Numbers: [21, 28]
Generated Node #0,1,0: 53:[21, 28] Operation: 16+12=28
Exploring Operation: 16+21=37, Resulting Numbers: [12, 37]
Generated Node #0,1,1: 53:[12, 37] Operation: 16+21=37
Exploring Operation: 12+21=33, Resulting Numbers: [16, 33]
Generated Node #0,1,2: 53:[16, 33] Operation: 12+21=33
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[21, 28], Operations: ['7*3=21', '16+12=28']
Exploring Operation: 21+28=49, Resulting Numbers: [49]
49,53 unequal: No Solution
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,53 unequal: No Solution
Exploring Operation: 21*28=588, Resulting Numbers: [588]
588,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 53:[12, 37], Operations: ['7*3=21', '16+21=37']
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,53 unequal: No Solution
Exploring Operation: 12*37=444, Resulting Numbers: [444]
444,53 unequal: No Solution
Exploring Operation: 12+37=49, Resulting Numbers: [49]
49,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 53:[16, 33], Operations: ['7*3=21', '12+21=33']
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 16+33=49, Resulting Numbers: [49]
49,53 unequal: No Solution
Exploring Operation: 16*33=528, Resulting Numbers: [528]
528,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
2,
84,
75,
32
] | 49 | [
"84-32=52",
"52/2=26",
"75-26=49"
] | Current State: 49:[2, 84, 75, 32], Operations: []
Exploring Operation: 84-32=52, Resulting Numbers: [2, 75, 52]
Generated Node #2: [2, 75, 52] from Operation: 84-32=52
Current State: 49:[2, 75, 52], Operations: ['84-32=52']
Exploring Operation: 52/2=26, Resulting Numbers: [75, 26]
Generated Node #3: [75, 26] from Operation: 52/2=26
Current State: 49:[75, 26], Operations: ['84-32=52', '52/2=26']
Exploring Operation: 75-26=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[2, 84, 75, 32], Operations: []
Exploring Operation: 84/2=42, Resulting Numbers: [75, 32, 42]
Generated Node #0,0: 49:[75, 32, 42] Operation: 84/2=42
Exploring Operation: 75-32=43, Resulting Numbers: [2, 84, 43]
Generated Node #0,1: 49:[2, 84, 43] Operation: 75-32=43
Exploring Operation: 84-75=9, Resulting Numbers: [2, 32, 9]
Generated Node #0,2: 49:[2, 32, 9] Operation: 84-75=9
Exploring Operation: 84-32=52, Resulting Numbers: [2, 75, 52]
Generated Node #0,3: 49:[2, 75, 52] Operation: 84-32=52
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[2, 32, 9], Operations: ['84-75=9']
Exploring Operation: 32/2=16, Resulting Numbers: [9, 16]
Generated Node #0,2,0: 49:[9, 16] Operation: 32/2=16
Exploring Operation: 2+32=34, Resulting Numbers: [9, 34]
Generated Node #0,2,1: 49:[9, 34] Operation: 2+32=34
Exploring Operation: 2*32=64, Resulting Numbers: [9, 64]
Generated Node #0,2,2: 49:[9, 64] Operation: 2*32=64
Exploring Operation: 32+9=41, Resulting Numbers: [2, 41]
Generated Node #0,2,3: 49:[2, 41] Operation: 32+9=41
Moving to Node #0,2,0
Current State: 49:[9, 16], Operations: ['84-75=9', '32/2=16']
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,49 unequal: No Solution
Moving to Node #0,2,3
Current State: 49:[2, 41], Operations: ['84-75=9', '32+9=41']
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,49 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[9, 64], Operations: ['84-75=9', '2*32=64']
Exploring Operation: 9*64=576, Resulting Numbers: [576]
576,49 unequal: No Solution
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,49 unequal: No Solution
Exploring Operation: 9+64=73, Resulting Numbers: [73]
73,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[9, 34], Operations: ['84-75=9', '2+32=34']
Exploring Operation: 9*34=306, Resulting Numbers: [306]
306,49 unequal: No Solution
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 49:[2, 75, 52], Operations: ['84-32=52']
Exploring Operation: 52-2=50, Resulting Numbers: [75, 50]
Generated Node #0,3,0: 49:[75, 50] Operation: 52-2=50
Exploring Operation: 75-52=23, Resulting Numbers: [2, 23]
Generated Node #0,3,1: 49:[2, 23] Operation: 75-52=23
Exploring Operation: 2+75=77, Resulting Numbers: [52, 77]
Generated Node #0,3,2: 49:[52, 77] Operation: 2+75=77
Exploring Operation: 75-2=73, Resulting Numbers: [52, 73]
Generated Node #0,3,3: 49:[52, 73] Operation: 75-2=73
Moving to Node #0,3,1
Current State: 49:[2, 23], Operations: ['84-32=52', '75-52=23']
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,49 unequal: No Solution
Moving to Node #0,3,3
Current State: 49:[52, 73], Operations: ['84-32=52', '75-2=73']
Exploring Operation: 73-52=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 52+73=125, Resulting Numbers: [125]
125,49 unequal: No Solution
Exploring Operation: 52*73=3796, Resulting Numbers: [3796]
3796,49 unequal: No Solution
Moving to Node #0,3,0
Current State: 49:[75, 50], Operations: ['84-32=52', '52-2=50']
Exploring Operation: 75+50=125, Resulting Numbers: [125]
125,49 unequal: No Solution
Exploring Operation: 75*50=3750, Resulting Numbers: [3750]
3750,49 unequal: No Solution
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Moving to Node #0,3,2
Current State: 49:[52, 77], Operations: ['84-32=52', '2+75=77']
Exploring Operation: 52*77=4004, Resulting Numbers: [4004]
4004,49 unequal: No Solution
Exploring Operation: 77-52=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 52+77=129, Resulting Numbers: [129]
129,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,1
Current State: 49:[2, 84, 43], Operations: ['75-32=43']
Exploring Operation: 84-2=82, Resulting Numbers: [43, 82]
Generated Node #0,1,0: 49:[43, 82] Operation: 84-2=82
Exploring Operation: 84-43=41, Resulting Numbers: [2, 41]
Generated Node #0,1,1: 49:[2, 41] Operation: 84-43=41
Exploring Operation: 2+43=45, Resulting Numbers: [84, 45]
Generated Node #0,1,2: 49:[84, 45] Operation: 2+43=45
Exploring Operation: 84/2=42, Resulting Numbers: [43, 42]
Generated Node #0,1,3: 49:[43, 42] Operation: 84/2=42
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 49:[2, 41], Operations: ['75-32=43', '84-43=41']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 49:[43, 42], Operations: ['75-32=43', '84/2=42']
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 43+42=85, Resulting Numbers: [85]
85,49 unequal: No Solution
Exploring Operation: 43*42=1806, Resulting Numbers: [1806]
1806,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:[43, 82], Operations: ['75-32=43', '84-2=82']
Exploring Operation: 43+82=125, Resulting Numbers: [125]
125,49 unequal: No Solution
Exploring Operation: 82-43=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 43*82=3526, Resulting Numbers: [3526]
3526,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,2
Current State: 49:[84, 45], Operations: ['75-32=43', '2+43=45']
Exploring Operation: 84-45=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 84+45=129, Resulting Numbers: [129]
129,49 unequal: No Solution
Exploring Operation: 84*45=3780, Resulting Numbers: [3780]
3780,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[75, 32, 42], Operations: ['84/2=42']
Exploring Operation: 32+42=74, Resulting Numbers: [75, 74]
Generated Node #0,0,0: 49:[75, 74] Operation: 32+42=74
Exploring Operation: 75-42=33, Resulting Numbers: [32, 33]
Generated Node #0,0,1: 49:[32, 33] Operation: 75-42=33
Exploring Operation: 75-32=43, Resulting Numbers: [42, 43]
Generated Node #0,0,2: 49:[42, 43] Operation: 75-32=43
Exploring Operation: 42-32=10, Resulting Numbers: [75, 10]
Generated Node #0,0,3: 49:[75, 10] Operation: 42-32=10
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 49:[42, 43], Operations: ['84/2=42', '75-32=43']
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 42+43=85, Resulting Numbers: [85]
85,49 unequal: No Solution
Exploring Operation: 42*43=1806, Resulting Numbers: [1806]
1806,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,3
Current State: 49:[75, 10], Operations: ['84/2=42', '42-32=10']
Exploring Operation: 75-10=65, Resulting Numbers: [65]
65,49 unequal: No Solution
Exploring Operation: 75*10=750, Resulting Numbers: [750]
750,49 unequal: No Solution
Exploring Operation: 75+10=85, Resulting Numbers: [85]
85,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:[32, 33], Operations: ['84/2=42', '75-42=33']
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 32+33=65, Resulting Numbers: [65]
65,49 unequal: No Solution
Exploring Operation: 32*33=1056, Resulting Numbers: [1056]
1056,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,0
Current State: 49:[75, 74], Operations: ['84/2=42', '32+42=74']
Exploring Operation: 75-74=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 75*74=5550, Resulting Numbers: [5550]
5550,49 unequal: No Solution
Exploring Operation: 75+74=149, Resulting Numbers: [149]
149,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_4 | mult_heuristic |
[
63,
14,
80,
51
] | 54 | [
"63+14=77",
"80+51=131",
"131-77=54"
] | Current State: 54:[63, 14, 80, 51], Operations: []
Exploring Operation: 63+14=77, Resulting Numbers: [80, 51, 77]
Generated Node #2: [80, 51, 77] from Operation: 63+14=77
Current State: 54:[80, 51, 77], Operations: ['63+14=77']
Exploring Operation: 80+51=131, Resulting Numbers: [77, 131]
Generated Node #3: [77, 131] from Operation: 80+51=131
Current State: 54:[77, 131], Operations: ['63+14=77', '80+51=131']
Exploring Operation: 131-77=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[63, 14, 80, 51], Operations: []
Exploring Operation: 80-51=29, Resulting Numbers: [63, 14, 29]
Generated Node #0,0: 54:[63, 14, 29] Operation: 80-51=29
Exploring Operation: 63-51=12, Resulting Numbers: [14, 80, 12]
Generated Node #0,1: 54:[14, 80, 12] Operation: 63-51=12
Exploring Operation: 80-63=17, Resulting Numbers: [14, 51, 17]
Generated Node #0,2: 54:[14, 51, 17] Operation: 80-63=17
Exploring Operation: 80-14=66, Resulting Numbers: [63, 51, 66]
Generated Node #0,3: 54:[63, 51, 66] Operation: 80-14=66
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[14, 51, 17], Operations: ['80-63=17']
Exploring Operation: 51/17=3, Resulting Numbers: [14, 3]
Generated Node #0,2,0: 54:[14, 3] Operation: 51/17=3
Exploring Operation: 14+17=31, Resulting Numbers: [51, 31]
Generated Node #0,2,1: 54:[51, 31] Operation: 14+17=31
Exploring Operation: 17-14=3, Resulting Numbers: [51, 3]
Generated Node #0,2,2: 54:[51, 3] Operation: 17-14=3
Exploring Operation: 51-14=37, Resulting Numbers: [17, 37]
Generated Node #0,2,3: 54:[17, 37] Operation: 51-14=37
Moving to Node #0,2,2
Current State: 54:[51, 3], Operations: ['80-63=17', '17-14=3']
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,54 unequal: No Solution
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[63, 14, 80, 51], Operations: []
Exploring Operation: 80-63=17, Resulting Numbers: [14, 51, 17]
Generated Node #0,2: 54:[14, 51, 17] Operation: 80-63=17
Moving to Node #0,2
Current State: 54:[14, 51, 17], Operations: ['80-63=17']
Exploring Operation: 17-14=3, Resulting Numbers: [51, 3]
Generated Node #0,2,2: 54:[51, 3] Operation: 17-14=3
Moving to Node #0,2,2
Current State: 54:[51, 3], Operations: ['80-63=17', '17-14=3']
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
63,
63,
57,
38
] | 95 | [
"63-63=0",
"57+38=95",
"0+95=95"
] | Current State: 95:[63, 63, 57, 38], Operations: []
Exploring Operation: 63-63=0, Resulting Numbers: [57, 38, 0]
Generated Node #2: [57, 38, 0] from Operation: 63-63=0
Current State: 95:[57, 38, 0], Operations: ['63-63=0']
Exploring Operation: 57+38=95, Resulting Numbers: [0, 95]
Generated Node #3: [0, 95] from Operation: 57+38=95
Current State: 95:[0, 95], Operations: ['63-63=0', '57+38=95']
Exploring Operation: 0+95=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[63, 63, 57, 38], Operations: []
Exploring Operation: 63-57=6, Resulting Numbers: [63, 38, 6]
Generated Node #0,0: 95:[63, 38, 6] Operation: 63-57=6
Exploring Operation: 63-63=0, Resulting Numbers: [57, 38, 0]
Generated Node #0,1: 95:[57, 38, 0] Operation: 63-63=0
Exploring Operation: 63-57=6, Resulting Numbers: [63, 38, 6]
Generated Node #0,2: 95:[63, 38, 6] Operation: 63-57=6
Exploring Operation: 63/63=1, Resulting Numbers: [57, 38, 1]
Generated Node #0,3: 95:[57, 38, 1] Operation: 63/63=1
Exploring Operation: 57+38=95, Resulting Numbers: [63, 63, 95]
Generated Node #0,4: 95:[63, 63, 95] Operation: 57+38=95
Moving to Node #0,0
Current State: 95:[63, 38, 6], Operations: ['63-57=6']
Exploring Operation: 38-6=32, Resulting Numbers: [63, 32]
Generated Node #0,0,0: 95:[63, 32] Operation: 38-6=32
Exploring Operation: 63+38=101, Resulting Numbers: [6, 101]
Generated Node #0,0,1: 95:[6, 101] Operation: 63+38=101
Exploring Operation: 63+6=69, Resulting Numbers: [38, 69]
Generated Node #0,0,2: 95:[38, 69] Operation: 63+6=69
Exploring Operation: 63-38=25, Resulting Numbers: [6, 25]
Generated Node #0,0,3: 95:[6, 25] Operation: 63-38=25
Exploring Operation: 63-6=57, Resulting Numbers: [38, 57]
Generated Node #0,0,4: 95:[38, 57] Operation: 63-6=57
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 95:[6, 101], Operations: ['63-57=6', '63+38=101']
Exploring Operation: 101-6=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[63, 63, 57, 38], Operations: []
Exploring Operation: 63-57=6, Resulting Numbers: [63, 38, 6]
Generated Node #0,0: 95:[63, 38, 6] Operation: 63-57=6
Moving to Node #0,0
Current State: 95:[63, 38, 6], Operations: ['63-57=6']
Exploring Operation: 63+38=101, Resulting Numbers: [6, 101]
Generated Node #0,0,1: 95:[6, 101] Operation: 63+38=101
Moving to Node #0,0,1
Current State: 95:[6, 101], Operations: ['63-57=6', '63+38=101']
Exploring Operation: 101-6=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
66,
27,
1,
43
] | 81 | [
"66-27=39",
"43-1=42",
"39+42=81"
] | Current State: 81:[66, 27, 1, 43], Operations: []
Exploring Operation: 66-27=39, Resulting Numbers: [1, 43, 39]
Generated Node #2: [1, 43, 39] from Operation: 66-27=39
Current State: 81:[1, 43, 39], Operations: ['66-27=39']
Exploring Operation: 43-1=42, Resulting Numbers: [39, 42]
Generated Node #3: [39, 42] from Operation: 43-1=42
Current State: 81:[39, 42], Operations: ['66-27=39', '43-1=42']
Exploring Operation: 39+42=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[66, 27, 1, 43], Operations: []
Exploring Operation: 43-27=16, Resulting Numbers: [66, 1, 16]
Generated Node #0,0: 81:[66, 1, 16] Operation: 43-27=16
Exploring Operation: 66-43=23, Resulting Numbers: [27, 1, 23]
Generated Node #0,1: 81:[27, 1, 23] Operation: 66-43=23
Exploring Operation: 66-27=39, Resulting Numbers: [1, 43, 39]
Generated Node #0,2: 81:[1, 43, 39] Operation: 66-27=39
Exploring Operation: 66+27=93, Resulting Numbers: [1, 43, 93]
Generated Node #0,3: 81:[1, 43, 93] Operation: 66+27=93
Exploring Operation: 27+43=70, Resulting Numbers: [66, 1, 70]
Generated Node #0,4: 81:[66, 1, 70] Operation: 27+43=70
Moving to Node #0,1
Current State: 81:[27, 1, 23], Operations: ['66-43=23']
Exploring Operation: 1+23=24, Resulting Numbers: [27, 24]
Generated Node #0,1,0: 81:[27, 24] Operation: 1+23=24
Exploring Operation: 27*1=27, Resulting Numbers: [23, 27]
Generated Node #0,1,1: 81:[23, 27] Operation: 27*1=27
Exploring Operation: 27/1=27, Resulting Numbers: [23, 27]
Generated Node #0,1,2: 81:[23, 27] Operation: 27/1=27
Exploring Operation: 1*23=23, Resulting Numbers: [27, 23]
Generated Node #0,1,3: 81:[27, 23] Operation: 1*23=23
Exploring Operation: 27-23=4, Resulting Numbers: [1, 4]
Generated Node #0,1,4: 81:[1, 4] Operation: 27-23=4
Moving to Node #0,0
Current State: 81:[66, 1, 16], Operations: ['43-27=16']
Exploring Operation: 16-1=15, Resulting Numbers: [66, 15]
Generated Node #0,0,0: 81:[66, 15] Operation: 16-1=15
Exploring Operation: 66+16=82, Resulting Numbers: [1, 82]
Generated Node #0,0,1: 81:[1, 82] Operation: 66+16=82
Exploring Operation: 66/1=66, Resulting Numbers: [16, 66]
Generated Node #0,0,2: 81:[16, 66] Operation: 66/1=66
Exploring Operation: 66*1=66, Resulting Numbers: [16, 66]
Generated Node #0,0,3: 81:[16, 66] Operation: 66*1=66
Exploring Operation: 66+1=67, Resulting Numbers: [16, 67]
Generated Node #0,0,4: 81:[16, 67] Operation: 66+1=67
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[1, 82], Operations: ['43-27=16', '66+16=82']
Exploring Operation: 1+82=83, Resulting Numbers: [83]
83,81 unequal: No Solution
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,81 unequal: No Solution
Exploring Operation: 1*82=82, Resulting Numbers: [82]
82,81 unequal: No Solution
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[66, 27, 1, 43], Operations: []
Exploring Operation: 43-27=16, Resulting Numbers: [66, 1, 16]
Generated Node #0,0: 81:[66, 1, 16] Operation: 43-27=16
Moving to Node #0,0
Current State: 81:[66, 1, 16], Operations: ['43-27=16']
Exploring Operation: 66+16=82, Resulting Numbers: [1, 82]
Generated Node #0,0,1: 81:[1, 82] Operation: 66+16=82
Moving to Node #0,0,1
Current State: 81:[1, 82], Operations: ['43-27=16', '66+16=82']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
8,
90,
2,
63
] | 43 | [
"8*2=16",
"90-63=27",
"16+27=43"
] | Current State: 43:[8, 90, 2, 63], Operations: []
Exploring Operation: 8*2=16, Resulting Numbers: [90, 63, 16]
Generated Node #2: [90, 63, 16] from Operation: 8*2=16
Current State: 43:[90, 63, 16], Operations: ['8*2=16']
Exploring Operation: 90-63=27, Resulting Numbers: [16, 27]
Generated Node #3: [16, 27] from Operation: 90-63=27
Current State: 43:[16, 27], Operations: ['8*2=16', '90-63=27']
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[8, 90, 2, 63], Operations: []
Exploring Operation: 90-63=27, Resulting Numbers: [8, 2, 27]
Generated Node #0,0: 43:[8, 2, 27] Operation: 90-63=27
Exploring Operation: 90/2=45, Resulting Numbers: [8, 63, 45]
Generated Node #0,1: 43:[8, 63, 45] Operation: 90/2=45
Exploring Operation: 8*2=16, Resulting Numbers: [90, 63, 16]
Generated Node #0,2: 43:[90, 63, 16] Operation: 8*2=16
Exploring Operation: 90-8=82, Resulting Numbers: [2, 63, 82]
Generated Node #0,3: 43:[2, 63, 82] Operation: 90-8=82
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[8, 63, 45], Operations: ['90/2=45']
Exploring Operation: 63-8=55, Resulting Numbers: [45, 55]
Generated Node #0,1,0: 43:[45, 55] Operation: 63-8=55
Exploring Operation: 45-8=37, Resulting Numbers: [63, 37]
Generated Node #0,1,1: 43:[63, 37] Operation: 45-8=37
Exploring Operation: 8+63=71, Resulting Numbers: [45, 71]
Generated Node #0,1,2: 43:[45, 71] Operation: 8+63=71
Exploring Operation: 8+45=53, Resulting Numbers: [63, 53]
Generated Node #0,1,3: 43:[63, 53] Operation: 8+45=53
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[45, 55], Operations: ['90/2=45', '63-8=55']
Exploring Operation: 45+55=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 55-45=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 45*55=2475, Resulting Numbers: [2475]
2475,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:[63, 37], Operations: ['90/2=45', '45-8=37']
Exploring Operation: 63-37=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 63+37=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 63*37=2331, Resulting Numbers: [2331]
2331,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,2
Current State: 43:[45, 71], Operations: ['90/2=45', '8+63=71']
Exploring Operation: 45+71=116, Resulting Numbers: [116]
116,43 unequal: No Solution
Exploring Operation: 71-45=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 45*71=3195, Resulting Numbers: [3195]
3195,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:[63, 53], Operations: ['90/2=45', '8+45=53']
Exploring Operation: 63-53=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 63+53=116, Resulting Numbers: [116]
116,43 unequal: No Solution
Exploring Operation: 63*53=3339, Resulting Numbers: [3339]
3339,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:[8, 2, 27], Operations: ['90-63=27']
Exploring Operation: 2*27=54, Resulting Numbers: [8, 54]
Generated Node #0,0,0: 43:[8, 54] Operation: 2*27=54
Exploring Operation: 8+27=35, Resulting Numbers: [2, 35]
Generated Node #0,0,1: 43:[2, 35] Operation: 8+27=35
Exploring Operation: 8+2=10, Resulting Numbers: [27, 10]
Generated Node #0,0,2: 43:[27, 10] Operation: 8+2=10
Exploring Operation: 8*2=16, Resulting Numbers: [27, 16]
Generated Node #0,0,3: 43:[27, 16] Operation: 8*2=16
Moving to Node #0,0,3
Current State: 43:[27, 16], Operations: ['90-63=27', '8*2=16']
Exploring Operation: 27*16=432, Resulting Numbers: [432]
432,43 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[8, 90, 2, 63], Operations: []
Exploring Operation: 90-63=27, Resulting Numbers: [8, 2, 27]
Generated Node #0,0: 43:[8, 2, 27] Operation: 90-63=27
Moving to Node #0,0
Current State: 43:[8, 2, 27], Operations: ['90-63=27']
Exploring Operation: 8*2=16, Resulting Numbers: [27, 16]
Generated Node #0,0,3: 43:[27, 16] Operation: 8*2=16
Moving to Node #0,0,3
Current State: 43:[27, 16], Operations: ['90-63=27', '8*2=16']
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
41,
47,
66,
92
] | 69 | [
"41+47=88",
"66*92=6072",
"6072/88=69"
] | Current State: 69:[41, 47, 66, 92], Operations: []
Exploring Operation: 41+47=88, Resulting Numbers: [66, 92, 88]
Generated Node #2: [66, 92, 88] from Operation: 41+47=88
Current State: 69:[66, 92, 88], Operations: ['41+47=88']
Exploring Operation: 66*92=6072, Resulting Numbers: [88, 6072]
Generated Node #3: [88, 6072] from Operation: 66*92=6072
Current State: 69:[88, 6072], Operations: ['41+47=88', '66*92=6072']
Exploring Operation: 6072/88=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[41, 47, 66, 92], Operations: []
Exploring Operation: 92-47=45, Resulting Numbers: [41, 66, 45]
Generated Node #0,0: 69:[41, 66, 45] Operation: 92-47=45
Exploring Operation: 47-41=6, Resulting Numbers: [66, 92, 6]
Generated Node #0,1: 69:[66, 92, 6] Operation: 47-41=6
Exploring Operation: 92-66=26, Resulting Numbers: [41, 47, 26]
Generated Node #0,2: 69:[41, 47, 26] Operation: 92-66=26
Exploring Operation: 92-41=51, Resulting Numbers: [47, 66, 51]
Generated Node #0,3: 69:[47, 66, 51] Operation: 92-41=51
Exploring Operation: 41+47=88, Resulting Numbers: [66, 92, 88]
Generated Node #0,4: 69:[66, 92, 88] Operation: 41+47=88
Moving to Node #0,1
Current State: 69:[66, 92, 6], Operations: ['47-41=6']
Exploring Operation: 92-66=26, Resulting Numbers: [6, 26]
Generated Node #0,1,0: 69:[6, 26] Operation: 92-66=26
Exploring Operation: 66+6=72, Resulting Numbers: [92, 72]
Generated Node #0,1,1: 69:[92, 72] Operation: 66+6=72
Exploring Operation: 66-6=60, Resulting Numbers: [92, 60]
Generated Node #0,1,2: 69:[92, 60] Operation: 66-6=60
Exploring Operation: 66/6=11, Resulting Numbers: [92, 11]
Generated Node #0,1,3: 69:[92, 11] Operation: 66/6=11
Exploring Operation: 92-6=86, Resulting Numbers: [66, 86]
Generated Node #0,1,4: 69:[66, 86] Operation: 92-6=86
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 69:[6, 26], Operations: ['47-41=6', '92-66=26']
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 6*26=156, Resulting Numbers: [156]
156,69 unequal: No Solution
No 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: 69:[66, 86], Operations: ['47-41=6', '92-6=86']
Exploring Operation: 66+86=152, Resulting Numbers: [152]
152,69 unequal: No Solution
Exploring Operation: 66*86=5676, Resulting Numbers: [5676]
5676,69 unequal: No Solution
Exploring Operation: 86-66=20, Resulting Numbers: [20]
20,69 unequal: No Solution
No 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: 69:[92, 72], Operations: ['47-41=6', '66+6=72']
Exploring Operation: 92+72=164, Resulting Numbers: [164]
164,69 unequal: No Solution
Exploring Operation: 92-72=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 92*72=6624, Resulting Numbers: [6624]
6624,69 unequal: No Solution
No 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: 69:[92, 11], Operations: ['47-41=6', '66/6=11']
Exploring Operation: 92+11=103, Resulting Numbers: [103]
103,69 unequal: No Solution
Exploring Operation: 92-11=81, Resulting Numbers: [81]
81,69 unequal: No Solution
Exploring Operation: 92*11=1012, Resulting Numbers: [1012]
1012,69 unequal: No Solution
No 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: 69:[92, 60], Operations: ['47-41=6', '66-6=60']
Exploring Operation: 92*60=5520, Resulting Numbers: [5520]
5520,69 unequal: No Solution
Exploring Operation: 92-60=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Exploring Operation: 92+60=152, Resulting Numbers: [152]
152,69 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: 69:[41, 47, 26], Operations: ['92-66=26']
Exploring Operation: 47-26=21, Resulting Numbers: [41, 21]
Generated Node #0,2,0: 69:[41, 21] Operation: 47-26=21
Exploring Operation: 41+47=88, Resulting Numbers: [26, 88]
Generated Node #0,2,1: 69:[26, 88] Operation: 41+47=88
Exploring Operation: 47+26=73, Resulting Numbers: [41, 73]
Generated Node #0,2,2: 69:[41, 73] Operation: 47+26=73
Exploring Operation: 47-41=6, Resulting Numbers: [26, 6]
Generated Node #0,2,3: 69:[26, 6] Operation: 47-41=6
Exploring Operation: 41+26=67, Resulting Numbers: [47, 67]
Generated Node #0,2,4: 69:[47, 67] Operation: 41+26=67
Moving to Node #0,0
Current State: 69:[41, 66, 45], Operations: ['92-47=45']
Exploring Operation: 66-45=21, Resulting Numbers: [41, 21]
Generated Node #0,0,0: 69:[41, 21] Operation: 66-45=21
Exploring Operation: 41+45=86, Resulting Numbers: [66, 86]
Generated Node #0,0,1: 69:[66, 86] Operation: 41+45=86
Exploring Operation: 45-41=4, Resulting Numbers: [66, 4]
Generated Node #0,0,2: 69:[66, 4] Operation: 45-41=4
Exploring Operation: 41+66=107, Resulting Numbers: [45, 107]
Generated Node #0,0,3: 69:[45, 107] Operation: 41+66=107
Exploring Operation: 66-41=25, Resulting Numbers: [45, 25]
Generated Node #0,0,4: 69:[45, 25] Operation: 66-41=25
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 69:[66, 4], Operations: ['92-47=45', '45-41=4']
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Exploring Operation: 66+4=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Exploring Operation: 66*4=264, Resulting Numbers: [264]
264,69 unequal: No Solution
No 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: 69:[41, 21], Operations: ['92-47=45', '66-45=21']
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 41*21=861, Resulting Numbers: [861]
861,69 unequal: No Solution
Exploring Operation: 41+21=62, Resulting Numbers: [62]
62,69 unequal: No Solution
No 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: 69:[66, 86], Operations: ['92-47=45', '41+45=86']
Exploring Operation: 66*86=5676, Resulting Numbers: [5676]
5676,69 unequal: No Solution
Exploring Operation: 86-66=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 66+86=152, Resulting Numbers: [152]
152,69 unequal: No Solution
No 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: 69:[45, 25], Operations: ['92-47=45', '66-41=25']
Exploring Operation: 45*25=1125, Resulting Numbers: [1125]
1125,69 unequal: No Solution
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 45+25=70, Resulting Numbers: [70]
70,69 unequal: No Solution
No 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: 69:[45, 107], Operations: ['92-47=45', '41+66=107']
Exploring Operation: 45+107=152, Resulting Numbers: [152]
152,69 unequal: No Solution
Exploring Operation: 107-45=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Exploring Operation: 45*107=4815, Resulting Numbers: [4815]
4815,69 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: 69:[47, 66, 51], Operations: ['92-41=51']
Exploring Operation: 47+51=98, Resulting Numbers: [66, 98]
Generated Node #0,3,0: 69:[66, 98] Operation: 47+51=98
Exploring Operation: 66-51=15, Resulting Numbers: [47, 15]
Generated Node #0,3,1: 69:[47, 15] Operation: 66-51=15
Exploring Operation: 66-47=19, Resulting Numbers: [51, 19]
Generated Node #0,3,2: 69:[51, 19] Operation: 66-47=19
Exploring Operation: 51-47=4, Resulting Numbers: [66, 4]
Generated Node #0,3,3: 69:[66, 4] Operation: 51-47=4
Exploring Operation: 47+66=113, Resulting Numbers: [51, 113]
Generated Node #0,3,4: 69:[51, 113] Operation: 47+66=113
Moving to Node #0,4
Current State: 69:[66, 92, 88], Operations: ['41+47=88']
Exploring Operation: 66+88=154, Resulting Numbers: [92, 154]
Generated Node #0,4,0: 69:[92, 154] Operation: 66+88=154
Exploring Operation: 92-88=4, Resulting Numbers: [66, 4]
Generated Node #0,4,1: 69:[66, 4] Operation: 92-88=4
Exploring Operation: 88-66=22, Resulting Numbers: [92, 22]
Generated Node #0,4,2: 69:[92, 22] Operation: 88-66=22
Exploring Operation: 92-66=26, Resulting Numbers: [88, 26]
Generated Node #0,4,3: 69:[88, 26] Operation: 92-66=26
Exploring Operation: 66+92=158, Resulting Numbers: [88, 158]
Generated Node #0,4,4: 69:[88, 158] Operation: 66+92=158
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 69:[66, 4], Operations: ['41+47=88', '92-88=4']
Exploring Operation: 66*4=264, Resulting Numbers: [264]
264,69 unequal: No Solution
Exploring Operation: 66+4=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,69 unequal: No Solution
No 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: 69:[88, 26], Operations: ['41+47=88', '92-66=26']
Exploring Operation: 88*26=2288, Resulting Numbers: [2288]
2288,69 unequal: No Solution
Exploring Operation: 88-26=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Exploring Operation: 88+26=114, Resulting Numbers: [114]
114,69 unequal: No Solution
No 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: 69:[92, 22], Operations: ['41+47=88', '88-66=22']
Exploring Operation: 92+22=114, Resulting Numbers: [114]
114,69 unequal: No Solution
Exploring Operation: 92-22=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Exploring Operation: 92*22=2024, Resulting Numbers: [2024]
2024,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 69:[92, 154], Operations: ['41+47=88', '66+88=154']
Exploring Operation: 154-92=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Exploring Operation: 92*154=14168, Resulting Numbers: [14168]
14168,69 unequal: No Solution
Exploring Operation: 92+154=246, Resulting Numbers: [246]
246,69 unequal: No Solution
No 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: 69:[88, 158], Operations: ['41+47=88', '66+92=158']
Exploring Operation: 158-88=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Exploring Operation: 88*158=13904, Resulting Numbers: [13904]
13904,69 unequal: No Solution
Exploring Operation: 88+158=246, Resulting Numbers: [246]
246,69 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: 69:[66, 4], Operations: ['92-41=51', '51-47=4']
Exploring Operation: 66+4=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Exploring Operation: 66*4=264, Resulting Numbers: [264]
264,69 unequal: No Solution
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Moving to Node #0,2,3
Current State: 69:[26, 6], Operations: ['92-66=26', '47-41=6']
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,69 unequal: No Solution
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[41, 21], Operations: ['92-66=26', '47-26=21']
Exploring Operation: 41*21=861, Resulting Numbers: [861]
861,69 unequal: No Solution
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 41+21=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Moving to Node #0,3,2
Current State: 69:[51, 19], Operations: ['92-41=51', '66-47=19']
Exploring Operation: 51+19=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Exploring Operation: 51*19=969, Resulting Numbers: [969]
969,69 unequal: No Solution
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[26, 88], Operations: ['92-66=26', '41+47=88']
Exploring Operation: 88-26=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Exploring Operation: 26+88=114, Resulting Numbers: [114]
114,69 unequal: No Solution
Exploring Operation: 26*88=2288, Resulting Numbers: [2288]
2288,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[41, 73], Operations: ['92-66=26', '47+26=73']
Exploring Operation: 41*73=2993, Resulting Numbers: [2993]
2993,69 unequal: No Solution
Exploring Operation: 73-41=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Exploring Operation: 41+73=114, Resulting Numbers: [114]
114,69 unequal: No Solution
Moving to Node #0,2,4
Current State: 69:[47, 67], Operations: ['92-66=26', '41+26=67']
Exploring Operation: 47+67=114, Resulting Numbers: [114]
114,69 unequal: No Solution
Exploring Operation: 47*67=3149, Resulting Numbers: [3149]
3149,69 unequal: No Solution
Exploring Operation: 67-47=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Moving to Node #0,3,1
Current State: 69:[47, 15], Operations: ['92-41=51', '66-51=15']
Exploring Operation: 47*15=705, Resulting Numbers: [705]
705,69 unequal: No Solution
Exploring Operation: 47-15=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Exploring Operation: 47+15=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Moving to Node #0,3,0
Current State: 69:[66, 98], Operations: ['92-41=51', '47+51=98']
Exploring Operation: 66+98=164, Resulting Numbers: [164]
164,69 unequal: No Solution
Exploring Operation: 66*98=6468, Resulting Numbers: [6468]
6468,69 unequal: No Solution
Exploring Operation: 98-66=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Moving to Node #0,3,4
Current State: 69:[51, 113], Operations: ['92-41=51', '47+66=113']
Exploring Operation: 113-51=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Exploring Operation: 51+113=164, Resulting Numbers: [164]
164,69 unequal: No Solution
Exploring Operation: 51*113=5763, Resulting Numbers: [5763]
5763,69 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
99,
10,
35,
37
] | 91 | [
"99-10=89",
"37-35=2",
"89+2=91"
] | Current State: 91:[99, 10, 35, 37], Operations: []
Exploring Operation: 99-10=89, Resulting Numbers: [35, 37, 89]
Generated Node #2: [35, 37, 89] from Operation: 99-10=89
Current State: 91:[35, 37, 89], Operations: ['99-10=89']
Exploring Operation: 37-35=2, Resulting Numbers: [89, 2]
Generated Node #3: [89, 2] from Operation: 37-35=2
Current State: 91:[89, 2], Operations: ['99-10=89', '37-35=2']
Exploring Operation: 89+2=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[99, 10, 35, 37], Operations: []
Exploring Operation: 35+37=72, Resulting Numbers: [99, 10, 72]
Generated Node #0,0: 91:[99, 10, 72] Operation: 35+37=72
Exploring Operation: 35-10=25, Resulting Numbers: [99, 37, 25]
Generated Node #0,1: 91:[99, 37, 25] Operation: 35-10=25
Exploring Operation: 37-10=27, Resulting Numbers: [99, 35, 27]
Generated Node #0,2: 91:[99, 35, 27] Operation: 37-10=27
Exploring Operation: 37-35=2, Resulting Numbers: [99, 10, 2]
Generated Node #0,3: 91:[99, 10, 2] Operation: 37-35=2
Exploring Operation: 99-10=89, Resulting Numbers: [35, 37, 89]
Generated Node #0,4: 91:[35, 37, 89] Operation: 99-10=89
Start Sub Search at level 1: Moving to Node #0,3
Current State: 91:[99, 10, 2], Operations: ['37-35=2']
Exploring Operation: 10+2=12, Resulting Numbers: [99, 12]
Generated Node #0,3,0: 91:[99, 12] Operation: 10+2=12
Exploring Operation: 99-2=97, Resulting Numbers: [10, 97]
Generated Node #0,3,1: 91:[10, 97] Operation: 99-2=97
Exploring Operation: 10-2=8, Resulting Numbers: [99, 8]
Generated Node #0,3,2: 91:[99, 8] Operation: 10-2=8
Exploring Operation: 99-10=89, Resulting Numbers: [2, 89]
Generated Node #0,3,3: 91:[2, 89] Operation: 99-10=89
Exploring Operation: 10/2=5, Resulting Numbers: [99, 5]
Generated Node #0,3,4: 91:[99, 5] Operation: 10/2=5
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 91:[2, 89], Operations: ['37-35=2', '99-10=89']
Exploring Operation: 2+89=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[99, 10, 35, 37], Operations: []
Exploring Operation: 37-35=2, Resulting Numbers: [99, 10, 2]
Generated Node #0,3: 91:[99, 10, 2] Operation: 37-35=2
Moving to Node #0,3
Current State: 91:[99, 10, 2], Operations: ['37-35=2']
Exploring Operation: 99-10=89, Resulting Numbers: [2, 89]
Generated Node #0,3,3: 91:[2, 89] Operation: 99-10=89
Moving to Node #0,3,3
Current State: 91:[2, 89], Operations: ['37-35=2', '99-10=89']
Exploring Operation: 2+89=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
99,
98,
94,
65
] | 85 | [
"99-94=5",
"65/5=13",
"98-13=85"
] | Current State: 85:[99, 98, 94, 65], Operations: []
Exploring Operation: 99-94=5, Resulting Numbers: [98, 65, 5]
Generated Node #2: [98, 65, 5] from Operation: 99-94=5
Current State: 85:[98, 65, 5], Operations: ['99-94=5']
Exploring Operation: 65/5=13, Resulting Numbers: [98, 13]
Generated Node #3: [98, 13] from Operation: 65/5=13
Current State: 85:[98, 13], Operations: ['99-94=5', '65/5=13']
Exploring Operation: 98-13=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[99, 98, 94, 65], Operations: []
Exploring Operation: 98-65=33, Resulting Numbers: [99, 94, 33]
Generated Node #0,0: 85:[99, 94, 33] Operation: 98-65=33
Exploring Operation: 98-94=4, Resulting Numbers: [99, 65, 4]
Generated Node #0,1: 85:[99, 65, 4] Operation: 98-94=4
Exploring Operation: 99-98=1, Resulting Numbers: [94, 65, 1]
Generated Node #0,2: 85:[94, 65, 1] Operation: 99-98=1
Exploring Operation: 99-94=5, Resulting Numbers: [98, 65, 5]
Generated Node #0,3: 85:[98, 65, 5] Operation: 99-94=5
Exploring Operation: 99-65=34, Resulting Numbers: [98, 94, 34]
Generated Node #0,4: 85:[98, 94, 34] Operation: 99-65=34
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[94, 65, 1], Operations: ['99-98=1']
Exploring Operation: 94*1=94, Resulting Numbers: [65, 94]
Generated Node #0,2,0: 85:[65, 94] Operation: 94*1=94
Exploring Operation: 94/1=94, Resulting Numbers: [65, 94]
Generated Node #0,2,1: 85:[65, 94] Operation: 94/1=94
Exploring Operation: 94-65=29, Resulting Numbers: [1, 29]
Generated Node #0,2,2: 85:[1, 29] Operation: 94-65=29
Exploring Operation: 94-1=93, Resulting Numbers: [65, 93]
Generated Node #0,2,3: 85:[65, 93] Operation: 94-1=93
Exploring Operation: 65+1=66, Resulting Numbers: [94, 66]
Generated Node #0,2,4: 85:[94, 66] Operation: 65+1=66
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 85:[1, 29], Operations: ['99-98=1', '94-65=29']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,85 unequal: No Solution
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Exploring Operation: 1+29=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,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,2,3
Current State: 85:[65, 93], Operations: ['99-98=1', '94-1=93']
Exploring Operation: 93-65=28, Resulting Numbers: [28]
28,85 unequal: No Solution
Exploring Operation: 65+93=158, Resulting Numbers: [158]
158,85 unequal: No Solution
Exploring Operation: 65*93=6045, Resulting Numbers: [6045]
6045,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,2,4
Current State: 85:[94, 66], Operations: ['99-98=1', '65+1=66']
Exploring Operation: 94-66=28, Resulting Numbers: [28]
28,85 unequal: No Solution
Exploring Operation: 94*66=6204, Resulting Numbers: [6204]
6204,85 unequal: No Solution
Exploring Operation: 94+66=160, Resulting Numbers: [160]
160,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,2,0
Current State: 85:[65, 94], Operations: ['99-98=1', '94*1=94']
Exploring Operation: 65*94=6110, Resulting Numbers: [6110]
6110,85 unequal: No Solution
Exploring Operation: 65+94=159, Resulting Numbers: [159]
159,85 unequal: No Solution
Exploring Operation: 94-65=29, Resulting Numbers: [29]
29,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,2,1
Current State: 85:[65, 94], Operations: ['99-98=1', '94/1=94']
Exploring Operation: 94-65=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Exploring Operation: 65*94=6110, Resulting Numbers: [6110]
6110,85 unequal: No Solution
Exploring Operation: 65+94=159, Resulting Numbers: [159]
159,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,3
Current State: 85:[98, 65, 5], Operations: ['99-94=5']
Exploring Operation: 65/5=13, Resulting Numbers: [98, 13]
Generated Node #0,3,0: 85:[98, 13] Operation: 65/5=13
Exploring Operation: 98+5=103, Resulting Numbers: [65, 103]
Generated Node #0,3,1: 85:[65, 103] Operation: 98+5=103
Exploring Operation: 65+5=70, Resulting Numbers: [98, 70]
Generated Node #0,3,2: 85:[98, 70] Operation: 65+5=70
Exploring Operation: 98-65=33, Resulting Numbers: [5, 33]
Generated Node #0,3,3: 85:[5, 33] Operation: 98-65=33
Exploring Operation: 98-5=93, Resulting Numbers: [65, 93]
Generated Node #0,3,4: 85:[65, 93] Operation: 98-5=93
Moving to Node #0,3,3
Current State: 85:[5, 33], Operations: ['99-94=5', '98-65=33']
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,85 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,85 unequal: No Solution
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,85 unequal: No Solution
Moving to Node #0,3,0
Current State: 85:[98, 13], Operations: ['99-94=5', '65/5=13']
Exploring Operation: 98-13=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[99, 98, 94, 65], Operations: []
Exploring Operation: 99-94=5, Resulting Numbers: [98, 65, 5]
Generated Node #0,3: 85:[98, 65, 5] Operation: 99-94=5
Moving to Node #0,3
Current State: 85:[98, 65, 5], Operations: ['99-94=5']
Exploring Operation: 65/5=13, Resulting Numbers: [98, 13]
Generated Node #0,3,0: 85:[98, 13] Operation: 65/5=13
Moving to Node #0,3,0
Current State: 85:[98, 13], Operations: ['99-94=5', '65/5=13']
Exploring Operation: 98-13=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_5 | mult_heuristic |
[
10,
62,
9,
7
] | 35 | [
"10*9=90",
"62-7=55",
"90-55=35"
] | Current State: 35:[10, 62, 9, 7], Operations: []
Exploring Operation: 10*9=90, Resulting Numbers: [62, 7, 90]
Generated Node #2: [62, 7, 90] from Operation: 10*9=90
Current State: 35:[62, 7, 90], Operations: ['10*9=90']
Exploring Operation: 62-7=55, Resulting Numbers: [90, 55]
Generated Node #3: [90, 55] from Operation: 62-7=55
Current State: 35:[90, 55], Operations: ['10*9=90', '62-7=55']
Exploring Operation: 90-55=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[10, 62, 9, 7], Operations: []
Exploring Operation: 62-7=55, Resulting Numbers: [10, 9, 55]
Generated Node #0,0: 35:[10, 9, 55] Operation: 62-7=55
Exploring Operation: 62-10=52, Resulting Numbers: [9, 7, 52]
Generated Node #0,1: 35:[9, 7, 52] Operation: 62-10=52
Exploring Operation: 62-9=53, Resulting Numbers: [10, 7, 53]
Generated Node #0,2: 35:[10, 7, 53] Operation: 62-9=53
Moving to Node #0,1
Current State: 35:[9, 7, 52], Operations: ['62-10=52']
Exploring Operation: 52-7=45, Resulting Numbers: [9, 45]
Generated Node #0,1,0: 35:[9, 45] Operation: 52-7=45
Exploring Operation: 9-7=2, Resulting Numbers: [52, 2]
Generated Node #0,1,1: 35:[52, 2] Operation: 9-7=2
Exploring Operation: 52-9=43, Resulting Numbers: [7, 43]
Generated Node #0,1,2: 35:[7, 43] Operation: 52-9=43
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 35:[7, 43], Operations: ['62-10=52', '52-9=43']
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[9, 45], Operations: ['62-10=52', '52-7=45']
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 9+45=54, Resulting Numbers: [54]
54,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[52, 2], Operations: ['62-10=52', '9-7=2']
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,35 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,35 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: 35:[10, 7, 53], Operations: ['62-9=53']
Exploring Operation: 53-7=46, Resulting Numbers: [10, 46]
Generated Node #0,2,0: 35:[10, 46] Operation: 53-7=46
Exploring Operation: 53-10=43, Resulting Numbers: [7, 43]
Generated Node #0,2,1: 35:[7, 43] Operation: 53-10=43
Exploring Operation: 10-7=3, Resulting Numbers: [53, 3]
Generated Node #0,2,2: 35:[53, 3] Operation: 10-7=3
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 35:[7, 43], Operations: ['62-9=53', '53-10=43']
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,35 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 35:[10, 46], Operations: ['62-9=53', '53-7=46']
Exploring Operation: 10*46=460, Resulting Numbers: [460]
460,35 unequal: No Solution
Exploring Operation: 10+46=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 35:[53, 3], Operations: ['62-9=53', '10-7=3']
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,35 unequal: No Solution
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,35 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: 35:[10, 9, 55], Operations: ['62-7=55']
Exploring Operation: 55-9=46, Resulting Numbers: [10, 46]
Generated Node #0,0,0: 35:[10, 46] Operation: 55-9=46
Exploring Operation: 55-10=45, Resulting Numbers: [9, 45]
Generated Node #0,0,1: 35:[9, 45] Operation: 55-10=45
Exploring Operation: 10-9=1, Resulting Numbers: [55, 1]
Generated Node #0,0,2: 35:[55, 1] Operation: 10-9=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[9, 45], Operations: ['62-7=55', '55-10=45']
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 9+45=54, Resulting Numbers: [54]
54,35 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[10, 46], Operations: ['62-7=55', '55-9=46']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 10*46=460, Resulting Numbers: [460]
460,35 unequal: No Solution
Exploring Operation: 10+46=56, Resulting Numbers: [56]
56,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[55, 1], Operations: ['62-7=55', '10-9=1']
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,35 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,35 unequal: No Solution
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,35 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 |
[
69,
64,
26,
23
] | 77 | [
"69*23=1587",
"64*26=1664",
"1664-1587=77"
] | Current State: 77:[69, 64, 26, 23], Operations: []
Exploring Operation: 69*23=1587, Resulting Numbers: [64, 26, 1587]
Generated Node #2: [64, 26, 1587] from Operation: 69*23=1587
Current State: 77:[64, 26, 1587], Operations: ['69*23=1587']
Exploring Operation: 64*26=1664, Resulting Numbers: [1587, 1664]
Generated Node #3: [1587, 1664] from Operation: 64*26=1664
Current State: 77:[1587, 1664], Operations: ['69*23=1587', '64*26=1664']
Exploring Operation: 1664-1587=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[69, 64, 26, 23], Operations: []
Exploring Operation: 69/23=3, Resulting Numbers: [64, 26, 3]
Generated Node #0,0: 77:[64, 26, 3] Operation: 69/23=3
Exploring Operation: 26-23=3, Resulting Numbers: [69, 64, 3]
Generated Node #0,1: 77:[69, 64, 3] Operation: 26-23=3
Exploring Operation: 69-64=5, Resulting Numbers: [26, 23, 5]
Generated Node #0,2: 77:[26, 23, 5] Operation: 69-64=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[69, 64, 3], Operations: ['26-23=3']
Exploring Operation: 64+3=67, Resulting Numbers: [69, 67]
Generated Node #0,1,0: 77:[69, 67] Operation: 64+3=67
Exploring Operation: 69+3=72, Resulting Numbers: [64, 72]
Generated Node #0,1,1: 77:[64, 72] Operation: 69+3=72
Exploring Operation: 69-64=5, Resulting Numbers: [3, 5]
Generated Node #0,1,2: 77:[3, 5] Operation: 69-64=5
Moving to Node #0,1,2
Current State: 77:[3, 5], Operations: ['26-23=3', '69-64=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,77 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[69, 67], Operations: ['26-23=3', '64+3=67']
Exploring Operation: 69+67=136, Resulting Numbers: [136]
136,77 unequal: No Solution
Exploring Operation: 69*67=4623, Resulting Numbers: [4623]
4623,77 unequal: No Solution
Exploring Operation: 69-67=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[64, 72], Operations: ['26-23=3', '69+3=72']
Exploring Operation: 72-64=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 64+72=136, Resulting Numbers: [136]
136,77 unequal: No Solution
Exploring Operation: 64*72=4608, Resulting Numbers: [4608]
4608,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,2
Current State: 77:[26, 23, 5], Operations: ['69-64=5']
Exploring Operation: 26-5=21, Resulting Numbers: [23, 21]
Generated Node #0,2,0: 77:[23, 21] Operation: 26-5=21
Exploring Operation: 26-23=3, Resulting Numbers: [5, 3]
Generated Node #0,2,1: 77:[5, 3] Operation: 26-23=3
Exploring Operation: 23-5=18, Resulting Numbers: [26, 18]
Generated Node #0,2,2: 77:[26, 18] Operation: 23-5=18
Moving to Node #0,2,1
Current State: 77:[5, 3], Operations: ['69-64=5', '26-23=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,77 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Moving to Node #0,2,0
Current State: 77:[23, 21], Operations: ['69-64=5', '26-5=21']
Exploring Operation: 23*21=483, Resulting Numbers: [483]
483,77 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[26, 18], Operations: ['69-64=5', '23-5=18']
Exploring Operation: 26+18=44, Resulting Numbers: [44]
44,77 unequal: No Solution
Exploring Operation: 26*18=468, Resulting Numbers: [468]
468,77 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,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,0
Current State: 77:[64, 26, 3], Operations: ['69/23=3']
Exploring Operation: 64+26=90, Resulting Numbers: [3, 90]
Generated Node #0,0,0: 77:[3, 90] Operation: 64+26=90
Exploring Operation: 26*3=78, Resulting Numbers: [64, 78]
Generated Node #0,0,1: 77:[64, 78] Operation: 26*3=78
Exploring Operation: 64+3=67, Resulting Numbers: [26, 67]
Generated Node #0,0,2: 77:[26, 67] Operation: 64+3=67
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 77:[64, 78], Operations: ['69/23=3', '26*3=78']
Exploring Operation: 64*78=4992, Resulting Numbers: [4992]
4992,77 unequal: No Solution
Exploring Operation: 64+78=142, Resulting Numbers: [142]
142,77 unequal: No Solution
Exploring Operation: 78-64=14, Resulting Numbers: [14]
14,77 unequal: No Solution
No 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: 77:[3, 90], Operations: ['69/23=3', '64+26=90']
Exploring Operation: 3+90=93, Resulting Numbers: [93]
93,77 unequal: No Solution
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,77 unequal: No Solution
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,77 unequal: No Solution
No 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: 77:[26, 67], Operations: ['69/23=3', '64+3=67']
Exploring Operation: 26*67=1742, Resulting Numbers: [1742]
1742,77 unequal: No Solution
Exploring Operation: 67-26=41, Resulting Numbers: [41]
41,77 unequal: No Solution
Exploring Operation: 26+67=93, Resulting Numbers: [93]
93,77 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 |
[
34,
66,
2,
44
] | 46 | [
"34*2=68",
"66-44=22",
"68-22=46"
] | Current State: 46:[34, 66, 2, 44], Operations: []
Exploring Operation: 34*2=68, Resulting Numbers: [66, 44, 68]
Generated Node #2: [66, 44, 68] from Operation: 34*2=68
Current State: 46:[66, 44, 68], Operations: ['34*2=68']
Exploring Operation: 66-44=22, Resulting Numbers: [68, 22]
Generated Node #3: [68, 22] from Operation: 66-44=22
Current State: 46:[68, 22], Operations: ['34*2=68', '66-44=22']
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[34, 66, 2, 44], Operations: []
Exploring Operation: 66-34=32, Resulting Numbers: [2, 44, 32]
Generated Node #0,0: 46:[2, 44, 32] Operation: 66-34=32
Exploring Operation: 66/2=33, Resulting Numbers: [34, 44, 33]
Generated Node #0,1: 46:[34, 44, 33] Operation: 66/2=33
Exploring Operation: 66-44=22, Resulting Numbers: [34, 2, 22]
Generated Node #0,2: 46:[34, 2, 22] Operation: 66-44=22
Moving to Node #0,0
Current State: 46:[2, 44, 32], Operations: ['66-34=32']
Exploring Operation: 32/2=16, Resulting Numbers: [44, 16]
Generated Node #0,0,0: 46:[44, 16] Operation: 32/2=16
Exploring Operation: 2+44=46, Resulting Numbers: [32, 46]
Generated Node #0,0,1: 46:[32, 46] Operation: 2+44=46
Exploring Operation: 32-2=30, Resulting Numbers: [44, 30]
Generated Node #0,0,2: 46:[44, 30] Operation: 32-2=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[44, 16], Operations: ['66-34=32', '32/2=16']
Exploring Operation: 44+16=60, Resulting Numbers: [60]
60,46 unequal: No Solution
Exploring Operation: 44*16=704, Resulting Numbers: [704]
704,46 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[32, 46], Operations: ['66-34=32', '2+44=46']
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 32+46=78, Resulting Numbers: [78]
78,46 unequal: No Solution
Exploring Operation: 32*46=1472, Resulting Numbers: [1472]
1472,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 46:[44, 30], Operations: ['66-34=32', '32-2=30']
Exploring Operation: 44*30=1320, Resulting Numbers: [1320]
1320,46 unequal: No Solution
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,46 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: 46:[34, 2, 22], Operations: ['66-44=22']
Exploring Operation: 34/2=17, Resulting Numbers: [22, 17]
Generated Node #0,2,0: 46:[22, 17] Operation: 34/2=17
Exploring Operation: 34-2=32, Resulting Numbers: [22, 32]
Generated Node #0,2,1: 46:[22, 32] Operation: 34-2=32
Exploring Operation: 34+22=56, Resulting Numbers: [2, 56]
Generated Node #0,2,2: 46:[2, 56] Operation: 34+22=56
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 46:[22, 17], Operations: ['66-44=22', '34/2=17']
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Exploring Operation: 22*17=374, Resulting Numbers: [374]
374,46 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 46:[22, 32], Operations: ['66-44=22', '34-2=32']
Exploring Operation: 22+32=54, Resulting Numbers: [54]
54,46 unequal: No Solution
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 22*32=704, Resulting Numbers: [704]
704,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 46:[2, 56], Operations: ['66-44=22', '34+22=56']
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,46 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 46:[34, 44, 33], Operations: ['66/2=33']
Exploring Operation: 44-33=11, Resulting Numbers: [34, 11]
Generated Node #0,1,0: 46:[34, 11] Operation: 44-33=11
Exploring Operation: 44-34=10, Resulting Numbers: [33, 10]
Generated Node #0,1,1: 46:[33, 10] Operation: 44-34=10
Exploring Operation: 34-33=1, Resulting Numbers: [44, 1]
Generated Node #0,1,2: 46:[44, 1] Operation: 34-33=1
Moving to Node #0,1,2
Current State: 46:[44, 1], Operations: ['66/2=33', '34-33=1']
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[33, 10], Operations: ['66/2=33', '44-34=10']
Exploring Operation: 33+10=43, Resulting Numbers: [43]
43,46 unequal: No Solution
Exploring Operation: 33*10=330, Resulting Numbers: [330]
330,46 unequal: No Solution
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[34, 11], Operations: ['66/2=33', '44-33=11']
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 34*11=374, Resulting Numbers: [374]
374,46 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
46,
27,
39,
42
] | 70 | [
"46+27=73",
"42-39=3",
"73-3=70"
] | Current State: 70:[46, 27, 39, 42], Operations: []
Exploring Operation: 46+27=73, Resulting Numbers: [39, 42, 73]
Generated Node #2: [39, 42, 73] from Operation: 46+27=73
Current State: 70:[39, 42, 73], Operations: ['46+27=73']
Exploring Operation: 42-39=3, Resulting Numbers: [73, 3]
Generated Node #3: [73, 3] from Operation: 42-39=3
Current State: 70:[73, 3], Operations: ['46+27=73', '42-39=3']
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[46, 27, 39, 42], Operations: []
Exploring Operation: 46-42=4, Resulting Numbers: [27, 39, 4]
Generated Node #0,0: 70:[27, 39, 4] Operation: 46-42=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[27, 39, 4], Operations: ['46-42=4']
Exploring Operation: 39-27=12, Resulting Numbers: [4, 12]
Generated Node #0,0,0: 70:[4, 12] Operation: 39-27=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[4, 12], Operations: ['46-42=4', '39-27=12']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
15,
11,
72,
93
] | 47 | [
"15+11=26",
"93-72=21",
"26+21=47"
] | Current State: 47:[15, 11, 72, 93], Operations: []
Exploring Operation: 15+11=26, Resulting Numbers: [72, 93, 26]
Generated Node #2: [72, 93, 26] from Operation: 15+11=26
Current State: 47:[72, 93, 26], Operations: ['15+11=26']
Exploring Operation: 93-72=21, Resulting Numbers: [26, 21]
Generated Node #3: [26, 21] from Operation: 93-72=21
Current State: 47:[26, 21], Operations: ['15+11=26', '93-72=21']
Exploring Operation: 26+21=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[15, 11, 72, 93], Operations: []
Exploring Operation: 72-15=57, Resulting Numbers: [11, 93, 57]
Generated Node #0,0: 47:[11, 93, 57] Operation: 72-15=57
Exploring Operation: 15+11=26, Resulting Numbers: [72, 93, 26]
Generated Node #0,1: 47:[72, 93, 26] Operation: 15+11=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[11, 93, 57], Operations: ['72-15=57']
Exploring Operation: 93-11=82, Resulting Numbers: [57, 82]
Generated Node #0,0,0: 47:[57, 82] Operation: 93-11=82
Exploring Operation: 57-11=46, Resulting Numbers: [93, 46]
Generated Node #0,0,1: 47:[93, 46] Operation: 57-11=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[57, 82], Operations: ['72-15=57', '93-11=82']
Exploring Operation: 57+82=139, Resulting Numbers: [139]
139,47 unequal: No Solution
Exploring Operation: 82-57=25, Resulting Numbers: [25]
25,47 unequal: No Solution
No 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: 47:[93, 46], Operations: ['72-15=57', '57-11=46']
Exploring Operation: 93+46=139, Resulting Numbers: [139]
139,47 unequal: No Solution
Exploring Operation: 93-46=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[15, 11, 72, 93], Operations: []
Exploring Operation: 72-15=57, Resulting Numbers: [11, 93, 57]
Generated Node #0,0: 47:[11, 93, 57] Operation: 72-15=57
Moving to Node #0,0
Current State: 47:[11, 93, 57], Operations: ['72-15=57']
Exploring Operation: 57-11=46, Resulting Numbers: [93, 46]
Generated Node #0,0,1: 47:[93, 46] Operation: 57-11=46
Moving to Node #0,0,1
Current State: 47:[93, 46], Operations: ['72-15=57', '57-11=46']
Exploring Operation: 93-46=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
80,
15,
13,
7
] | 16 | [
"15-13=2",
"7-2=5",
"80/5=16"
] | Current State: 16:[80, 15, 13, 7], Operations: []
Exploring Operation: 15-13=2, Resulting Numbers: [80, 7, 2]
Generated Node #2: [80, 7, 2] from Operation: 15-13=2
Current State: 16:[80, 7, 2], Operations: ['15-13=2']
Exploring Operation: 7-2=5, Resulting Numbers: [80, 5]
Generated Node #3: [80, 5] from Operation: 7-2=5
Current State: 16:[80, 5], Operations: ['15-13=2', '7-2=5']
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[80, 15, 13, 7], Operations: []
Exploring Operation: 80-7=73, Resulting Numbers: [15, 13, 73]
Generated Node #0,0: 16:[15, 13, 73] Operation: 80-7=73
Exploring Operation: 80-15=65, Resulting Numbers: [13, 7, 65]
Generated Node #0,1: 16:[13, 7, 65] Operation: 80-15=65
Exploring Operation: 80-13=67, Resulting Numbers: [15, 7, 67]
Generated Node #0,2: 16:[15, 7, 67] Operation: 80-13=67
Exploring Operation: 15-13=2, Resulting Numbers: [80, 7, 2]
Generated Node #0,3: 16:[80, 7, 2] Operation: 15-13=2
Exploring Operation: 15-7=8, Resulting Numbers: [80, 13, 8]
Generated Node #0,4: 16:[80, 13, 8] Operation: 15-7=8
Moving to Node #0,1
Current State: 16:[13, 7, 65], Operations: ['80-15=65']
Exploring Operation: 65-7=58, Resulting Numbers: [13, 58]
Generated Node #0,1,0: 16:[13, 58] Operation: 65-7=58
Exploring Operation: 65/13=5, Resulting Numbers: [7, 5]
Generated Node #0,1,1: 16:[7, 5] Operation: 65/13=5
Exploring Operation: 13-7=6, Resulting Numbers: [65, 6]
Generated Node #0,1,2: 16:[65, 6] Operation: 13-7=6
Exploring Operation: 13+7=20, Resulting Numbers: [65, 20]
Generated Node #0,1,3: 16:[65, 20] Operation: 13+7=20
Exploring Operation: 65-13=52, Resulting Numbers: [7, 52]
Generated Node #0,1,4: 16:[7, 52] Operation: 65-13=52
Moving to Node #0,2
Current State: 16:[15, 7, 67], Operations: ['80-13=67']
Exploring Operation: 15-7=8, Resulting Numbers: [67, 8]
Generated Node #0,2,0: 16:[67, 8] Operation: 15-7=8
Exploring Operation: 67-15=52, Resulting Numbers: [7, 52]
Generated Node #0,2,1: 16:[7, 52] Operation: 67-15=52
Exploring Operation: 7+67=74, Resulting Numbers: [15, 74]
Generated Node #0,2,2: 16:[15, 74] Operation: 7+67=74
Exploring Operation: 67-7=60, Resulting Numbers: [15, 60]
Generated Node #0,2,3: 16:[15, 60] Operation: 67-7=60
Exploring Operation: 15+7=22, Resulting Numbers: [67, 22]
Generated Node #0,2,4: 16:[67, 22] Operation: 15+7=22
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 16:[7, 52], Operations: ['80-13=67', '67-15=52']
Exploring Operation: 7+52=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Exploring Operation: 7*52=364, Resulting Numbers: [364]
364,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 16:[15, 60], Operations: ['80-13=67', '67-7=60']
Exploring Operation: 60/15=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Exploring Operation: 15*60=900, Resulting Numbers: [900]
900,16 unequal: No Solution
Exploring Operation: 15+60=75, Resulting Numbers: [75]
75,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[67, 8], Operations: ['80-13=67', '15-7=8']
Exploring Operation: 67+8=75, Resulting Numbers: [75]
75,16 unequal: No Solution
Exploring Operation: 67*8=536, Resulting Numbers: [536]
536,16 unequal: No Solution
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 16:[67, 22], Operations: ['80-13=67', '15+7=22']
Exploring Operation: 67*22=1474, Resulting Numbers: [1474]
1474,16 unequal: No Solution
Exploring Operation: 67-22=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Exploring Operation: 67+22=89, Resulting Numbers: [89]
89,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 16:[15, 74], Operations: ['80-13=67', '7+67=74']
Exploring Operation: 15+74=89, Resulting Numbers: [89]
89,16 unequal: No Solution
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,16 unequal: No Solution
Exploring Operation: 15*74=1110, Resulting Numbers: [1110]
1110,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 16:[15, 13, 73], Operations: ['80-7=73']
Exploring Operation: 15-13=2, Resulting Numbers: [73, 2]
Generated Node #0,0,0: 16:[73, 2] Operation: 15-13=2
Exploring Operation: 15+13=28, Resulting Numbers: [73, 28]
Generated Node #0,0,1: 16:[73, 28] Operation: 15+13=28
Exploring Operation: 73-13=60, Resulting Numbers: [15, 60]
Generated Node #0,0,2: 16:[15, 60] Operation: 73-13=60
Exploring Operation: 73-15=58, Resulting Numbers: [13, 58]
Generated Node #0,0,3: 16:[13, 58] Operation: 73-15=58
Exploring Operation: 13+73=86, Resulting Numbers: [15, 86]
Generated Node #0,0,4: 16:[15, 86] Operation: 13+73=86
Moving to Node #0,3
Current State: 16:[80, 7, 2], Operations: ['15-13=2']
Exploring Operation: 7-2=5, Resulting Numbers: [80, 5]
Generated Node #0,3,0: 16:[80, 5] Operation: 7-2=5
Exploring Operation: 80-2=78, Resulting Numbers: [7, 78]
Generated Node #0,3,1: 16:[7, 78] Operation: 80-2=78
Exploring Operation: 80/2=40, Resulting Numbers: [7, 40]
Generated Node #0,3,2: 16:[7, 40] Operation: 80/2=40
Exploring Operation: 7+2=9, Resulting Numbers: [80, 9]
Generated Node #0,3,3: 16:[80, 9] Operation: 7+2=9
Exploring Operation: 80-7=73, Resulting Numbers: [2, 73]
Generated Node #0,3,4: 16:[2, 73] Operation: 80-7=73
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 16:[7, 40], Operations: ['15-13=2', '80/2=40']
Exploring Operation: 7+40=47, Resulting Numbers: [47]
47,16 unequal: No Solution
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,16 unequal: No Solution
Exploring Operation: 7*40=280, Resulting Numbers: [280]
280,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 16:[2, 73], Operations: ['15-13=2', '80-7=73']
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,16 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,16 unequal: No Solution
Exploring Operation: 2*73=146, Resulting Numbers: [146]
146,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 16:[7, 78], Operations: ['15-13=2', '80-2=78']
Exploring Operation: 7+78=85, Resulting Numbers: [85]
85,16 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,16 unequal: No Solution
Exploring Operation: 7*78=546, Resulting Numbers: [546]
546,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 16:[80, 5], Operations: ['15-13=2', '7-2=5']
Exploring Operation: 80*5=400, Resulting Numbers: [400]
400,16 unequal: No Solution
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,16 unequal: No Solution
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[80, 15, 13, 7], Operations: []
Exploring Operation: 15-13=2, Resulting Numbers: [80, 7, 2]
Generated Node #0,3: 16:[80, 7, 2] Operation: 15-13=2
Moving to Node #0,3
Current State: 16:[80, 7, 2], Operations: ['15-13=2']
Exploring Operation: 7-2=5, Resulting Numbers: [80, 5]
Generated Node #0,3,0: 16:[80, 5] Operation: 7-2=5
Moving to Node #0,3,0
Current State: 16:[80, 5], Operations: ['15-13=2', '7-2=5']
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.950521 | hs_5 | mult_heuristic |
[
26,
28,
83,
45
] | 74 | [
"26+28=54",
"83+45=128",
"128-54=74"
] | Current State: 74:[26, 28, 83, 45], Operations: []
Exploring Operation: 26+28=54, Resulting Numbers: [83, 45, 54]
Generated Node #2: [83, 45, 54] from Operation: 26+28=54
Current State: 74:[83, 45, 54], Operations: ['26+28=54']
Exploring Operation: 83+45=128, Resulting Numbers: [54, 128]
Generated Node #3: [54, 128] from Operation: 83+45=128
Current State: 74:[54, 128], Operations: ['26+28=54', '83+45=128']
Exploring Operation: 128-54=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[26, 28, 83, 45], Operations: []
Exploring Operation: 26+45=71, Resulting Numbers: [28, 83, 71]
Generated Node #0,0: 74:[28, 83, 71] Operation: 26+45=71
Exploring Operation: 28-26=2, Resulting Numbers: [83, 45, 2]
Generated Node #0,1: 74:[83, 45, 2] Operation: 28-26=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[83, 45, 2], Operations: ['28-26=2']
Exploring Operation: 83-45=38, Resulting Numbers: [2, 38]
Generated Node #0,1,0: 74:[2, 38] Operation: 83-45=38
Exploring Operation: 83-2=81, Resulting Numbers: [45, 81]
Generated Node #0,1,1: 74:[45, 81] Operation: 83-2=81
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 74:[2, 38], Operations: ['28-26=2', '83-45=38']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,74 unequal: No Solution
No 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: 74:[45, 81], Operations: ['28-26=2', '83-2=81']
Exploring Operation: 81-45=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 45+81=126, Resulting Numbers: [126]
126,74 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: 74:[28, 83, 71], Operations: ['26+45=71']
Exploring Operation: 71-28=43, Resulting Numbers: [83, 43]
Generated Node #0,0,0: 74:[83, 43] Operation: 71-28=43
Exploring Operation: 83-71=12, Resulting Numbers: [28, 12]
Generated Node #0,0,1: 74:[28, 12] Operation: 83-71=12
Moving to Node #0,0,0
Current State: 74:[83, 43], Operations: ['26+45=71', '71-28=43']
Exploring Operation: 83-43=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 83+43=126, Resulting Numbers: [126]
126,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[28, 12], Operations: ['26+45=71', '83-71=12']
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,74 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 |
[
5,
25,
90,
2
] | 72 | [
"25-5=20",
"90+2=92",
"92-20=72"
] | Current State: 72:[5, 25, 90, 2], Operations: []
Exploring Operation: 25-5=20, Resulting Numbers: [90, 2, 20]
Generated Node #2: [90, 2, 20] from Operation: 25-5=20
Current State: 72:[90, 2, 20], Operations: ['25-5=20']
Exploring Operation: 90+2=92, Resulting Numbers: [20, 92]
Generated Node #3: [20, 92] from Operation: 90+2=92
Current State: 72:[20, 92], Operations: ['25-5=20', '90+2=92']
Exploring Operation: 92-20=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[5, 25, 90, 2], Operations: []
Exploring Operation: 90-25=65, Resulting Numbers: [5, 2, 65]
Generated Node #0,0: 72:[5, 2, 65] Operation: 90-25=65
Exploring Operation: 90/5=18, Resulting Numbers: [25, 2, 18]
Generated Node #0,1: 72:[25, 2, 18] Operation: 90/5=18
Exploring Operation: 90/2=45, Resulting Numbers: [5, 25, 45]
Generated Node #0,2: 72:[5, 25, 45] Operation: 90/2=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[25, 2, 18], Operations: ['90/5=18']
Exploring Operation: 25-18=7, Resulting Numbers: [2, 7]
Generated Node #0,1,0: 72:[2, 7] Operation: 25-18=7
Exploring Operation: 25-2=23, Resulting Numbers: [18, 23]
Generated Node #0,1,1: 72:[18, 23] Operation: 25-2=23
Exploring Operation: 2*18=36, Resulting Numbers: [25, 36]
Generated Node #0,1,2: 72:[25, 36] Operation: 2*18=36
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 72:[2, 7], Operations: ['90/5=18', '25-18=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,72 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,72 unequal: No Solution
No 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: 72:[18, 23], Operations: ['90/5=18', '25-2=23']
Exploring Operation: 18+23=41, Resulting Numbers: [41]
41,72 unequal: No Solution
Exploring Operation: 18*23=414, Resulting Numbers: [414]
414,72 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,72 unequal: No Solution
No 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: 72:[25, 36], Operations: ['90/5=18', '2*18=36']
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 25+36=61, Resulting Numbers: [61]
61,72 unequal: No Solution
Exploring Operation: 25*36=900, Resulting Numbers: [900]
900,72 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: 72:[5, 2, 65], Operations: ['90-25=65']
Exploring Operation: 5+65=70, Resulting Numbers: [2, 70]
Generated Node #0,0,0: 72:[2, 70] Operation: 5+65=70
Exploring Operation: 2+65=67, Resulting Numbers: [5, 67]
Generated Node #0,0,1: 72:[5, 67] Operation: 2+65=67
Exploring Operation: 65/5=13, Resulting Numbers: [2, 13]
Generated Node #0,0,2: 72:[2, 13] Operation: 65/5=13
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 72:[2, 13], Operations: ['90-25=65', '65/5=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,72 unequal: No Solution
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,72 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,72 unequal: No Solution
No 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: 72:[2, 70], Operations: ['90-25=65', '5+65=70']
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[5, 25, 90, 2], Operations: []
Exploring Operation: 90-25=65, Resulting Numbers: [5, 2, 65]
Generated Node #0,0: 72:[5, 2, 65] Operation: 90-25=65
Moving to Node #0,0
Current State: 72:[5, 2, 65], Operations: ['90-25=65']
Exploring Operation: 5+65=70, Resulting Numbers: [2, 70]
Generated Node #0,0,0: 72:[2, 70] Operation: 5+65=70
Moving to Node #0,0,0
Current State: 72:[2, 70], Operations: ['90-25=65', '5+65=70']
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
6,
63,
75,
9
] | 52 | [
"75-9=66",
"66/6=11",
"63-11=52"
] | Current State: 52:[6, 63, 75, 9], Operations: []
Exploring Operation: 75-9=66, Resulting Numbers: [6, 63, 66]
Generated Node #2: [6, 63, 66] from Operation: 75-9=66
Current State: 52:[6, 63, 66], Operations: ['75-9=66']
Exploring Operation: 66/6=11, Resulting Numbers: [63, 11]
Generated Node #3: [63, 11] from Operation: 66/6=11
Current State: 52:[63, 11], Operations: ['75-9=66', '66/6=11']
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[6, 63, 75, 9], Operations: []
Exploring Operation: 63/9=7, Resulting Numbers: [6, 75, 7]
Generated Node #0,0: 52:[6, 75, 7] Operation: 63/9=7
Exploring Operation: 75-63=12, Resulting Numbers: [6, 9, 12]
Generated Node #0,1: 52:[6, 9, 12] Operation: 75-63=12
Exploring Operation: 63-9=54, Resulting Numbers: [6, 75, 54]
Generated Node #0,2: 52:[6, 75, 54] Operation: 63-9=54
Exploring Operation: 75-9=66, Resulting Numbers: [6, 63, 66]
Generated Node #0,3: 52:[6, 63, 66] Operation: 75-9=66
Moving to Node #0,1
Current State: 52:[6, 9, 12], Operations: ['75-63=12']
Exploring Operation: 12-9=3, Resulting Numbers: [6, 3]
Generated Node #0,1,0: 52:[6, 3] Operation: 12-9=3
Exploring Operation: 9-6=3, Resulting Numbers: [12, 3]
Generated Node #0,1,1: 52:[12, 3] Operation: 9-6=3
Exploring Operation: 6*9=54, Resulting Numbers: [12, 54]
Generated Node #0,1,2: 52:[12, 54] Operation: 6*9=54
Exploring Operation: 6+9=15, Resulting Numbers: [12, 15]
Generated Node #0,1,3: 52:[12, 15] Operation: 6+9=15
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[12, 3], Operations: ['75-63=12', '9-6=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,52 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[6, 3], Operations: ['75-63=12', '12-9=3']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,52 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,52 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 52:[12, 54], Operations: ['75-63=12', '6*9=54']
Exploring Operation: 12+54=66, Resulting Numbers: [66]
66,52 unequal: No Solution
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,52 unequal: No Solution
Exploring Operation: 12*54=648, Resulting Numbers: [648]
648,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 52:[12, 15], Operations: ['75-63=12', '6+9=15']
Exploring Operation: 12*15=180, Resulting Numbers: [180]
180,52 unequal: No Solution
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,52 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: 52:[6, 63, 66], Operations: ['75-9=66']
Exploring Operation: 66-6=60, Resulting Numbers: [63, 60]
Generated Node #0,3,0: 52:[63, 60] Operation: 66-6=60
Exploring Operation: 66-63=3, Resulting Numbers: [6, 3]
Generated Node #0,3,1: 52:[6, 3] Operation: 66-63=3
Exploring Operation: 63-6=57, Resulting Numbers: [66, 57]
Generated Node #0,3,2: 52:[66, 57] Operation: 63-6=57
Exploring Operation: 66/6=11, Resulting Numbers: [63, 11]
Generated Node #0,3,3: 52:[63, 11] Operation: 66/6=11
Moving to Node #0,2
Current State: 52:[6, 75, 54], Operations: ['63-9=54']
Exploring Operation: 54-6=48, Resulting Numbers: [75, 48]
Generated Node #0,2,0: 52:[75, 48] Operation: 54-6=48
Exploring Operation: 54/6=9, Resulting Numbers: [75, 9]
Generated Node #0,2,1: 52:[75, 9] Operation: 54/6=9
Exploring Operation: 75-6=69, Resulting Numbers: [54, 69]
Generated Node #0,2,2: 52:[54, 69] Operation: 75-6=69
Exploring Operation: 75-54=21, Resulting Numbers: [6, 21]
Generated Node #0,2,3: 52:[6, 21] Operation: 75-54=21
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 52:[6, 21], Operations: ['63-9=54', '75-54=21']
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,52 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 52:[54, 69], Operations: ['63-9=54', '75-6=69']
Exploring Operation: 54*69=3726, Resulting Numbers: [3726]
3726,52 unequal: No Solution
Exploring Operation: 69-54=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 54+69=123, Resulting Numbers: [123]
123,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 52:[75, 48], Operations: ['63-9=54', '54-6=48']
Exploring Operation: 75*48=3600, Resulting Numbers: [3600]
3600,52 unequal: No Solution
Exploring Operation: 75+48=123, Resulting Numbers: [123]
123,52 unequal: No Solution
Exploring Operation: 75-48=27, Resulting Numbers: [27]
27,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 52:[75, 9], Operations: ['63-9=54', '54/6=9']
Exploring Operation: 75*9=675, Resulting Numbers: [675]
675,52 unequal: No Solution
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,52 unequal: No Solution
Exploring Operation: 75+9=84, Resulting Numbers: [84]
84,52 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: 52:[6, 75, 7], Operations: ['63/9=7']
Exploring Operation: 75-6=69, Resulting Numbers: [7, 69]
Generated Node #0,0,0: 52:[7, 69] Operation: 75-6=69
Exploring Operation: 6+7=13, Resulting Numbers: [75, 13]
Generated Node #0,0,1: 52:[75, 13] Operation: 6+7=13
Exploring Operation: 7-6=1, Resulting Numbers: [75, 1]
Generated Node #0,0,2: 52:[75, 1] Operation: 7-6=1
Exploring Operation: 75-7=68, Resulting Numbers: [6, 68]
Generated Node #0,0,3: 52:[6, 68] Operation: 75-7=68
Moving to Node #0,3,1
Current State: 52:[6, 3], Operations: ['75-9=66', '66-63=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,52 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,52 unequal: No Solution
Moving to Node #0,3,3
Current State: 52:[63, 11], Operations: ['75-9=66', '66/6=11']
Exploring Operation: 63+11=74, Resulting Numbers: [74]
74,52 unequal: No Solution
Exploring Operation: 63*11=693, Resulting Numbers: [693]
693,52 unequal: No Solution
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[6, 63, 75, 9], Operations: []
Exploring Operation: 75-9=66, Resulting Numbers: [6, 63, 66]
Generated Node #0,3: 52:[6, 63, 66] Operation: 75-9=66
Moving to Node #0,3
Current State: 52:[6, 63, 66], Operations: ['75-9=66']
Exploring Operation: 66/6=11, Resulting Numbers: [63, 11]
Generated Node #0,3,3: 52:[63, 11] Operation: 66/6=11
Moving to Node #0,3,3
Current State: 52:[63, 11], Operations: ['75-9=66', '66/6=11']
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.950521 | hs_4 | sum_heuristic |
[
77,
81,
80,
50
] | 27 | [
"77-50=27",
"81-80=1",
"27*1=27"
] | Current State: 27:[77, 81, 80, 50], Operations: []
Exploring Operation: 77-50=27, Resulting Numbers: [81, 80, 27]
Generated Node #2: [81, 80, 27] from Operation: 77-50=27
Current State: 27:[81, 80, 27], Operations: ['77-50=27']
Exploring Operation: 81-80=1, Resulting Numbers: [27, 1]
Generated Node #3: [27, 1] from Operation: 81-80=1
Current State: 27:[27, 1], Operations: ['77-50=27', '81-80=1']
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[77, 81, 80, 50], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [81, 50, 3]
Generated Node #0,0: 27:[81, 50, 3] Operation: 80-77=3
Exploring Operation: 81-80=1, Resulting Numbers: [77, 50, 1]
Generated Node #0,1: 27:[77, 50, 1] Operation: 81-80=1
Exploring Operation: 81-77=4, Resulting Numbers: [80, 50, 4]
Generated Node #0,2: 27:[80, 50, 4] Operation: 81-77=4
Exploring Operation: 81-50=31, Resulting Numbers: [77, 80, 31]
Generated Node #0,3: 27:[77, 80, 31] Operation: 81-50=31
Exploring Operation: 77-50=27, Resulting Numbers: [81, 80, 27]
Generated Node #0,4: 27:[81, 80, 27] Operation: 77-50=27
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[77, 50, 1], Operations: ['81-80=1']
Exploring Operation: 77*1=77, Resulting Numbers: [50, 77]
Generated Node #0,1,0: 27:[50, 77] Operation: 77*1=77
Exploring Operation: 77-50=27, Resulting Numbers: [1, 27]
Generated Node #0,1,1: 27:[1, 27] Operation: 77-50=27
Exploring Operation: 77/1=77, Resulting Numbers: [50, 77]
Generated Node #0,1,2: 27:[50, 77] Operation: 77/1=77
Exploring Operation: 50-1=49, Resulting Numbers: [77, 49]
Generated Node #0,1,3: 27:[77, 49] Operation: 50-1=49
Exploring Operation: 77-1=76, Resulting Numbers: [50, 76]
Generated Node #0,1,4: 27:[50, 76] Operation: 77-1=76
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 27:[1, 27], Operations: ['81-80=1', '77-50=27']
Exploring Operation: 1*27=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[77, 81, 80, 50], Operations: []
Exploring Operation: 81-80=1, Resulting Numbers: [77, 50, 1]
Generated Node #0,1: 27:[77, 50, 1] Operation: 81-80=1
Moving to Node #0,1
Current State: 27:[77, 50, 1], Operations: ['81-80=1']
Exploring Operation: 77-50=27, Resulting Numbers: [1, 27]
Generated Node #0,1,1: 27:[1, 27] Operation: 77-50=27
Moving to Node #0,1,1
Current State: 27:[1, 27], Operations: ['81-80=1', '77-50=27']
Exploring Operation: 1*27=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
42,
12,
72,
9
] | 66 | [
"42+12=54",
"54/9=6",
"72-6=66"
] | Current State: 66:[42, 12, 72, 9], Operations: []
Exploring Operation: 42+12=54, Resulting Numbers: [72, 9, 54]
Generated Node #2: [72, 9, 54] from Operation: 42+12=54
Current State: 66:[72, 9, 54], Operations: ['42+12=54']
Exploring Operation: 54/9=6, Resulting Numbers: [72, 6]
Generated Node #3: [72, 6] from Operation: 54/9=6
Current State: 66:[72, 6], Operations: ['42+12=54', '54/9=6']
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[42, 12, 72, 9], Operations: []
Exploring Operation: 42-9=33, Resulting Numbers: [12, 72, 33]
Generated Node #0,0: 66:[12, 72, 33] Operation: 42-9=33
Exploring Operation: 72-42=30, Resulting Numbers: [12, 9, 30]
Generated Node #0,1: 66:[12, 9, 30] Operation: 72-42=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[12, 9, 30], Operations: ['72-42=30']
Exploring Operation: 12-9=3, Resulting Numbers: [30, 3]
Generated Node #0,1,0: 66:[30, 3] Operation: 12-9=3
Exploring Operation: 30-9=21, Resulting Numbers: [12, 21]
Generated Node #0,1,1: 66:[12, 21] Operation: 30-9=21
Moving to Node #0,1,1
Current State: 66:[12, 21], Operations: ['72-42=30', '30-9=21']
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[30, 3], Operations: ['72-42=30', '12-9=3']
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[12, 72, 33], Operations: ['42-9=33']
Exploring Operation: 72/12=6, Resulting Numbers: [33, 6]
Generated Node #0,0,0: 66:[33, 6] Operation: 72/12=6
Exploring Operation: 72-12=60, Resulting Numbers: [33, 60]
Generated Node #0,0,1: 66:[33, 60] Operation: 72-12=60
Moving to Node #0,0,0
Current State: 66:[33, 6], Operations: ['42-9=33', '72/12=6']
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,66 unequal: No Solution
Exploring Operation: 33+6=39, Resulting Numbers: [39]
39,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[33, 60], Operations: ['42-9=33', '72-12=60']
Exploring Operation: 33+60=93, Resulting Numbers: [93]
93,66 unequal: No Solution
Exploring Operation: 60-33=27, Resulting Numbers: [27]
27,66 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 |
[
99,
10,
48,
17
] | 30 | [
"99-48=51",
"10*51=510",
"510/17=30"
] | Current State: 30:[99, 10, 48, 17], Operations: []
Exploring Operation: 99-48=51, Resulting Numbers: [10, 17, 51]
Generated Node #2: [10, 17, 51] from Operation: 99-48=51
Current State: 30:[10, 17, 51], Operations: ['99-48=51']
Exploring Operation: 10*51=510, Resulting Numbers: [17, 510]
Generated Node #3: [17, 510] from Operation: 10*51=510
Current State: 30:[17, 510], Operations: ['99-48=51', '10*51=510']
Exploring Operation: 510/17=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[99, 10, 48, 17], Operations: []
Exploring Operation: 48-17=31, Resulting Numbers: [99, 10, 31]
Generated Node #0,0: 30:[99, 10, 31] Operation: 48-17=31
Exploring Operation: 99-48=51, Resulting Numbers: [10, 17, 51]
Generated Node #0,1: 30:[10, 17, 51] Operation: 99-48=51
Exploring Operation: 99-10=89, Resulting Numbers: [48, 17, 89]
Generated Node #0,2: 30:[48, 17, 89] Operation: 99-10=89
Exploring Operation: 99-17=82, Resulting Numbers: [10, 48, 82]
Generated Node #0,3: 30:[10, 48, 82] Operation: 99-17=82
Moving to Node #0,1
Current State: 30:[10, 17, 51], Operations: ['99-48=51']
Exploring Operation: 51-10=41, Resulting Numbers: [17, 41]
Generated Node #0,1,0: 30:[17, 41] Operation: 51-10=41
Exploring Operation: 51/17=3, Resulting Numbers: [10, 3]
Generated Node #0,1,1: 30:[10, 3] Operation: 51/17=3
Exploring Operation: 17-10=7, Resulting Numbers: [51, 7]
Generated Node #0,1,2: 30:[51, 7] Operation: 17-10=7
Exploring Operation: 51-17=34, Resulting Numbers: [10, 34]
Generated Node #0,1,3: 30:[10, 34] Operation: 51-17=34
Moving to Node #0,3
Current State: 30:[10, 48, 82], Operations: ['99-17=82']
Exploring Operation: 82-48=34, Resulting Numbers: [10, 34]
Generated Node #0,3,0: 30:[10, 34] Operation: 82-48=34
Exploring Operation: 10+48=58, Resulting Numbers: [82, 58]
Generated Node #0,3,1: 30:[82, 58] Operation: 10+48=58
Exploring Operation: 48-10=38, Resulting Numbers: [82, 38]
Generated Node #0,3,2: 30:[82, 38] Operation: 48-10=38
Exploring Operation: 82-10=72, Resulting Numbers: [48, 72]
Generated Node #0,3,3: 30:[48, 72] Operation: 82-10=72
Moving to Node #0,0
Current State: 30:[99, 10, 31], Operations: ['48-17=31']
Exploring Operation: 99-31=68, Resulting Numbers: [10, 68]
Generated Node #0,0,0: 30:[10, 68] Operation: 99-31=68
Exploring Operation: 99-10=89, Resulting Numbers: [31, 89]
Generated Node #0,0,1: 30:[31, 89] Operation: 99-10=89
Exploring Operation: 31-10=21, Resulting Numbers: [99, 21]
Generated Node #0,0,2: 30:[99, 21] Operation: 31-10=21
Exploring Operation: 99+10=109, Resulting Numbers: [31, 109]
Generated Node #0,0,3: 30:[31, 109] Operation: 99+10=109
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[10, 68], Operations: ['48-17=31', '99-31=68']
Exploring Operation: 10*68=680, Resulting Numbers: [680]
680,30 unequal: No Solution
Exploring Operation: 68-10=58, Resulting Numbers: [58]
58,30 unequal: No Solution
Exploring Operation: 10+68=78, Resulting Numbers: [78]
78,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[31, 89], Operations: ['48-17=31', '99-10=89']
Exploring Operation: 89-31=58, Resulting Numbers: [58]
58,30 unequal: No Solution
Exploring Operation: 31*89=2759, Resulting Numbers: [2759]
2759,30 unequal: No Solution
Exploring Operation: 31+89=120, Resulting Numbers: [120]
120,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 30:[99, 21], Operations: ['48-17=31', '31-10=21']
Exploring Operation: 99*21=2079, Resulting Numbers: [2079]
2079,30 unequal: No Solution
Exploring Operation: 99-21=78, Resulting Numbers: [78]
78,30 unequal: No Solution
Exploring Operation: 99+21=120, Resulting Numbers: [120]
120,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 30:[31, 109], Operations: ['48-17=31', '99+10=109']
Exploring Operation: 31+109=140, Resulting Numbers: [140]
140,30 unequal: No Solution
Exploring Operation: 31*109=3379, Resulting Numbers: [3379]
3379,30 unequal: No Solution
Exploring Operation: 109-31=78, Resulting Numbers: [78]
78,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 30:[48, 17, 89], Operations: ['99-10=89']
Exploring Operation: 48+17=65, Resulting Numbers: [89, 65]
Generated Node #0,2,0: 30:[89, 65] Operation: 48+17=65
Exploring Operation: 48-17=31, Resulting Numbers: [89, 31]
Generated Node #0,2,1: 30:[89, 31] Operation: 48-17=31
Exploring Operation: 89-17=72, Resulting Numbers: [48, 72]
Generated Node #0,2,2: 30:[48, 72] Operation: 89-17=72
Exploring Operation: 89-48=41, Resulting Numbers: [17, 41]
Generated Node #0,2,3: 30:[17, 41] Operation: 89-48=41
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 30:[17, 41], Operations: ['99-10=89', '89-48=41']
Exploring Operation: 17+41=58, Resulting Numbers: [58]
58,30 unequal: No Solution
Exploring Operation: 17*41=697, Resulting Numbers: [697]
697,30 unequal: No Solution
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 30:[89, 31], Operations: ['99-10=89', '48-17=31']
Exploring Operation: 89*31=2759, Resulting Numbers: [2759]
2759,30 unequal: No Solution
Exploring Operation: 89+31=120, Resulting Numbers: [120]
120,30 unequal: No Solution
Exploring Operation: 89-31=58, Resulting Numbers: [58]
58,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 30:[48, 72], Operations: ['99-10=89', '89-17=72']
Exploring Operation: 48*72=3456, Resulting Numbers: [3456]
3456,30 unequal: No Solution
Exploring Operation: 48+72=120, Resulting Numbers: [120]
120,30 unequal: No Solution
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 30:[89, 65], Operations: ['99-10=89', '48+17=65']
Exploring Operation: 89+65=154, Resulting Numbers: [154]
154,30 unequal: No Solution
Exploring Operation: 89*65=5785, Resulting Numbers: [5785]
5785,30 unequal: No Solution
Exploring Operation: 89-65=24, Resulting Numbers: [24]
24,30 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: 30:[10, 3], Operations: ['99-48=51', '51/17=3']
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[99, 10, 48, 17], Operations: []
Exploring Operation: 99-48=51, Resulting Numbers: [10, 17, 51]
Generated Node #0,1: 30:[10, 17, 51] Operation: 99-48=51
Moving to Node #0,1
Current State: 30:[10, 17, 51], Operations: ['99-48=51']
Exploring Operation: 51/17=3, Resulting Numbers: [10, 3]
Generated Node #0,1,1: 30:[10, 3] Operation: 51/17=3
Moving to Node #0,1,1
Current State: 30:[10, 3], Operations: ['99-48=51', '51/17=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.955729 | hs_4 | sum_heuristic |
[
74,
55,
64,
30
] | 58 | [
"74-64=10",
"30/10=3",
"55+3=58"
] | Current State: 58:[74, 55, 64, 30], Operations: []
Exploring Operation: 74-64=10, Resulting Numbers: [55, 30, 10]
Generated Node #2: [55, 30, 10] from Operation: 74-64=10
Current State: 58:[55, 30, 10], Operations: ['74-64=10']
Exploring Operation: 30/10=3, Resulting Numbers: [55, 3]
Generated Node #3: [55, 3] from Operation: 30/10=3
Current State: 58:[55, 3], Operations: ['74-64=10', '30/10=3']
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[74, 55, 64, 30], Operations: []
Exploring Operation: 74-64=10, Resulting Numbers: [55, 30, 10]
Generated Node #0,0: 58:[55, 30, 10] Operation: 74-64=10
Exploring Operation: 74-55=19, Resulting Numbers: [64, 30, 19]
Generated Node #0,1: 58:[64, 30, 19] Operation: 74-55=19
Exploring Operation: 74-30=44, Resulting Numbers: [55, 64, 44]
Generated Node #0,2: 58:[55, 64, 44] Operation: 74-30=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[55, 30, 10], Operations: ['74-64=10']
Exploring Operation: 30/10=3, Resulting Numbers: [55, 3]
Generated Node #0,0,0: 58:[55, 3] Operation: 30/10=3
Exploring Operation: 55-30=25, Resulting Numbers: [10, 25]
Generated Node #0,0,1: 58:[10, 25] Operation: 55-30=25
Exploring Operation: 55+10=65, Resulting Numbers: [30, 65]
Generated Node #0,0,2: 58:[30, 65] Operation: 55+10=65
Moving to Node #0,0,0
Current State: 58:[55, 3], Operations: ['74-64=10', '30/10=3']
Exploring Operation: 55*3=165, Resulting Numbers: [165]
165,58 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,58 unequal: No Solution
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[74, 55, 64, 30], Operations: []
Exploring Operation: 74-64=10, Resulting Numbers: [55, 30, 10]
Generated Node #0,0: 58:[55, 30, 10] Operation: 74-64=10
Moving to Node #0,0
Current State: 58:[55, 30, 10], Operations: ['74-64=10']
Exploring Operation: 30/10=3, Resulting Numbers: [55, 3]
Generated Node #0,0,0: 58:[55, 3] Operation: 30/10=3
Moving to Node #0,0,0
Current State: 58:[55, 3], Operations: ['74-64=10', '30/10=3']
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
42,
19,
77,
35
] | 34 | [
"19*77=1463",
"1463-35=1428",
"1428/42=34"
] | Current State: 34:[42, 19, 77, 35], Operations: []
Exploring Operation: 19*77=1463, Resulting Numbers: [42, 35, 1463]
Generated Node #2: [42, 35, 1463] from Operation: 19*77=1463
Current State: 34:[42, 35, 1463], Operations: ['19*77=1463']
Exploring Operation: 1463-35=1428, Resulting Numbers: [42, 1428]
Generated Node #3: [42, 1428] from Operation: 1463-35=1428
Current State: 34:[42, 1428], Operations: ['19*77=1463', '1463-35=1428']
Exploring Operation: 1428/42=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[42, 19, 77, 35], Operations: []
Exploring Operation: 77-19=58, Resulting Numbers: [42, 35, 58]
Generated Node #0,0: 34:[42, 35, 58] Operation: 77-19=58
Exploring Operation: 77-42=35, Resulting Numbers: [19, 35, 35]
Generated Node #0,1: 34:[19, 35, 35] Operation: 77-42=35
Exploring Operation: 77-35=42, Resulting Numbers: [42, 19, 42]
Generated Node #0,2: 34:[42, 19, 42] Operation: 77-35=42
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[19, 35, 35], Operations: ['77-42=35']
Exploring Operation: 35-19=16, Resulting Numbers: [35, 16]
Generated Node #0,1,0: 34:[35, 16] Operation: 35-19=16
Exploring Operation: 35-19=16, Resulting Numbers: [35, 16]
Generated Node #0,1,1: 34:[35, 16] Operation: 35-19=16
Exploring Operation: 35/35=1, Resulting Numbers: [19, 1]
Generated Node #0,1,2: 34:[19, 1] Operation: 35/35=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 34:[35, 16], Operations: ['77-42=35', '35-19=16']
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 35+16=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Exploring Operation: 35*16=560, Resulting Numbers: [560]
560,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[35, 16], Operations: ['77-42=35', '35-19=16']
Exploring Operation: 35*16=560, Resulting Numbers: [560]
560,34 unequal: No Solution
Exploring Operation: 35+16=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 34:[19, 1], Operations: ['77-42=35', '35/35=1']
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[42, 19, 42], Operations: ['77-35=42']
Exploring Operation: 42-42=0, Resulting Numbers: [19, 0]
Generated Node #0,2,0: 34:[19, 0] Operation: 42-42=0
Exploring Operation: 42/42=1, Resulting Numbers: [19, 1]
Generated Node #0,2,1: 34:[19, 1] Operation: 42/42=1
Exploring Operation: 42-19=23, Resulting Numbers: [42, 23]
Generated Node #0,2,2: 34:[42, 23] Operation: 42-19=23
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 34:[19, 1], Operations: ['77-35=42', '42/42=1']
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 34:[19, 0], Operations: ['77-35=42', '42-42=0']
Exploring Operation: 19-0=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 19*0=0, Resulting Numbers: [0]
0,34 unequal: No Solution
Exploring Operation: 19+0=19, Resulting Numbers: [19]
19,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 34:[42, 23], Operations: ['77-35=42', '42-19=23']
Exploring Operation: 42*23=966, Resulting Numbers: [966]
966,34 unequal: No Solution
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 42+23=65, Resulting Numbers: [65]
65,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[42, 35, 58], Operations: ['77-19=58']
Exploring Operation: 42-35=7, Resulting Numbers: [58, 7]
Generated Node #0,0,0: 34:[58, 7] Operation: 42-35=7
Exploring Operation: 58-35=23, Resulting Numbers: [42, 23]
Generated Node #0,0,1: 34:[42, 23] Operation: 58-35=23
Exploring Operation: 58-42=16, Resulting Numbers: [35, 16]
Generated Node #0,0,2: 34:[35, 16] Operation: 58-42=16
Moving to Node #0,0,2
Current State: 34:[35, 16], Operations: ['77-19=58', '58-42=16']
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 35+16=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Exploring Operation: 35*16=560, Resulting Numbers: [560]
560,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[42, 23], Operations: ['77-19=58', '58-35=23']
Exploring Operation: 42*23=966, Resulting Numbers: [966]
966,34 unequal: No Solution
Exploring Operation: 42+23=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[58, 7], Operations: ['77-19=58', '42-35=7']
Exploring Operation: 58*7=406, Resulting Numbers: [406]
406,34 unequal: No Solution
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,34 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 |
[
21,
4,
72,
89
] | 86 | [
"89-21=68",
"72/4=18",
"68+18=86"
] | Current State: 86:[21, 4, 72, 89], Operations: []
Exploring Operation: 89-21=68, Resulting Numbers: [4, 72, 68]
Generated Node #2: [4, 72, 68] from Operation: 89-21=68
Current State: 86:[4, 72, 68], Operations: ['89-21=68']
Exploring Operation: 72/4=18, Resulting Numbers: [68, 18]
Generated Node #3: [68, 18] from Operation: 72/4=18
Current State: 86:[68, 18], Operations: ['89-21=68', '72/4=18']
Exploring Operation: 68+18=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[21, 4, 72, 89], Operations: []
Exploring Operation: 21+72=93, Resulting Numbers: [4, 89, 93]
Generated Node #0,0: 86:[4, 89, 93] Operation: 21+72=93
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[4, 89, 93], Operations: ['21+72=93']
Exploring Operation: 93-89=4, Resulting Numbers: [4, 4]
Generated Node #0,0,0: 86:[4, 4] Operation: 93-89=4
Moving to Node #0,0,0
Current State: 86:[4, 4], Operations: ['21+72=93', '93-89=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
9,
17,
1,
61
] | 34 | [
"9+17=26",
"61-1=60",
"60-26=34"
] | Current State: 34:[9, 17, 1, 61], Operations: []
Exploring Operation: 9+17=26, Resulting Numbers: [1, 61, 26]
Generated Node #2: [1, 61, 26] from Operation: 9+17=26
Current State: 34:[1, 61, 26], Operations: ['9+17=26']
Exploring Operation: 61-1=60, Resulting Numbers: [26, 60]
Generated Node #3: [26, 60] from Operation: 61-1=60
Current State: 34:[26, 60], Operations: ['9+17=26', '61-1=60']
Exploring Operation: 60-26=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[9, 17, 1, 61], Operations: []
Exploring Operation: 61-17=44, Resulting Numbers: [9, 1, 44]
Generated Node #0,0: 34:[9, 1, 44] Operation: 61-17=44
Exploring Operation: 61-9=52, Resulting Numbers: [17, 1, 52]
Generated Node #0,1: 34:[17, 1, 52] Operation: 61-9=52
Exploring Operation: 9-1=8, Resulting Numbers: [17, 61, 8]
Generated Node #0,2: 34:[17, 61, 8] Operation: 9-1=8
Exploring Operation: 61-1=60, Resulting Numbers: [9, 17, 60]
Generated Node #0,3: 34:[9, 17, 60] Operation: 61-1=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[9, 1, 44], Operations: ['61-17=44']
Exploring Operation: 9-1=8, Resulting Numbers: [44, 8]
Generated Node #0,0,0: 34:[44, 8] Operation: 9-1=8
Exploring Operation: 44-1=43, Resulting Numbers: [9, 43]
Generated Node #0,0,1: 34:[9, 43] Operation: 44-1=43
Exploring Operation: 9+1=10, Resulting Numbers: [44, 10]
Generated Node #0,0,2: 34:[44, 10] Operation: 9+1=10
Exploring Operation: 44-9=35, Resulting Numbers: [1, 35]
Generated Node #0,0,3: 34:[1, 35] Operation: 44-9=35
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 34:[1, 35], Operations: ['61-17=44', '44-9=35']
Exploring Operation: 1+35=36, Resulting Numbers: [36]
36,34 unequal: No Solution
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[9, 17, 1, 61], Operations: []
Exploring Operation: 61-17=44, Resulting Numbers: [9, 1, 44]
Generated Node #0,0: 34:[9, 1, 44] Operation: 61-17=44
Moving to Node #0,0
Current State: 34:[9, 1, 44], Operations: ['61-17=44']
Exploring Operation: 44-9=35, Resulting Numbers: [1, 35]
Generated Node #0,0,3: 34:[1, 35] Operation: 44-9=35
Moving to Node #0,0,3
Current State: 34:[1, 35], Operations: ['61-17=44', '44-9=35']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
49,
9,
15,
81
] | 73 | [
"49+15=64",
"81/9=9",
"64+9=73"
] | Current State: 73:[49, 9, 15, 81], Operations: []
Exploring Operation: 49+15=64, Resulting Numbers: [9, 81, 64]
Generated Node #2: [9, 81, 64] from Operation: 49+15=64
Current State: 73:[9, 81, 64], Operations: ['49+15=64']
Exploring Operation: 81/9=9, Resulting Numbers: [64, 9]
Generated Node #3: [64, 9] from Operation: 81/9=9
Current State: 73:[64, 9], Operations: ['49+15=64', '81/9=9']
Exploring Operation: 64+9=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[49, 9, 15, 81], Operations: []
Exploring Operation: 49+9=58, Resulting Numbers: [15, 81, 58]
Generated Node #0,0: 73:[15, 81, 58] Operation: 49+9=58
Exploring Operation: 49+15=64, Resulting Numbers: [9, 81, 64]
Generated Node #0,1: 73:[9, 81, 64] Operation: 49+15=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[15, 81, 58], Operations: ['49+9=58']
Exploring Operation: 81-15=66, Resulting Numbers: [58, 66]
Generated Node #0,0,0: 73:[58, 66] Operation: 81-15=66
Exploring Operation: 15+58=73, Resulting Numbers: [81, 73]
Generated Node #0,0,1: 73:[81, 73] Operation: 15+58=73
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 73:[81, 73], Operations: ['49+9=58', '15+58=73']
Exploring Operation: 81+73=154, Resulting Numbers: [154]
154,73 unequal: No Solution
Exploring Operation: 81-73=8, Resulting Numbers: [8]
8,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[58, 66], Operations: ['49+9=58', '81-15=66']
Exploring Operation: 66-58=8, Resulting Numbers: [8]
8,73 unequal: No Solution
Exploring Operation: 58+66=124, Resulting Numbers: [124]
124,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[9, 81, 64], Operations: ['49+15=64']
Exploring Operation: 81-9=72, Resulting Numbers: [64, 72]
Generated Node #0,1,0: 73:[64, 72] Operation: 81-9=72
Exploring Operation: 9+64=73, Resulting Numbers: [81, 73]
Generated Node #0,1,1: 73:[81, 73] Operation: 9+64=73
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[81, 73], Operations: ['49+15=64', '9+64=73']
Exploring Operation: 81-73=8, Resulting Numbers: [8]
8,73 unequal: No Solution
Exploring Operation: 81+73=154, Resulting Numbers: [154]
154,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[64, 72], Operations: ['49+15=64', '81-9=72']
Exploring Operation: 64+72=136, Resulting Numbers: [136]
136,73 unequal: No Solution
Exploring Operation: 72-64=8, Resulting Numbers: [8]
8,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
5,
3,
23,
17
] | 55 | [
"5*3=15",
"23+17=40",
"15+40=55"
] | Current State: 55:[5, 3, 23, 17], Operations: []
Exploring Operation: 5*3=15, Resulting Numbers: [23, 17, 15]
Generated Node #2: [23, 17, 15] from Operation: 5*3=15
Current State: 55:[23, 17, 15], Operations: ['5*3=15']
Exploring Operation: 23+17=40, Resulting Numbers: [15, 40]
Generated Node #3: [15, 40] from Operation: 23+17=40
Current State: 55:[15, 40], Operations: ['5*3=15', '23+17=40']
Exploring Operation: 15+40=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[5, 3, 23, 17], Operations: []
Exploring Operation: 23-17=6, Resulting Numbers: [5, 3, 6]
Generated Node #0,0: 55:[5, 3, 6] Operation: 23-17=6
Exploring Operation: 17-5=12, Resulting Numbers: [3, 23, 12]
Generated Node #0,1: 55:[3, 23, 12] Operation: 17-5=12
Exploring Operation: 23-5=18, Resulting Numbers: [3, 17, 18]
Generated Node #0,2: 55:[3, 17, 18] Operation: 23-5=18
Moving to Node #0,0
Current State: 55:[5, 3, 6], Operations: ['23-17=6']
Exploring Operation: 5+6=11, Resulting Numbers: [3, 11]
Generated Node #0,0,0: 55:[3, 11] Operation: 5+6=11
Exploring Operation: 3+6=9, Resulting Numbers: [5, 9]
Generated Node #0,0,1: 55:[5, 9] Operation: 3+6=9
Exploring Operation: 6-3=3, Resulting Numbers: [5, 3]
Generated Node #0,0,2: 55:[5, 3] Operation: 6-3=3
Moving to Node #0,1
Current State: 55:[3, 23, 12], Operations: ['17-5=12']
Exploring Operation: 12/3=4, Resulting Numbers: [23, 4]
Generated Node #0,1,0: 55:[23, 4] Operation: 12/3=4
Exploring Operation: 23-3=20, Resulting Numbers: [12, 20]
Generated Node #0,1,1: 55:[12, 20] Operation: 23-3=20
Exploring Operation: 23-12=11, Resulting Numbers: [3, 11]
Generated Node #0,1,2: 55:[3, 11] Operation: 23-12=11
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 55:[3, 11], Operations: ['17-5=12', '23-12=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 55:[12, 20], Operations: ['17-5=12', '23-3=20']
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Exploring Operation: 12*20=240, Resulting Numbers: [240]
240,55 unequal: No Solution
Exploring Operation: 12+20=32, Resulting Numbers: [32]
32,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 55:[23, 4], Operations: ['17-5=12', '12/3=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,55 unequal: No Solution
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 55:[3, 17, 18], Operations: ['23-5=18']
Exploring Operation: 18-17=1, Resulting Numbers: [3, 1]
Generated Node #0,2,0: 55:[3, 1] Operation: 18-17=1
Exploring Operation: 3*18=54, Resulting Numbers: [17, 54]
Generated Node #0,2,1: 55:[17, 54] Operation: 3*18=54
Exploring Operation: 18/3=6, Resulting Numbers: [17, 6]
Generated Node #0,2,2: 55:[17, 6] Operation: 18/3=6
Moving to Node #0,0,0
Current State: 55:[3, 11], Operations: ['23-17=6', '5+6=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,55 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[5, 3], Operations: ['23-17=6', '6-3=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,55 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[5, 9], Operations: ['23-17=6', '3+6=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,55 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Moving to Node #0,2,0
Current State: 55:[3, 1], Operations: ['23-5=18', '18-17=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,55 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,55 unequal: No Solution
Moving to Node #0,2,1
Current State: 55:[17, 54], Operations: ['23-5=18', '3*18=54']
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,55 unequal: No Solution
Exploring Operation: 17+54=71, Resulting Numbers: [71]
71,55 unequal: No Solution
Exploring Operation: 17*54=918, Resulting Numbers: [918]
918,55 unequal: No Solution
Moving to Node #0,2,2
Current State: 55:[17, 6], Operations: ['23-5=18', '18/3=6']
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,55 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,55 unequal: No Solution
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,55 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
4,
18,
29,
38
] | 61 | [
"29*38=1102",
"1102-4=1098",
"1098/18=61"
] | Current State: 61:[4, 18, 29, 38], Operations: []
Exploring Operation: 29*38=1102, Resulting Numbers: [4, 18, 1102]
Generated Node #2: [4, 18, 1102] from Operation: 29*38=1102
Current State: 61:[4, 18, 1102], Operations: ['29*38=1102']
Exploring Operation: 1102-4=1098, Resulting Numbers: [18, 1098]
Generated Node #3: [18, 1098] from Operation: 1102-4=1098
Current State: 61:[18, 1098], Operations: ['29*38=1102', '1102-4=1098']
Exploring Operation: 1098/18=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[4, 18, 29, 38], Operations: []
Exploring Operation: 4+18=22, Resulting Numbers: [29, 38, 22]
Generated Node #0,0: 61:[29, 38, 22] Operation: 4+18=22
Exploring Operation: 4*18=72, Resulting Numbers: [29, 38, 72]
Generated Node #0,1: 61:[29, 38, 72] Operation: 4*18=72
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[29, 38, 72], Operations: ['4*18=72']
Exploring Operation: 29+38=67, Resulting Numbers: [72, 67]
Generated Node #0,1,0: 61:[72, 67] Operation: 29+38=67
Exploring Operation: 72-29=43, Resulting Numbers: [38, 43]
Generated Node #0,1,1: 61:[38, 43] Operation: 72-29=43
Moving to Node #0,1,0
Current State: 61:[72, 67], Operations: ['4*18=72', '29+38=67']
Exploring Operation: 72-67=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Exploring Operation: 72+67=139, Resulting Numbers: [139]
139,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[38, 43], Operations: ['4*18=72', '72-29=43']
Exploring Operation: 38+43=81, Resulting Numbers: [81]
81,61 unequal: No Solution
Exploring Operation: 43-38=5, Resulting Numbers: [5]
5,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[29, 38, 22], Operations: ['4+18=22']
Exploring Operation: 38+22=60, Resulting Numbers: [29, 60]
Generated Node #0,0,0: 61:[29, 60] Operation: 38+22=60
Exploring Operation: 29+22=51, Resulting Numbers: [38, 51]
Generated Node #0,0,1: 61:[38, 51] Operation: 29+22=51
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[29, 60], Operations: ['4+18=22', '38+22=60']
Exploring Operation: 29+60=89, Resulting Numbers: [89]
89,61 unequal: No Solution
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,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,0,1
Current State: 61:[38, 51], Operations: ['4+18=22', '29+22=51']
Exploring Operation: 38+51=89, Resulting Numbers: [89]
89,61 unequal: No Solution
Exploring Operation: 51-38=13, Resulting Numbers: [13]
13,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 | mult_heuristic |
[
32,
67,
79,
5
] | 72 | [
"67-32=35",
"35/5=7",
"79-7=72"
] | Current State: 72:[32, 67, 79, 5], Operations: []
Exploring Operation: 67-32=35, Resulting Numbers: [79, 5, 35]
Generated Node #2: [79, 5, 35] from Operation: 67-32=35
Current State: 72:[79, 5, 35], Operations: ['67-32=35']
Exploring Operation: 35/5=7, Resulting Numbers: [79, 7]
Generated Node #3: [79, 7] from Operation: 35/5=7
Current State: 72:[79, 7], Operations: ['67-32=35', '35/5=7']
Exploring Operation: 79-7=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[32, 67, 79, 5], Operations: []
Exploring Operation: 79-67=12, Resulting Numbers: [32, 5, 12]
Generated Node #0,0: 72:[32, 5, 12] Operation: 79-67=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[32, 5, 12], Operations: ['79-67=12']
Exploring Operation: 32+5=37, Resulting Numbers: [12, 37]
Generated Node #0,0,0: 72:[12, 37] Operation: 32+5=37
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[12, 37], Operations: ['79-67=12', '32+5=37']
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
62,
60,
2,
27
] | 52 | [
"62-60=2",
"2*27=54",
"54-2=52"
] | Current State: 52:[62, 60, 2, 27], Operations: []
Exploring Operation: 62-60=2, Resulting Numbers: [2, 27, 2]
Generated Node #2: [2, 27, 2] from Operation: 62-60=2
Current State: 52:[2, 27, 2], Operations: ['62-60=2']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,52 equal: Goal Reached
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[62, 60, 2, 27], Operations: []
Exploring Operation: 62-60=2, Resulting Numbers: [2, 27, 2]
Generated Node #0,0: 52:[2, 27, 2] Operation: 62-60=2
Exploring Operation: 62/2=31, Resulting Numbers: [60, 27, 31]
Generated Node #0,1: 52:[60, 27, 31] Operation: 62/2=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[2, 27, 2], Operations: ['62-60=2']
Exploring Operation: 2+2=4, Resulting Numbers: [27, 4]
Generated Node #0,0,0: 52:[27, 4] Operation: 2+2=4
Exploring Operation: 27-2=25, Resulting Numbers: [2, 25]
Generated Node #0,0,1: 52:[2, 25] Operation: 27-2=25
Moving to Node #0,0,0
Current State: 52:[27, 4], Operations: ['62-60=2', '2+2=4']
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,52 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[2, 25], Operations: ['62-60=2', '27-2=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,52 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[60, 27, 31], Operations: ['62/2=31']
Exploring Operation: 60-31=29, Resulting Numbers: [27, 29]
Generated Node #0,1,0: 52:[27, 29] Operation: 60-31=29
Exploring Operation: 31-27=4, Resulting Numbers: [60, 4]
Generated Node #0,1,1: 52:[60, 4] Operation: 31-27=4
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[27, 29], Operations: ['62/2=31', '60-31=29']
Exploring Operation: 27+29=56, Resulting Numbers: [56]
56,52 unequal: No Solution
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 52:[60, 4], Operations: ['62/2=31', '31-27=4']
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,52 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
43,
36,
49,
86
] | 42 | [
"43+36=79",
"86-49=37",
"79-37=42"
] | Current State: 42:[43, 36, 49, 86], Operations: []
Exploring Operation: 43+36=79, Resulting Numbers: [49, 86, 79]
Generated Node #2: [49, 86, 79] from Operation: 43+36=79
Current State: 42:[49, 86, 79], Operations: ['43+36=79']
Exploring Operation: 86-49=37, Resulting Numbers: [79, 37]
Generated Node #3: [79, 37] from Operation: 86-49=37
Current State: 42:[79, 37], Operations: ['43+36=79', '86-49=37']
Exploring Operation: 79-37=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[43, 36, 49, 86], Operations: []
Exploring Operation: 86/43=2, Resulting Numbers: [36, 49, 2]
Generated Node #0,0: 42:[36, 49, 2] Operation: 86/43=2
Exploring Operation: 86-49=37, Resulting Numbers: [43, 36, 37]
Generated Node #0,1: 42:[43, 36, 37] Operation: 86-49=37
Moving to Node #0,1
Current State: 42:[43, 36, 37], Operations: ['86-49=37']
Exploring Operation: 37-36=1, Resulting Numbers: [43, 1]
Generated Node #0,1,0: 42:[43, 1] Operation: 37-36=1
Exploring Operation: 43-36=7, Resulting Numbers: [37, 7]
Generated Node #0,1,1: 42:[37, 7] Operation: 43-36=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 42:[43, 1], Operations: ['86-49=37', '37-36=1']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[43, 36, 49, 86], Operations: []
Exploring Operation: 86-49=37, Resulting Numbers: [43, 36, 37]
Generated Node #0,1: 42:[43, 36, 37] Operation: 86-49=37
Moving to Node #0,1
Current State: 42:[43, 36, 37], Operations: ['86-49=37']
Exploring Operation: 37-36=1, Resulting Numbers: [43, 1]
Generated Node #0,1,0: 42:[43, 1] Operation: 37-36=1
Moving to Node #0,1,0
Current State: 42:[43, 1], Operations: ['86-49=37', '37-36=1']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.