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!)
A242487 Numbers k such that (2*k)! + k! + 1 is prime. 3
0, 3, 8, 13, 19, 423, 585, 2746, 2855 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
0! + 0! + 1 = 3 is prime.
6! + 3! + 1 = 727 is prime.
MAPLE
select(k->isprime(factorial(2*k)+factorial(k)+1), [$0..600]); # Muniru A Asiru, May 27 2018
MATHEMATICA
Flatten[{0, Select[Range[100], PrimeQ[(2*#)! + #! + 1] &]}] (* Vaclav Kotesovec, Mar 25 2018 *)
PROG
(PARI) isok(k) = ispseudoprime((2*k)!+k!+1); \\ Altug Alkan, Mar 22 2018
CROSSREFS
A300947 gives the primes.
Sequence in context: A081989 A264780 A208276 * A335869 A303592 A120883
KEYWORD
nonn,more
AUTHOR
Seiichi Manyama, Mar 22 2018
EXTENSIONS
a(8)-a(9) from Michael S. Branicky, Apr 16 2023
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 July 20 12:33 EDT 2024. Contains 374445 sequences. (Running on oeis4.)