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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A088332 Primes of the form n!+1. 13
2, 3, 7, 39916801, 10888869450418352160768000001, 13763753091226345046315979581580902400000001, 33452526613163807108170062053440751665152000000001 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

Of course 2 = 0!+1 = 1!+1 has two such representations.

Prime numbers that are the sum of two factorial numbers. [From Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), Nov 08 2010]

LINKS

T. D. Noe, Table of n, a(n) for n=1..11

FORMULA

a(n)=A000040(q)=A000142(k)+A000142(m). [From Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), Nov 08 2010]

EXAMPLE

3!+1 = 7 is prime.

MATHEMATICA

lst={}; Do[p=n!+1; If[PrimeQ[p], AppendTo[lst, p]], {n, 0, 3*5!}]; lst [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Jan 27 2009]

PROG

(PARI) factp1prime(n)=for(x=1, n, xf=x!+1; if(isprime(xf), print1(xf", ")))

CROSSREFS

Cf. A002981 (values of n).

Cf. A000142. [From Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), Nov 08 2010]

Sequence in context: A088252 A196303 A048979 * A131959 A202688 A021046

Adjacent sequences:  A088329 A088330 A088331 * A088333 A088334 A088335

KEYWORD

nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Nov 06 2003

EXTENSIONS

The next term is too large to include.

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 13 03:07 EST 2012. Contains 205435 sequences.