OFFSET
1,5
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
For n = 5, the root is approximately r = 1.96594823. The value of k that satisfies 0.5/10^k < 2-r < 5/10^k is 2 as 0.005 < 0.03405177 < 0.05. So a(5) = 2.
PROG
(PARI) a(n)=if(n>1, -log(4-2*solve(x=1.5, 2, x^n-(1-x^n)/(1-x)))\log(10)+1, 0) \\ Charles R Greathouse IV, Jan 15 2013
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Ruskin Harding, Dec 31 2012
STATUS
approved