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!)
A359180 Numbers k such that k!^2 / 2 + 1 is prime. 0
2, 3, 6, 18, 19, 82, 1298, 3139, 3687, 4637 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
3!^2 / 2 + 1 = 6^2/2 + 1 = 19, a prime number, so 3 is a term.
PROG
(PARI) isok(k) = (k>1) && isprime(k!^2 / 2 + 1); \\ Michel Marcus, Jan 15 2023
CROSSREFS
Sequence in context: A169974 A003183 A213616 * A131788 A294455 A277703
KEYWORD
nonn,hard,more
AUTHOR
Arsen Vardanyan, Dec 18 2022
EXTENSIONS
a(7) from Michael S. Branicky, Dec 18 2022
a(8)-a(10) from Michael S. Branicky, Apr 10 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 April 24 00:30 EDT 2024. Contains 371917 sequences. (Running on oeis4.)