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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A078454 Index of the first occurrence of prime(n) in A060324. 1
1, 3, 7, 13, 37, 31, 89, 51, 101, 219, 309, 973, 146, 832, 464, 1031, 2714, 2352, 6403, 311, 6397, 6352, 1487, 1439, 20718, 4252, 11958, 3719, 1332, 4136, 14509, 4601, 4223, 12414, 4043, 38862, 57949, 20257, 4958, 4832, 2213, 96792, 27932, 261337 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

Smallest k such that k*prime(n) + k - 1 is a prime.

LINKS

Franklin T. Adams-Watters, Table of n, a(n) for n = 1..100

PROG

Contribution from Franklin T. Adams-Watters (FrankTAW(AT)Netscape.net), May 25 2010: (Start)

(PARI) A060324(n)=forprime(q=2, 999999999, if(isprime(n*(q+1)-1), return(q))); -1

al(n)=local(v, k, xv); v=vector(n); while(n>0, xv=primepi(A060324(k++)); if(xv<=#v&v[xv]==0, v[xv]=k; n--)); v (End)

CROSSREFS

Cf. A060324.

Sequence in context: A152981 A112040 A084611 * A023212 A106952 A106951

Adjacent sequences:  A078451 A078452 A078453 * A078455 A078456 A078457

KEYWORD

nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Dec 23 2002

EXTENSIONS

More terms from Franklin T. Adams-Watters (FrankTAW(AT)Netscape.net), May 25 2010

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 16 17:48 EST 2012. Contains 205939 sequences.