login
Occurrence of the n-th prime in A098962.
3

%I #8 Jul 13 2013 12:03:16

%S 2,3,4,6,7,8,10,11,12,14,15,17,18,19,20,22,23,24,25,26,27,29,30,31,33,

%T 34,35,36,37,38,41,42,43,44,46,47,48,49,50,52,53,54,56,57,58,59,61,63,

%U 64,65,66,67,68,70,72,73,74,75,76,77,78,80,82,83,84,85,88,89,91,92,93

%N Occurrence of the n-th prime in A098962.

%C A098962(a(n)) = A000040(n).

%H Reinhard Zumkeller, <a href="/A099619/b099619.txt">Table of n, a(n) for n = 1..10000</a>

%o (Haskell)

%o import Data.List (elemIndex)

%o import Data.Maybe (fromJust)

%o a099619 = (+ 1) . fromJust . (`elemIndex` a098962_list) . a000040

%o -- _Reinhard Zumkeller_, Feb 18 2013

%Y Cf. A099620.

%K nonn

%O 1,1

%A _Reinhard Zumkeller_, Oct 26 2004