login
Index of first occurrence of prime(n) in A034694.
0

%I #4 Mar 30 2012 17:27:42

%S 1,2,4,3,5,12,8,9,11,7,15,36,20,21,23,13,29,60,33,35,24,39,41,44,32,

%T 25,17,53,27,56,63,65,68,69,37,75,156,81,83,43,89,45,19,64,49,99,105,

%U 111,113,57,116,119,80,125,128,131,67,135,92,140,47,73,153,31,104,79,55,84

%N Index of first occurrence of prime(n) in A034694.

%C a(n) = smallest k such that A034694(k) = prime(n).

%e A034694(7) = 29 = prime(10) and A034694(k) <> 29 for k < 7, hence a(10) = 7.

%e A034694(8) = 17 = prime(7) and A034694(k) <> 17 for k < 8, hence a(7) = 8.

%Y Cf. A034694.

%K nonn

%O 1,2

%A _Klaus Brockhaus_, Feb 13 2006