login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A013602 a(n) = nextprime(4^n)-4^n. 6
1, 1, 1, 3, 1, 7, 3, 27, 1, 3, 7, 15, 43, 15, 3, 3, 15, 25, 31, 7, 15, 15, 7, 15, 21, 55, 21, 159, 81, 69, 33, 135, 13, 9, 33, 25, 15, 37, 15, 7, 13, 9, 3, 27, 7, 133, 25, 129, 61, 7, 277, 267, 111, 99, 33, 27, 25, 43, 33, 25, 451, 277, 67, 7, 51, 169, 67, 27, 85, 87 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

LINKS

Daniel Starodubtsev, Table of n, a(n) for n = 0..1000

FORMULA

a(n) = A104082(n) - A000302(n). - Michel Marcus, Aug 13 2019

a(n) = A013597(2*n), n >= 0. - A.H.M. Smeets, Aug 13 2019

MAPLE

seq(nextprime(4^i)-4^i, i=0..100);

MATHEMATICA

np4[n_]:=Module[{c=4^n}, NextPrime[c]-c]; Array[np4, 70, 0] (* Harvey P. Dale, Jan 23 2012 *)

PROG

(PARI) a(n) = nextprime(4^n)-4^n; \\ Michel Marcus, Aug 13 2019

CROSSREFS

Cf. A000302, A104082.

Sequence in context: A189050 A095868 A140962 * A328464 A323956 A086272

Adjacent sequences:  A013599 A013600 A013601 * A013603 A013604 A013605

KEYWORD

nonn

AUTHOR

James Kilfiger (mapdn(AT)csv.warwick.ac.uk)

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 September 19 08:05 EDT 2021. Contains 347556 sequences. (Running on oeis4.)