|
|
A064470
|
|
The even subsequence of A064413, divided by 2.
|
|
0
|
|
|
1, 2, 3, 6, 4, 5, 9, 7, 12, 8, 10, 11, 15, 14, 13, 18, 16, 17, 21, 19, 20, 22, 23, 24, 25, 26, 27, 28, 30, 35, 29, 33, 31, 36, 32, 34, 37, 39, 38, 40, 41, 42, 44, 43, 45, 50, 46, 47, 48, 49, 52, 51, 54, 53, 57, 55, 56, 58, 59, 60, 65, 61, 63, 70, 62, 64
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
J. C. Lagarias, E. M. Rains and N. J. A. Sloane, The EKG sequence, Exper. Math. 11 (2002), 437-446.
|
|
MATHEMATICA
|
nmax = 120;
ekg[s_] := Block[{m = s[[-1]], k = 3}, While[MemberQ[s, k] || GCD[m, k] == 1, k++]; Append[s, k]];
EKG = Nest[ekg, {1, 2}, nmax];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|