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

Cf. A000720, A007053.

Sequence in context: A027906 A047135 A291254 * A127359 A289928 A007070

Adjacent sequences:  A248954 A248955 A248956 * A248958 A248959 A248960

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 19 13:03 EDT 2019. Contains 321330 sequences. (Running on oeis4.)