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!)
A090703 Numbers k such that k*k! + 1 is prime. 3
1, 2, 3, 4, 5, 7, 12, 19, 23, 45, 58, 149, 151, 197, 682, 879, 1134, 1906, 6616, 10242 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = A049432(n)-1.
EXAMPLE
3*3!+1 = 19 and 19 is prime, so 3 is a member.
MATHEMATICA
Do[If[PrimeQ[n*n! + 1], Print[n]], {n, 0, 2000}] (* Mohammed Bouayoun (mohammed.bouayoun(AT)sanef.com), May 05 2006 *)
PROG
(PARI) isok(k) = ispseudoprime(k*k! + 1); \\ Altug Alkan, Mar 22 2018
CROSSREFS
Cf. A049432.
Sequence in context: A240732 A060437 A133428 * A352820 A137357 A100676
KEYWORD
nonn,more
AUTHOR
mohammed bouayoun (bouyao(AT)wanadoo.fr), Jan 15 2004
EXTENSIONS
a(17) from Mohammed Bouayoun (mohammed.bouayoun(AT)sanef.com), May 05 2006
a(18)-a(19) from Jason Earls, Jan 24 2008
a(20) from Seiichi Manyama (by using the data calculated by Donovan Johnson, Dec 18 2009), Mar 22 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 28 20:33 EDT 2024. Contains 372919 sequences. (Running on oeis4.)