OFFSET
0,2
REFERENCES
John H. Conway & Richard K. Guy, The Book of Numbers; Springer 1996.
LINKS
Robert Israel, Table of n, a(n) for n = 0..10000
EXAMPLE
a(3)=7 since we want the sixth decimal digit of 1/7.
MAPLE
f:= proc(n) floor(10^(2*n)/(2*n+1)) mod 10 end proc:
f(0):= 0:
map(f, [$0..100]); # Robert Israel, Oct 31 2017
MATHEMATICA
f[n_] := Mod[Floor[10^(2n)/(2n +1)], 10]; f[0] = 0; Array[f, 105, 0] (* Robert G. Wilson v, Oct 31 2017 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Marco Matosic, Sep 06 2017
EXTENSIONS
Edited by N. J. A. Sloane, Oct 30 2017
a(82) corrected by Robert Israel, Oct 31 2017
STATUS
approved