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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A086545 Smallest k such that nk+1 is a prime and and (n-1)/k is non-composite, or 0 if no such number exists. 0
1, 2, 1, 2, 1, 6, 0, 4, 3, 2, 1, 4, 0, 2, 15, 8, 1, 0, 0, 10, 3, 2, 0, 24, 5, 0, 27, 0, 1, 10, 0, 0, 3, 2, 5, 0, 0, 2, 13, 20, 1, 0, 0, 4, 15, 0, 0, 0, 0, 50, 3, 0, 0, 18, 5, 8, 19, 0, 1, 12, 0, 2, 9, 32, 5, 66, 0, 4, 3, 0, 1, 24, 0, 2, 25, 38, 7, 78, 0, 16, 0, 2, 0, 12, 5, 0, 0, 44, 89, 30, 0, 4, 3, 2 (list; graph; refs; listen; history; internal format)
OFFSET

2,2

EXAMPLE

a(7) = 6 as 7*6 +1=43 is a prime and (7-1)/6 = 1 is non-composite. a(10) = 3 as 10*3 +1 = 31 and (10-1)/3 = 3 both are primes.

CROSSREFS

Sequence in context: A102048 A102551 A152823 * A126083 A071416 A053589

Adjacent sequences:  A086542 A086543 A086544 * A086546 A086547 A086548

KEYWORD

nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Aug 26 2003

EXTENSIONS

Corrected and extended by David Wasserman (wasserma(AT)spawar.navy.mil), Mar 22 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 14 20:38 EST 2012. Contains 205663 sequences.