OFFSET
1,2
COMMENTS
See A198755 for a guide to related sequences. The Mathematica program includes a graph.
FORMULA
Equals 2*A003957. - Gleb Koloskov, Jun 16 2021
EXAMPLE
x=1.47817026643032128331062417534774680802682351780...
MATHEMATICA
a = 1; b = -2; c = 2;
f[x_] := a*x^2 + b*Cos[x]; g[x_] := c
Plot[{f[x], g[x]}, {x, -3, 3}, {AxesOrigin -> {0, 0}}]
r = x /. FindRoot[f[x] == g[x], {x, 1.4, 1.5}, WorkingPrecision -> 110]
RealDigits[r] (* A198822 *)
PROG
(PARI) solve(x=0, 1, cos(x)-x)*2 \\ Gleb Koloskov, Jun 16 2021
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Clark Kimberling, Oct 30 2011
STATUS
approved