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!)
A364453 Smallest k such that 5^(5^n) - k is prime. 2
4, 64, 124, 228, 10978, 73738 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
This is to 5 as A058220 is to 2 and A140331 is to 3.
a(7) > 5487.
LINKS
FORMULA
a(n) = A064722(A137841(n)).
EXAMPLE
a(2) = 64 because 5^(5^2) - 64 = 298023223876953061 is prime.
MATHEMATICA
lst={}; Do[Do[p=5^(5^n)-k; If[PrimeQ[p], AppendTo[lst, k]; Break[]], {k, 2, 11!}], {n, 7}]; lst
Table[k=1; Monitor[Parallelize[While[True, If[PrimeQ[5^(5^n)-k], Break[]]; k++]; k], k], {n, 1, 7}]
y[n_] := Module[{x = 5^(5^n)}, x - NextPrime[x, -1]]; Array[y, 7]
PROG
(PARI) a(n) = my(x = 5^(5^n)); x - precprime(x);
CROSSREFS
Sequence in context: A367913 A210935 A090561 * A273375 A016934 A260182
KEYWORD
more,nonn
AUTHOR
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 July 9 02:21 EDT 2024. Contains 374171 sequences. (Running on oeis4.)