OFFSET
0,4
LINKS
Andrew Howroyd, Table of n, a(n) for n = 0..10000
PROG
(PARI) seq(n)={my(L=List(), r=1, k=1); while(#L<=n, if(k==r, r++; k=0); k++; if(gcd(k, r-k)==1, listput(L, abs(r-2*k)))); Vec(L)} \\ Andrew Howroyd, Feb 03 2021
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Ron R. King, Mar 07 2009
EXTENSIONS
Terms a(56) and beyond from Andrew Howroyd, Feb 03 2021
STATUS
approved