OFFSET
1,2
COMMENTS
RECORDS transform of A064413.
LINKS
T. D. Noe, Table of n, a(n) for n=1..1000
J. C. Lagarias, E. M. Rains and N. J. A. Sloane, The EKG sequence, Exper. Math. 11 (2002), 437-446.
N. J. A. Sloane, Transforms
PROG
(PARI) A064424(N, show=0)={ my(a=min(N, 2), u=0, L=3, m); show & print1(1); for( k=3, N, m=a; show & print1(", "m); for( i=0, 1e9, bittest(u, i) & next; gcd(a, L+i)>1 | next; a=L+i; if( i, u+=1<<i, while( bittest(u, i++), ); u>>=i; L+=i); a>m & break; i=-1)); a } \\ - M. F. Hasler, Nov 28 2010
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Sep 30 2001
EXTENSIONS
More terms from Naohiro Nomoto, Apr 21 2002
STATUS
approved