login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A249772 Period of the senary (base-6) representation of 1/n, or 0 if 1/n terminates. 0
0, 0, 0, 0, 1, 0, 2, 0, 0, 1, 10, 0, 12, 2, 1, 0, 16, 0, 9, 1, 2, 10, 11, 0, 5, 12, 0, 2, 14, 1, 6, 0, 10, 16, 2, 0, 4, 9, 12, 1, 40, 2, 3, 10, 1, 11, 23, 0, 14, 5, 16, 12, 26, 0, 10, 2, 9, 14, 58, 1, 60, 6, 2, 0, 12, 10, 33, 16, 11, 2, 35, 0, 36, 4, 5, 9, 10, 12, 78, 1, 0, 40, 82, 2, 16 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,7

LINKS

Table of n, a(n) for n=1..85.

Wikipedia, Senary

EXAMPLE

a(7)=2, because 1/7 has senary period 2 (0.0505050505...).

MATHEMATICA

f[n_] := Length[ RealDigits[1/n, 6][[1, -1]]]; Array[f, 85] (* Robert G. Wilson v, Jan 09 2015 *)

CROSSREFS

Cf. A051626 (base 10), A246004 (base 12).

With ones instead of zeros: A007737, A066799 (all bases as columns).

Sequence in context: A289084 A193033 A318253 * A193531 A093492 A139380

Adjacent sequences:  A249769 A249770 A249771 * A249773 A249774 A249775

KEYWORD

nonn,base,easy

AUTHOR

Michal Kaczmarczyk, Dec 03 2014

EXTENSIONS

More terms from Robert G. Wilson v, Jan 09 2015

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 20 22:22 EDT 2021. Contains 348119 sequences. (Running on oeis4.)