editing
approved
editing
approved
nonn,frac
approved
editing
proposed
approved
editing
proposed
(* by _Peter J. C. Moses, _, Sep 2 02 2011 *)
approved
editing
_Clark Kimberling (ck6(AT)evansville.edu), _, Sep 21 2011
proposed
approved
editing
proposed
allocated for Clark KimberlingDenominators a(n) of Pythagorean approximations b(n)/a(n) to 3/2.
3, 60, 660, 3597, 78480, 856080, 4669203, 101866380, 1111191780, 6060621597, 132222483360, 1442326073760, 7866682164003, 171624681534300, 1872138132549300, 10210947388253997, 222768704409038640, 2430033853722917040
1,1
See A195500 for a discussion and references.
r = 3/2; z = 21;
p[{f_, n_}] := (#1[[2]]/#1[[
1]] &)[({2 #1[[1]] #1[[2]], #1[[1]]^2 - #1[[
2]]^2} &)[({Numerator[#1], Denominator[#1]} &)[
Array[FromContinuedFraction[
ContinuedFraction[(#1 + Sqrt[1 + #1^2] &)[f], #1]] &, {n}]]]];
{a, b} = ({Denominator[#1], Numerator[#1]} &)[
p[{r, z}]] (* A195550, A195551 *)
Sqrt[a^2 + b^2] (* A195552 *)
(* by Peter Moses, Sep 2 2011 *)
allocated
nonn
Clark Kimberling (ck6(AT)evansville.edu), Sep 21 2011
approved
editing
allocated for Clark Kimberling
allocated
approved