login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A242349 Largest power of 2 <= n^2. 0
1, 4, 8, 16, 16, 32, 32, 64, 64, 64, 64, 128, 128, 128, 128, 256, 256, 256, 256, 256, 256, 256, 512, 512, 512, 512, 512, 512, 512, 512, 512, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 2048, 2048, 2048, 2048, 2048, 2048 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

The first values of n that produce powers of 4 are precisely the powers of 2.

LINKS

Table of n, a(n) for n=1..51.

EXAMPLE

a(3) = 8 because 3^2 = 9 and the largest power of 2 <= 9 is 8.

PROG

(PARI) a(n)=2^(#binary(n^2)-1) \\ Charles R Greathouse IV, May 11 2014

CROSSREFS

Sequence in context: A312764 A166634 A189007 * A309521 A072603 A123535

Adjacent sequences:  A242346 A242347 A242348 * A242350 A242351 A242352

KEYWORD

nonn,easy

AUTHOR

J. Lowell, May 11 2014

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 21 16:31 EDT 2021. Contains 347598 sequences. (Running on oeis4.)