OFFSET
0,3
COMMENTS
The difference between a(n) and a(n+1) is 22 for a(2) through a(16). Then the difference between a(n) and a(n+1) is 355 for a(17) through a(162). Then it appears that the difference is 104348 for at least some terms beginning with a(163) but computing subsequent terms of the sequence is very slow so it is not easy to know whether or for how long that 104358 difference persists. - Harvey P. Dale, Jun 29 2019
LINKS
Michel Marcus, Table of n, a(n) for n = 0..177 (terms 0..175 from I. V. Serov)
MATHEMATICA
lk[n_]:=Module[{k=n+1, t=Tan[n]}, While[Tan[k]<=t, k++]; k]; NestList[lk, 0, 50] (* Harvey P. Dale, Jun 29 2019 *)
PROG
(PARI) lista(nn) = {last = 0; lastk = 0; print1(lastk, ", "); for (i=1, nn, k = lastk; while (tan(k) <= last, k++; ); print1(k, ", "); last = tan(k); lastk = k; ); } \\ Michel Marcus, Mar 23 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved