login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A139059 Primes of the form (5+k!)/5. 12
1009, 72577, 7983361, 17435658241, 24329020081766401, 5170403347776995328001, 23924444173096038912392632299131543012876746752000000001 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

For numbers k for which (5+k!)/5 is prime see A139058.

LINKS

Table of n, a(n) for n=1..7.

MATHEMATICA

a = {}; Do[If[PrimeQ[(n! + 5)/5], AppendTo[a, (n! + 5)/5]], {n, 1, 50}]; a

Select[(5+Range[50]!)/5, PrimeQ] (* Harvey P. Dale, Dec 04 2020 *)

PROG

(MAGMA) [ a: n in [1..50] | IsPrime(a) and b mod 5 eq 0 where a is b div 5 where b is Factorial(n)+5 ];

(PARI) for(k=5, 1e3, if(ispseudoprime(t=(5+k!)/5), print1(t", "))) \\ Charles R Greathouse IV, Jul 15 2011

CROSSREFS

Cf. A082672, A089085, A089130, A117141, A007749, A139056-A139066, A139068, A137390, A139070-A139075.

Sequence in context: A117359 A096210 A133584 * A123156 A163278 A082461

Adjacent sequences:  A139056 A139057 A139058 * A139060 A139061 A139062

KEYWORD

nonn

AUTHOR

Artur Jasinski, Apr 07 2008

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 17 17:33 EDT 2021. Contains 345085 sequences. (Running on oeis4.)