Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A083521
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A083521 Smallest prime that is the product of n consecutive integers + 1, or 0 if no such number exists. +0
3
2, 3, 7, 0, 2521, 20161, 604801, 6652801, 726485761, 39916801, 39916801, 140792940288001, 14820309504001, 10461394944001, 641171050071552001, 425757851430912001, 9366672731480064001, 8515157028618240001 (list; graph; listen)
OFFSET

0,1

COMMENT

The product of four consecutive integers + 1 is always composite (a square), so a(4) = 0. Are there any more zeros in the sequence?

The Pocklington-Lehmer "P-1" primality test is used, as implemented in PARI 2.1.3.

EXAMPLE

1*2*3*4*5 + 1 = 121 = 11*11 and 2*3*4*5*6 + 1 = 721 = 7*103 are composite, but 3*4*5*6*7 + 1 = 2521 is prime, so a(5) = 2521.

PROGRAM

(PARI) m=1000; for(n=1, 18, b=0; k=1; while(b<1&&k<m, if(!isprime(p=prod(j=k, k+n-1, j)+1, 1), k++, b=1)); print1(if(k<m, p, 0), ", "))

CROSSREFS

Cf. A083520, A083522.

Sequence in context: A015766 A117024 A023048 this_sequence A104691 A011160 A068960

Adjacent sequences: A083518 A083519 A083520 this_sequence A083522 A083523 A083524

KEYWORD

nonn

AUTHOR

Amarnath Murthy and Meenakshi Srikanth (amarnath_murthy(AT)yahoo.com), May 05 2003

EXTENSIONS

Edited and extended by Klaus Brockhaus (klaus-brockhaus(AT)t-online.de) and Don Reble (djr(AT)nk.ca), May 06 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 December 2 11:54 EST 2009. Contains 167921 sequences.


AT&T Labs Research