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!)
A344991 Numbers k such that (2*k+1)*k!-1 is prime. 1
1, 3, 5, 15, 20, 44, 45, 73, 80, 93, 295, 5395 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(13) > 10^4.
LINKS
MAPLE
select(k -> isprime((2*k+1)*k!-1), [$1 .. 300])[];
MATHEMATICA
Do[If[PrimeQ[(2*k + 1)*Factorial[k] - 1], Print[k]], {k, 1, 3000}]
PROG
(PARI) for(k=1, 3000, if(isprime((2*k+1)*k!-1), print1(k", ")))
(SageMath)
for k in range(1, 3000):
if is_prime((2*k+1)*factorial(k) - 1):
print(k)
CROSSREFS
Sequence in context: A220164 A018374 A290297 * A063185 A208854 A165260
KEYWORD
nonn,hard,more
AUTHOR
Reza K Ghazi, Jun 07 2021
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 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)