login
A291943
a(0)=0; for n>0, a(n) = (2n)-th digit after the decimal point in the decimal expansion of 1/(2n+1).
1
0, 3, 0, 7, 1, 9, 3, 6, 7, 1, 4, 3, 0, 3, 1, 9, 3, 5, 7, 2, 9, 3, 2, 7, 8, 1, 3, 1, 1, 1, 9, 1, 3, 7, 1, 9, 3, 3, 9, 1, 7, 3, 7, 1, 1, 9, 1, 5, 7, 1, 9, 3, 0, 7, 1, 0, 3, 6, 0, 0, 8, 0, 0, 7, 0, 9, 8, 0, 7, 1, 0, 9, 8, 4, 1, 9, 4, 4, 7, 0, 6, 3, 0, 7, 3, 5, 3, 4, 0, 1, 9, 0, 4, 5, 0, 9, 3, 0, 7, 1
OFFSET
0,2
REFERENCES
John H. Conway & Richard K. Guy, The Book of Numbers; Springer 1996.
LINKS
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 *)
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