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!)
A202448 Least k such that k*n!! +1 is a prime number. 0
1, 1, 2, 2, 2, 2, 2, 2, 8, 2, 10, 3, 2, 6, 10, 3, 2, 2, 14, 5, 10, 9, 6, 2, 22, 10, 4, 2, 26, 2, 22, 3, 8, 11, 30, 11, 6, 4, 2, 15, 52, 10, 22, 13, 10, 9, 34, 11, 18, 18, 2, 10, 26, 12, 4, 34, 4, 18, 26, 16, 34, 25, 22, 12, 14, 32, 50, 24, 4, 8, 12, 14, 26, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
EXAMPLE
a(9) = 8 because 8*9!! + 1 = 8*945 + 1 = 7561 is prime.
MATHEMATICA
Table[k = 0; While[!PrimeQ[k*n!! +1], k++]; k, {n, 85}]
CROSSREFS
Cf. A006882.
Sequence in context: A139813 A172009 A299150 * A339165 A129381 A319991
KEYWORD
nonn
AUTHOR
Michel Lagneau, Dec 19 2011
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 12 16:08 EDT 2024. Contains 372492 sequences. (Running on oeis4.)