OFFSET
1,1
EXAMPLE
This sequence starts 2,4,0,0,... since the 1st and 2nd terms of the continued fraction expansion of Pi, A001203 = (3, 7, 15, 1, ...) are the 2nd resp. 4th primes, while the next two terms are not primes.
PROG
(PARI) default(realprecision, 1000); t=contfrac(Pi); vector(#t, i, isprime(t[i])*primepi(t[i]))
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Mar 31 2008
STATUS
approved