login
This site is supported by donations 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; 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

H. J. Smith, XICalc - Extra Precision Integer Calculator.

FORMULA

a(n) = pi(2^(2^n)) = A007053(2^n).

EXAMPLE

a(3) = 54 because 2^(2^3) = 256 and there are 54 primes <= 256.

PROG

(Other) (XICalc) Pi(2^(2^n));

(PARI) a(n)=primepi(1<<2^n) \\ Charles R Greathouse IV, Dec 05 2011

CROSSREFS

Cf. A001146.

Sequence in context: A085078 A152543 A122593 * A179389 A084123 A193473

Adjacent sequences:  A153447 A153448 A153449 * A153451 A153452 A153453

KEYWORD

nonn

AUTHOR

Harry J. Smith (hjsmithh(AT)sbcglobal.net), Dec 27 2008

EXTENSIONS

a(6) from Charles R Greathouse IV, Dec 05 2011

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 14:50 EST 2012. Contains 206050 sequences.