OFFSET
1,2
COMMENTS
FORMULA
greatest root: -(2/3) + 8/3 cos[1/3 arctan[(3 sqrt[303])/37]]
middle: -(2/3) - 4/3 cos[1/3 arctan[(3 sqrt[303])/37]] + (4 sin[1/3 arctan[(3 sqrt[303])/37]])/sqrt[3]
least: -(2/3) - 4/3 cos[1/3 arctan[(3 sqrt[303])/37]] - (4 sin[1/3 arctan[(3 sqrt[303])/37]])/sqrt[3]
EXAMPLE
greatest root: 1.8661982625090225055...
middle root: -1.2107558809591917224...
least root: -2.6554423815498307831...
MATHEMATICA
a = 1; b = 1; c = 1; u = 0; v = 2; w = 3; d = 1;
r[x_] := a/(x + u) + b/(x + v) + c/(x + w);
t = x /. ComplexExpand[Solve[r[x] == d, x]]
N[t, 20]
u = N[t, 200];
RealDigits[u[[1]]] (* A316134, least *)
RealDigits[u[[2]]] (* A316135, middle *)
RealDigits[u[[3]]] (* A316136, greatest *)
RealDigits[8 Cos[ArcTan[3 Sqrt[303]/37]/3]/3 - 2/3, 10, 111][[1]] (* Robert G. Wilson v, Jul 21 2018 *)
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Clark Kimberling, Jul 21 2018
STATUS
approved