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!)
A247886 Numbers n such that n!3 + 3^3 is prime. 1
2, 4, 5, 8, 10, 11, 14, 20, 23, 32, 34, 46, 47, 62, 136, 179, 208, 209, 229, 311, 340, 406, 692, 1235, 1349, 2558, 2651, 2873, 3794, 7417, 8647, 8695, 10004, 13595, 18658, 21427, 23120, 43316 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Large terms correspond to probable primes.
a(39) > 50000.
LINKS
Henri & Renaud Lifchitz, PRP Records. Search for n!3+27
OpenPFGW Project, Primality Tester
Eric Weisstein's World of Mathematics, Multifactorial.
EXAMPLE
10!3+27 = 10*7*4*1+27= 307 is prime, so 10 is in the sequence.
MATHEMATICA
MultiFactorial[n_, k_] := If[n < 1, 1, If[n < k + 1, n, n*MultiFactorial[n - k, k]]];
lst={}; Do[If[PrimeQ[MultiFactorial[n, 3] + 27], AppendTo[lst, n]], {n, 100}]; lst
CROSSREFS
Sequence in context: A190807 A289058 A102798 * A244991 A004612 A066208
KEYWORD
nonn,more
AUTHOR
Robert Price, Sep 25 2014
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 21 01:12 EDT 2024. Contains 375342 sequences. (Running on oeis4.)