The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
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
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
Sequence in context: A189050 A095868 A140962 * A328464 A323956 A086272
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 14 07:09 EDT 2024. Contains 372530 sequences. (Running on oeis4.)