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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A087572 Smallest prime of the form n + (n-1) + (n-2) + ...(n-k), k < n, or 0 if no such prime exists. 1
0, 2, 3, 7, 5, 11, 7, 0, 17, 19, 11, 23, 13, 0, 29, 31, 17, 0, 19, 0, 41, 43, 23, 47, 0, 0, 53, 0, 29, 59, 31, 0, 0, 67, 0, 71, 37, 0, 0, 79, 41, 83, 43, 0, 89, 0, 47, 0, 97, 0, 101, 103, 53, 107, 109, 0, 113, 0, 59, 0, 61, 0, 0, 127, 0, 131, 67, 0, 137, 139, 71, 0, 73, 0, 149, 151, 0 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

Trivially a(n) = 0 if n and 2n-1 both are composite. i.e. (k = 0 or 1.)

If a(n) > 0 then a(n) = A034694(n-1). - David Wasserman (wasserma(AT)spawar.navy.mil), Jun 07 2005

CROSSREFS

Sequence in context: A159842 A045790 A085102 * A085107 A034694 A050921

Adjacent sequences:  A087569 A087570 A087571 * A087573 A087574 A087575

KEYWORD

nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Sep 17 2003

EXTENSIONS

More terms from David Wasserman (wasserma(AT)spawar.navy.mil), Jun 07 2005

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 17 13:28 EST 2012. Contains 206031 sequences.