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!)
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
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
Sequence in context: A279671 A279179 A279470 * A073768 A278534 A096855
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 17:00 EDT 2024. Contains 372533 sequences. (Running on oeis4.)