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!)
A013605 a(n) = 5^n-prevprime(5^n). 3
2, 2, 12, 6, 4, 6, 4, 44, 16, 6, 12, 12, 52, 2, 4, 62, 16, 102, 16, 26, 54, 54, 36, 38, 64, 2, 12, 42, 16, 102, 18, 72, 42, 68, 256, 18, 52, 84, 234, 54, 34, 72, 274, 266, 36, 14, 4, 56, 162, 2, 24, 122, 6, 14, 94, 446, 72, 56, 298, 384, 28, 26 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

MAPLE

seq(5^i-prevprime(5^i), i=1..100);

MATHEMATICA

#-NextPrime[#, -1]&/@(5^Range[70])  (* Harvey P. Dale, Mar 12 2011 *)

PROG

(PARI) a(n) = 5^n - precprime(5^n-1); \\ Michel Marcus, Aug 14 2019

CROSSREFS

Cf. A000351, A104090.

Sequence in context: A279671 A279179 A279470 * A073768 A278534 A096855

Adjacent sequences:  A013602 A013603 A013604 * A013606 A013607 A013608

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 May 9 00:09 EDT 2021. Contains 343685 sequences. (Running on oeis4.)