OFFSET
1,2
LINKS
Michel Marcus, Table of n, a(n) for n = 1..5000
FORMULA
a(n)/(n*log(n)) seems bounded and maybe a(n) is asymptotic to c*n*log(n) where 3 < c < 5.
PROG
(PARI) isok(m) = {my(N=1000, v=vector(N), prec=m, nb=0); v[1] = prec; for (n=2, N, v[n] = if (prec % 2, prec-n+1, prec/2+n-1); prec = v[n]; if (prec == 2*n-4, nb++); ); nb > N/10; } \\ Michel Marcus, Feb 16 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Sep 16 2002
EXTENSIONS
More terms from Michel Marcus, Feb 15 2021
STATUS
approved