OFFSET
1,2
EXAMPLE
This sequence starts 1,2,9,11,... since the first, 2nd, 9th, 11th...
term of sequence A001203 = (3, 7, 15, 1, 292, 1, 1, 1, 2, ...) are primes.
MATHEMATICA
Position[ContinuedFraction[Pi, 200], _?PrimeQ]//Flatten(* Harvey P. Dale, Aug 07 2019 *)
PROG
(PARI) default(realprecision, 1000); t=contfrac(Pi); for( k=1, #t, isprime(t[k]) & print1(k", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Mar 31 2008
STATUS
approved