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!)
A323591 n-th digit after the radix point in the base-3 expansion of 1/n. 3
0, 1, 0, 2, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 2, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 2, 0, 2, 0, 1, 2, 0, 0, 1, 2, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 2, 0, 2, 0, 1, 0, 0, 0, 1, 0, 0, 2, 1, 0, 0, 0, 1, 0, 0, 0, 2, 2, 0, 0, 2, 0, 2, 0, 0, 0, 0, 0, 2, 0, 1, 0, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
Wikipedia, Decimal separator (subsection Radix point)
EXAMPLE
a(16) = 2, as the 16th digit in the fractional part of the base-3 expansion of 1/16 = 0.001200120012001200120012... is 2.
MATHEMATICA
a = {}; Do[a = Append[a, Mod[ Floor[1/n * 3^n], 3] ], {n, 1, 100} ]; a
PROG
(PARI) A323591(n) = (floor((3^n)*(1/n))%3); \\ Antti Karttunen, Dec 09 2021
CROSSREFS
Column 3 of A322392.
Sequence in context: A349645 A237996 A203951 * A105348 A016406 A370078
KEYWORD
nonn,base,easy
AUTHOR
Derek J. Graves, Jan 18 2019, on behalf of Joseph A. Stocke
EXTENSIONS
Definition clarified by Antti Karttunen, Dec 09 2021
STATUS
approved

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 September 6 10:51 EDT 2024. Contains 375712 sequences. (Running on oeis4.)