[go: up one dir, main page]

login
A259490
Numbers k such that the denominator of the n-th convergent of the continued fraction expansion of Pi is prime.
0
2, 4, 9, 33, 595, 1127, 2003, 3611, 4356, 6926
OFFSET
1,1
COMMENTS
These are the k such that A002486(k+1) is prime. - Michel Marcus, Jul 15 2015
a(11) > 25000.
MATHEMATICA
$MaxExtraPrecision = 25000; lst = {}; cf = ContinuedFraction[Pi, 10000]; Do[ If[ PrimeQ[ Denominator[ FromContinuedFraction[ Take[ cf, n]] ]], AppendTo[lst, n]], {n, Length[cf]}]; lst
Position[Convergents[Pi, 7000], _?(PrimeQ[Denominator[#]]&)]//Flatten (* Harvey P. Dale, Aug 12 2021 *)
CROSSREFS
Sequence in context: A092329 A053548 A054119 * A274758 A266929 A242986
KEYWORD
nonn,more
AUTHOR
STATUS
approved