login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A139058 Numbers n such that (5+n!)/5 is prime. 44
7, 9, 11, 14, 19, 23, 45, 121, 131, 194, 735, 751 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

For primes of the form (5+n!)/5 see A139059.

MATHEMATICA

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

PROG

(MAGMA) [ n: n in [5..734] | IsPrime((Factorial(n)+5) div 5) ];

(PARI) A139058(n) = local(k=(n!+5)\5); if(isprime(k), k, 0);

for(n=5, 800, if(A139058(n)>0, print1(n, ", ")))

CROSSREFS

Cf. A139059.

Sequence in context: A029612 A120165 A024828 * A107226 A029611 A053357

Adjacent sequences:  A139055 A139056 A139057 * A139059 A139060 A139061

KEYWORD

nonn

AUTHOR

Artur Jasinski (grafix(AT)csl.pl), Apr 07 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 10:56 EST 2012. Contains 205763 sequences.