OFFSET
0,2
COMMENTS
Is the number .12111211111211111112... irrational?
FORMULA
a(n) = 1 + A005369(n+1). - Wesley Ivan Hurt, May 26 2015
MAPLE
A062557:=n->1+floor(sqrt(n+2)+1/2)-floor(sqrt(n+1)+1/2): seq(A062557(n), n=0..100); # Wesley Ivan Hurt, May 26 2015
MATHEMATICA
Table[1 + Floor[Sqrt[n + 2] + 1/2] - Floor[Sqrt[n + 1] + 1/2], {n, 0,
100}] (* Wesley Ivan Hurt, May 26 2015 *)
PROG
(PARI) v=[]; for(n=0, 200, v=concat(v, 1+issquare(5+4*n))); v
(Magma) [1+Floor(Sqrt(n+2)+1/2)-Floor(Sqrt(n+1)+1/2) : n in [0..100]]; // Wesley Ivan Hurt, May 26 2015
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jason Earls, Jul 02 2001
STATUS
approved