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!)
A073308 Numbers k such that k! + k + 1 is prime. 6
0, 1, 2, 4, 6, 10, 52, 6822, 30838 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Clearly, for k>2, k != 2 (mod 3).
Often m! + 2, m! + 3, ..., m! + m is cited as a constructed sequence of m-1 consecutive composite numbers.
Except for 0, k+1 is prime. - Robert Israel, Jan 13 2015
REFERENCES
J.-M. De Koninck, Ces nombres qui nous fascinent, Entry 52, p. 20, Ellipses, Paris 2008.
LINKS
FORMULA
a(n) = A092791(n) - 1. - Seiichi Manyama, Mar 19 2018
MATHEMATICA
f[n_]:=n!+n+1; lst={}; Do[p=f[n]; If[PrimeQ[p], AppendTo[lst, n]], {n, 0, 2*5!}]; lst (* Vladimir Joseph Stephan Orlovsky, Jul 02 2009 *)
PROG
(PARI) for(n=0, 1960, if(isprime(n!+n+1), print1(n, ", ")))
CROSSREFS
Cf. A073309 (corresponding primes), A002981 (n!+1 is prime), A073443 (n!-n-1 is prime), A092791.
Sequence in context: A171447 A207667 A085809 * A058960 A036053 A237816
KEYWORD
nonn,more
AUTHOR
Rick L. Shepherd, Jul 24 2002
EXTENSIONS
a(8) from T. D. Noe, Jan 18 2008
a(9) from Seiichi Manyama (by using the data calculated by Giovanni Resta, May 04 2013), Mar 19 2018
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 13 01:02 EDT 2024. Contains 372497 sequences. (Running on oeis4.)