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!)
A109302 Values of k such that prime(k)!+prime(k+1) is prime. 1
1, 2, 3, 4, 21, 93 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The primes of the form prime(n)!+prime(n+1) are in A094108.
If it exists, a(7) > 1397. - J.W.L. (Jan) Eerland, Nov 27 2022
LINKS
EXAMPLE
4 is in the sequence because prime(4)=7, prime(5)=11 and 7!+11=5051 is prime.
MAPLE
a:=proc(n) if isprime(ithprime(n)!+ithprime(n+1))=true then n else fi end: seq(a(n), n=1..50);
MATHEMATICA
Select[Range[100], PrimeQ[Prime[#]!+Prime[#+1]]&] (* Harvey P. Dale, Jun 21 2021 *)
PROG
(PARI) isok(n) = isprime(prime(n)!+prime(n+1)); \\ Michel Marcus, Aug 20 2019
CROSSREFS
Cf. A094108.
Sequence in context: A058780 A183458 A109787 * A081480 A070841 A069801
KEYWORD
nonn,more
AUTHOR
Emeric Deutsch, Jun 24 2005
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 25 11:39 EDT 2024. Contains 371969 sequences. (Running on oeis4.)