login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A037128 a(n) = nextprime(3^n) - nextprime(2^n). 0
0, 2, 6, 18, 66, 214, 666, 2072, 6306, 19166, 58020, 175114, 527358, 1586122, 4766560, 14316138, 42981210, 129009096, 387158352, 1161737214, 3485735826, 10458256090, 31376865294, 94134790242, 282412759224, 847255054990, 2541798719452, 7625463267246, 22876524019528, 68629840494090, 205890058352826 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..30.

FORMULA

a(n) = A014211(n) - A014210(n). - Michel Marcus, Jan 22 2015

MATHEMATICA

Table[NextPrime[3^n] - NextPrime[2^n], {n, 0, 30}] (* Vincenzo Librandi, Jan 22 2015 *)

PROG

(PARI) a(n) = nextprime(3^n+1)-nextprime(2^n+1); \\ Michel Marcus, Jan 22 2015

CROSSREFS

Cf. A014210, A014211.

Sequence in context: A300335 A108066 A052863 * A150075 A150076 A150077

Adjacent sequences:  A037125 A037126 A037127 * A037129 A037130 A037131

KEYWORD

nonn

AUTHOR

N. J. A. Sloane

EXTENSIONS

More terms from Vincenzo Librandi, Jan 22 2015

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 April 22 10:13 EDT 2019. Contains 322330 sequences. (Running on oeis4.)