OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
FORMULA
a(n) = 1 + A017910(n). - R. J. Mathar, Apr 04 2008
MATHEMATICA
1 + Floor[(Sqrt[2])^Range[0, 50]] (* Vincenzo Librandi, Aug 06 2014 *)
PROG
(PARI) a(n) = for(k=0, 2^(n+1), if(k^2 > 2^n, return(k)))
vector(50, n, a(n-1)) \\ Derek Orr, Aug 05 2014
(Magma) [1+Floor(Sqrt(2^n)): n in [0..45]]; // Vincenzo Librandi, Aug 06 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Giovanni Teofilatto, Apr 01 2008
EXTENSIONS
More terms from R. J. Mathar, Apr 04 2008
STATUS
approved