OFFSET
0,5
LINKS
Altug Alkan, Table of n, a(n) for n = 0..11000
Altug Alkan, A scatterplot of first differences of a(n)
Rémy Sigrist, Density plot of the first 11000000 terms
PROG
(PARI) a = vector(77); print1 (0", "); for (k=1, #a, print1 (a[k]=if (k<=2, 1, my (n=k\2); if (k%2==0, a[2*n-1]-a[n], n-a[n]-a[n+1]))", ")) \\ Rémy Sigrist, Aug 16 2018
CROSSREFS
AUTHOR
Altug Alkan, Aug 16 2018
STATUS
approved