login
A061480
n-th digit in decimal expansion of 1/n.
10
0, 0, 3, 0, 0, 6, 1, 0, 1, 0, 0, 3, 0, 7, 6, 0, 0, 5, 0, 0, 7, 4, 0, 6, 0, 3, 7, 7, 0, 3, 0, 0, 0, 2, 7, 7, 0, 2, 5, 0, 0, 9, 0, 7, 2, 2, 0, 3, 1, 0, 9, 2, 0, 8, 8, 4, 7, 1, 0, 6, 0, 1, 5, 0, 8, 1, 0, 7, 4, 2, 0, 8, 0, 1, 3, 1, 8, 0, 0, 0, 9, 1, 0, 4, 6, 1, 1, 3, 0, 1, 0, 8, 0, 1, 2, 6, 0, 5, 0, 0
OFFSET
1,3
LINKS
EXAMPLE
a(14) = 7, as the 14th digit in the expansion of 1/14 = 0.0714285714285714285714285714285714... is 7.
MAPLE
seq(floor(10^n/n) mod 10, n=1..200); # Robert Israel, Aug 05 2020
MATHEMATICA
a = {}; Do[a = Append[a, Mod[ Floor[1/n * 10^n], 10] ], {n, 1, 100} ]; a
PROG
(Python)
def a(n): return (10**n//n)%10
print([a(n) for n in range(1, 101)]) # Michael S. Branicky, Feb 03 2024
CROSSREFS
Sequence in context: A321429 A145225 A332442 * A220692 A048962 A135028
KEYWORD
nonn,base,easy
AUTHOR
Amarnath Murthy, May 05 2001
EXTENSIONS
More terms from Erich Friedman, May 08 2001
STATUS
approved