login
The OEIS is supported by the many generous donors 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; text; 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, 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: A358560 A222187 A084611 * A023212 A106952 A106951
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Dec 23 2002
EXTENSIONS
More terms from Franklin T. Adams-Watters, May 25 2010
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 19:59 EDT 2024. Contains 371963 sequences. (Running on oeis4.)