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!)
A092939 Index of the first occurrence of prime(n) in A092938. 3
1, 2, 10, 8, 52, 18, 57, 36, 96, 40, 110, 249, 154, 328, 123, 288, 495, 125, 826, 343, 546, 431, 670, 833, 694, 1555, 216, 1399, 1195, 1620, 1780, 3843, 2920, 647, 7722, 873, 7492, 4485, 6768, 8201, 7991, 5178, 11744, 2669, 16060, 5809, 11149, 18177, 5307 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Smallest k such that prime(n) = A092938(k).
LINKS
EXAMPLE
First occurrence of prime(6) = 13 is A092938(18), so a(6) = 18.
MAPLE
# with f as in A092938N:= ithprime(50): V:= Vector(N): count:= 0:
for n from 1 while count < 50 do
v:= f(n);
if v <= N and V[v]=0 then count:= count+1; V[v]:= n;
fi;
od:
seq(V[ithprime(i)], i=1..50); # Robert Israel, Jul 31 2020
PROG
(PARI) {v=vector(50); for(n=1, 20000, k=2*prime(n); j=1; while(!isprime(k-prime(j)), j=j+1); if(j<=z&&v[j]==0, v[j]=n)); for(i=1, #v, print1(v[i], ", "))}
CROSSREFS
Sequence in context: A166542 A316967 A189711 * A006610 A227716 A033839
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Mar 23 2004
EXTENSIONS
Edited and extended by Klaus Brockhaus, Dec 23 2006
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 16 01:40 EDT 2024. Contains 371696 sequences. (Running on oeis4.)