Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A078729
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A078729 a(n) = the least positive integer k such that (k+1)(k+2)...(k+n) + 1 is prime, if such k exists; otherwise, = 0. +0
1
1, 1, 2, 0, 2, 2, 3, 3, 5, 1, 2, 9, 4, 2, 8, 5, 5, 3, 4, 7, 5, 6, 18, 24, 10, 1, 11, 2, 8, 22, 6, 6, 38, 4, 6, 1, 13, 4, 77, 1, 2, 14, 18, 11, 16, 5, 2, 13, 7, 20, 22, 16, 13, 39, 15, 5, 7, 12, 14, 4, 14, 81, 45, 50, 38, 42, 5, 10, 60, 56, 15, 1, 45, 25, 53, 1, 23, 12, 3, 61, 30, 68, 26, 154 (list; graph; listen)
OFFSET

1,3

COMMENT

(k+1)(k+2)(k+3)(k+4) + 1 = (k^2 + 5x + 5)^2, which is never prime. Hence a(4) = 0. Is this the only zero term? - Benoit Cloitre, Jan 16, 2003

EXAMPLE

k=2 is the least positive integer such that (k+1)(k+2)(k+3) + 1 is prime, so a(3) = 2.

CROSSREFS

Sequence in context: A022830 A035663 A117192 this_sequence A029906 A094907 A158380

Adjacent sequences: A078726 A078727 A078728 this_sequence A078730 A078731 A078732

KEYWORD

nonn

AUTHOR

Joseph L. Pe (joseph_l_pe(AT)hotmail.com), Jan 08 2003

EXTENSIONS

More terms from Benoit Cloitre, Jan 16, 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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research