OFFSET
1,1
COMMENTS
FORMULA
greatest root: -1/3 + (8/3)*cos((1/3)*arctan((9*sqrt(47))/17))
middle: -1/3 - (4/3)*cos((1/3)*arctan((9*sqrt(47))/17)) + (4*sin((1/3)*arctan((9*sqrt(47))/17)))/sqrt(3)
least: -1/3 - (4/3)*cos((1/3)*arctan((9*sqrt(47))/17)) - (4*sin((1/3)*arctan((9*sqrt(47))/17)))/sqrt(3)
EXAMPLE
greatest root: 2.0861301976514940912...
middle root: -0.57199326831620301856...
least root: -2.5141369293352910727...
MATHEMATICA
a = 1; b = 1; c = 1; u = 0; v = 1; 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]]] (* A316131 *)
RealDigits[u[[2]]] (* A316132 *)
RealDigits[u[[3]]] (* A316133 *)
RealDigits[Root[x^3+x^2-5x-3, 3], 10, 120][[1]] (* Harvey P. Dale, Dec 31 2023 *)
PROG
(PARI) solve(x=2, 3, x^3+x^2-5*x-3) \\ Altug Alkan, Aug 01 2018
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Clark Kimberling, Jun 28 2018
STATUS
approved