Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A118913
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A118913 Primes of the form n! + (n+1)! + 1. +0
8
3, 31, 45361, 3991681, 25165066533550192848892402776657770454745668366694171969654123665184894081491271\ 68000000000000001 (list; graph; listen)
OFFSET

1,1

EXAMPLE

n=3 3! + 4! + 1 = 6 + 24 + 1 = 31

n=7 7! + 8! + 1 = 5040 + 40320 + 1 = 45361

MAPLE

P:=proc(n) local i, j; for i from 1 by 1 to n do j:=i!+(i+1)!+1; if isprime(j) then print(j); fi; od; end: P(200);

MATHEMATICA

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

CROSSREFS

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

Sequence in context: A134721 A002707 A144964 this_sequence A005042 A136582 A119937

Adjacent sequences: A118910 A118911 A118912 this_sequence A118914 A118915 A118916

KEYWORD

easy,nonn

AUTHOR

Paolo P. Lava and Giorgio Balzarotti (ppl(AT)spl.at), May 25 2006

EXTENSIONS

Added the first term, because 0!+1!+1=3 is prime. Dmitry Kamenetsky (dkamen(AT)rsise.anu.edu.au), Oct 21 2008

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 December 18 21:37 EST 2009. Contains 171024 sequences.


AT&T Labs Research