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!)
A246004 The duodecimal period of 1/n, or 0 if 1/n terminates. 5
0, 0, 0, 0, 4, 0, 6, 0, 0, 4, 1, 0, 2, 6, 4, 0, 16, 0, 6, 4, 6, 1, 11, 0, 20, 2, 0, 6, 4, 4, 30, 0, 1, 16, 12, 0, 9, 6, 2, 4, 40, 6, 42, 1, 4, 11, 23, 0, 42, 20, 16, 2, 52, 0, 4, 6, 6, 4, 29, 4, 15, 30, 6, 0, 4, 1, 66, 16, 11, 12, 35, 0, 36, 9, 20, 6, 6, 2, 26, 4, 0, 40, 41, 6, 16, 42, 4, 1, 8, 4, 6, 11, 30, 23, 12, 0, 16, 42, 1, 20, 100, 16, 102, 2, 12, 52, 53, 0, 54, 4, 9, 6, 112 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
LINKS
EXAMPLE
1/10 = 0.1249724972497... has period 4 in duodecimal, so a(10) = 4.
1/23 = 0.0631694842106316948421... has period 11 in duodecimal, so a(23) = 11.
MATHEMATICA
a246004[n_Integer] :=
Table[Length[RealDigits[1/i, 12][[1, -1]]], {i,
n}]; a246004[120] (* Michael De Vlieger, Nov 13 2014, after Harvey P. Dale at A051626 *)
CROSSREFS
Cf. A007732, A051626 (decimal versions).
Cf. A246489.
Sequence in context: A184365 A126813 A056141 * A103688 A125961 A016681
KEYWORD
nonn,base
AUTHOR
Eric Chen, Nov 13 2014
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 April 24 15:18 EDT 2024. Contains 371960 sequences. (Running on oeis4.)