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!)
A076133 Numbers k such that 2*k! - 1 is prime. 11
2, 3, 4, 5, 6, 7, 14, 15, 17, 22, 28, 91, 253, 257, 298, 659, 832, 866, 1849, 2495, 2716, 2773, 2831, 3364, 5264, 7429, 28539, 32123, 37868 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
k = 5 is here because 2*5! - 1 = 239 is prime.
MATHEMATICA
Select[Range[8000], PrimeQ[2 #! - 1] &] (* Vincenzo Librandi, Feb 20 2015 *)
PROG
(Magma) [n: n in [1..600] | IsPrime(2*Factorial(n)-1)]; // Vincenzo Librandi, Feb 20 2015
(PARI) is(k) = ispseudoprime(2*k!-1); \\ Jinyuan Wang, Feb 04 2020
CROSSREFS
Cf. A051915.
Sequence in context: A363331 A363334 A066336 * A277908 A032862 A032886
KEYWORD
nonn,more
AUTHOR
Phillip L. Poplin (plpoplin(AT)bellsouth.net), Oct 30 2002
EXTENSIONS
a(24)-a(29) from Serge Batalov, Feb 18 2015
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 07:41 EDT 2024. Contains 371964 sequences. (Running on oeis4.)