cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A061480 n-th digit in decimal expansion of 1/n.

This page as a plain text file.
%I A061480 #34 Feb 03 2024 12:17:19
%S A061480 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,
%T A061480 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,
%U A061480 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
%N A061480 n-th digit in decimal expansion of 1/n.
%H A061480 Robert Israel, <a href="/A061480/b061480.txt">Table of n, a(n) for n = 1..10000</a>
%e A061480 a(14) = 7, as the 14th digit in the expansion of 1/14 = 0.0714285714285714285714285714285714... is 7.
%p A061480 seq(floor(10^n/n) mod 10, n=1..200); # _Robert Israel_, Aug 05 2020
%t A061480 a = {}; Do[a = Append[a, Mod[ Floor[1/n * 10^n], 10] ], {n, 1, 100} ]; a
%o A061480 (Python)
%o A061480 def a(n): return (10**n//n)%10
%o A061480 print([a(n) for n in range(1, 101)]) # _Michael S. Branicky_, Feb 03 2024
%K A061480 nonn,base,easy
%O A061480 1,3
%A A061480 _Amarnath Murthy_, May 05 2001
%E A061480 More terms from _Erich Friedman_, May 08 2001