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!)
A303937 Numbers k such that k!-1 reversed is a prime. 0
3, 5, 19, 254, 266 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
If it exists, a(6) > 3000. - Jon E. Schoenfield, May 04 2018
If it exists, a(6) > 5703. - J.W.L. (Jan) Eerland, Aug 08 2022
If it exists, a(6) > 10142. - J.W.L. (Jan) Eerland, Aug 14 2022
If it exists, a(6) > 15000. - J.W.L. (Jan) Eerland, Oct 16 2022
If it exists, a(6) > 17506. - J.W.L. (Jan) Eerland, Nov 26 2022
LINKS
EXAMPLE
5 is in the sequence because 5!-1 reversed is 911, which is prime.
MATHEMATICA
ParallelTable[If[PrimeQ[IntegerReverse[Factorial[k]-1]], k, Nothing], {k, 1, 5703}]//.{}->Nothing (* J.W.L. (Jan) Eerland, Aug 08 2022 *)
PROG
(PARI) isok(n) = isprime(fromdigits(Vecrev(digits(n!-1))));
CROSSREFS
Sequence in context: A201108 A291920 A172058 * A062577 A144743 A171862
KEYWORD
nonn,base,more
AUTHOR
Paolo Galliani, May 03 2018
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 August 24 17:15 EDT 2024. Contains 375417 sequences. (Running on oeis4.)