OFFSET
1,2
COMMENTS
See A202320 for a guide to related sequences. The Mathematica program includes a graph.
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
EXAMPLE
x<0: -0.76803904701346556525568352607754...
x>0: 1.6783469900166606534128845120945230...
MATHEMATICA
u = 2; v = 2;
f[x_] := u*x + v; g[x_] := E^x
Plot[{f[x], g[x]}, {x, -3, 2}, {AxesOrigin -> {0, 0}}]
r = x /. FindRoot[f[x] == g[x], {x, -.8, -.7}, WorkingPrecision -> 110]
RealDigits[r] (* A202345 *)
r = x /. FindRoot[f[x] == g[x], {x, 1.6, 1.7}, WorkingPrecision -> 110]
RealDigits[r] (* A202346 *)
RealDigits[-1 - LambertW[-1, -Exp[-1]/2], 10, 100][[1]] (* G. C. Greubel, Nov 09 2017 *)
PROG
(PARI) solve(x=0, 2, 2*x+2-exp(x)) \\ Michel Marcus, Nov 09 2017
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Clark Kimberling, Dec 17 2011
STATUS
approved