Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A087147
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A087147 Numbers n such that n!+(n+1)!+1 is prime. +0
3
0, 3, 7, 9, 67, 291, 1343 (list; graph; listen)
OFFSET

1,2

COMMENT

291 is in the sequence and also is in the sequence A087146, thus (291!+292!-1,291!+292!+1) is a twin pair of primes. Any additional terms are greater than 1800 with the next prime having more than 5086 digits.

Next term is greater than 4200. - Gabriel Cunningham (gcasey(AT)mit.edu), Sep 09 2003

REFERENCES

H. Dubner, Factorial and primorial primes, J. Rec. Math., 19 (No.3, 1987)

EXAMPLE

3 is in the sequence because 3!+4!+1=31 is prime.

MATHEMATICA

v={}; Do[If[PrimeQ[n!+(n+1)!+1], v=Append[v, n]; Print[v]], {n, 1800}]; v

CROSSREFS

Cf. A087146, A051856.

Primes in A118913. [From Dmitry Kamenetsky (dkamen(AT)rsise.anu.edu.au), Oct 21 2008]

Sequence in context: A074339 A115164 A003033 this_sequence A152607 A118559 A127789

Adjacent sequences: A087144 A087145 A087146 this_sequence A087148 A087149 A087150

KEYWORD

more,nonn

AUTHOR

Farideh Firoozbakht (f.firoozbakht(AT)sci.ui.ac.ir), Aug 19 2003

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research