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!)
A153450 Number of primes <= 2^(2^n) = pi(A001146(n)). 0
1, 2, 6, 54, 6542, 203280221, 425656284035217743 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
The primes up to 2^(2^n) are exactly determined from the primes up to 2^(2^(n-1)), n >= 1, with the sieve of Eratosthenes. This gives an inductive algorithm to find all primes up to any integer (modulo space and time constraints...) This means that all odd primes are ultimately determined by the even prime, 2. - Daniel Forgues, Dec 04 2011
LINKS
FORMULA
a(n) = pi(2^(2^n)) = A007053(2^n).
a(n) = A000720(A001146(n)).
EXAMPLE
a(3) = 54 because 2^(2^3) = 256 and there are 54 primes <= 256.
PROG
(PARI) a(n)=primepi(1<<2^n) \\ Charles R Greathouse IV, Dec 05 2011
CROSSREFS
Sequence in context: A122593 A267348 A264610 * A179389 A084123 A193473
KEYWORD
nonn,more
AUTHOR
Harry J. Smith, Dec 27 2008
EXTENSIONS
a(6) from Charles R Greathouse IV, Dec 05 2011
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 April 19 05:19 EDT 2024. Contains 371782 sequences. (Running on oeis4.)