login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A061480 n-th digit in decimal expansion of 1/n. 10

%I #34 Feb 03 2024 12:17:19

%S 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 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 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 n-th digit in decimal expansion of 1/n.

%H Robert Israel, <a href="/A061480/b061480.txt">Table of n, a(n) for n = 1..10000</a>

%e a(14) = 7, as the 14th digit in the expansion of 1/14 = 0.0714285714285714285714285714285714... is 7.

%p seq(floor(10^n/n) mod 10, n=1..200); # _Robert Israel_, Aug 05 2020

%t a = {}; Do[a = Append[a, Mod[ Floor[1/n * 10^n], 10] ], {n, 1, 100} ]; a

%o (Python)

%o def a(n): return (10**n//n)%10

%o print([a(n) for n in range(1, 101)]) # _Michael S. Branicky_, Feb 03 2024

%K nonn,base,easy

%O 1,3

%A _Amarnath Murthy_, May 05 2001

%E More terms from _Erich Friedman_, May 08 2001

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)