The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A136417 Number of squares <= 2^n. 2
2, 2, 3, 3, 5, 6, 9, 12, 17, 23, 33, 46, 65, 91, 129, 182, 257, 363, 513, 725, 1025, 1449, 2049, 2897, 4097, 5793, 8193, 11586, 16385, 23171, 32769, 46341, 65537, 92682, 131073, 185364, 262145, 370728, 524289, 741456, 1048577, 1482911, 2097153 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
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
Cf. A000079.
Sequence in context: A309712 A079955 A192928 * A363672 A322787 A130791
KEYWORD
nonn
AUTHOR
Giovanni Teofilatto, Apr 01 2008
EXTENSIONS
More terms from R. J. Mathar, Apr 04 2008
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 9 03:53 EDT 2024. Contains 373227 sequences. (Running on oeis4.)