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!)
A248957 a(n) = PrimePi(4^n) - PrimePi(2^n). 1
0, 1, 4, 14, 48, 161, 546, 1869, 6488, 22903, 81853, 295638, 1077307, 3956781, 14628943, 54396516, 203273679, 762926860, 2874375515, 10866222782, 41203006771, 156660878622, 597116085785, 2280998189786, 8731187785599, 33483377539718, 128625499652666 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
Jon E. Schoenfield, Table of n, a(n) for n = 0..43 (using the terms from the b-file at A007053)
FORMULA
a(n) = A007053(2*n) - A007053(n). - Jon E. Schoenfield, Apr 14 2018
EXAMPLE
For n=3 one has PrimePi(4^3)-PrimePi(2^3) = 18-4 = 14.
MAPLE
with(numtheory): A248957:=n->pi(4^n)-pi(2^n): seq(A248957(n), n=0..12); # Wesley Ivan Hurt, Oct 17 2014
MATHEMATICA
Table[PrimePi[4^n] - PrimePi[2^n], {n, 0, 15}] (* Wesley Ivan Hurt, Oct 17 2014 *)
PROG
(PARI) a(n) = primepi(4^n) - primepi(2^n); \\ Altug Alkan, Apr 14 2018
CROSSREFS
Sequence in context: A331319 A291254 A307127 * A127359 A289928 A007070
KEYWORD
nonn
AUTHOR
Oussama Moutaoikil, Oct 17 2014
EXTENSIONS
a(15)-a(16) from Jon E. Schoenfield, Oct 22 2014
a(17)-a(26) from Chai Wah Wu, Apr 14 2018
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 May 6 13:11 EDT 2024. Contains 372293 sequences. (Running on oeis4.)