OFFSET
1,2
COMMENTS
n-th prime in sequence A174008.
EXAMPLE
MAPLE
From R. J. Mathar, Apr 28 2010: (Start)
A163300 := proc(n) option remember ; if n = 1 then 0; else for a from procname(n-1)+2 by 2 do if not isprime(a) then return a ; end if; end do; end if; end proc:
A174009 := proc(k) p := A174008(k) ; if isprime(p) then printf("%d, ", numtheory[pi](p) ) ; end if; return ; end proc:
seq(A174009(k), k=1..400 ) ; (End)
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Mar 05 2010
EXTENSIONS
More terms from R. J. Mathar, Apr 28 2010
STATUS
approved