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!)
A100596 Numbers k such that (prime(k)-1)! + prime(k)^10 is prime. 1
2, 8, 15, 33, 52, 205, 751 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
k = {2, 8, 15, 33, 52, 205} yields primes p(k) = {3, 19, 47, 137, 239, 1259}. There are no more such k up to k=150. Computed in collaboration with Ray Chandler.
a(7) > 600. - Jinyuan Wang, Apr 10 2020
LINKS
FORMULA
Primes of the form (prime(k)-1)! + prime(k)^10, where prime(k) is the k-th prime.
EXAMPLE
a(1) = 2 because (prime(2)-1)! + prime(2)^10 = (3-1)! + 3^10 = 59051 is the smallest prime of that form.
a(2) = 8 because (prime(8)-1)! + prime(8)^10 = (19-1)! + 19^10 = 6408504771985801 is the 2nd smallest prime of that form.
MATHEMATICA
lst={}; Do[p=Prime[n]; If[PrimeQ[(p-1)!+p^10], AppendTo[lst, n]], {n, 10^2}]; lst (* Vladimir Joseph Stephan Orlovsky, Sep 08 2008 *)
PROG
(Python)
from math import factorial
from sympy import isprime, prime
def afind(limit, startat=1):
for k in range(startat, limit+1):
s = str(k)
pk = prime(k)
if isprime( factorial(pk-1) + pk**10 ):
print(k, end=", ")
afind(100) # Michael S. Branicky, Nov 30 2021
CROSSREFS
Sequence in context: A077598 A095298 A297734 * A295937 A305674 A082638
KEYWORD
nonn,hard,more
AUTHOR
Jonathan Vos Post, Nov 30 2004
EXTENSIONS
a(6) from Jinyuan Wang, Apr 10 2020
a(7) from Michael S. Branicky, Nov 30 2021
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 April 23 12:08 EDT 2024. Contains 371912 sequences. (Running on oeis4.)