This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A246004 The duodecimal period length of 1/n, or 0 if 1/n terminates. 4
 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 Michael De Vlieger, Table of n, a(n) for n = 1..10000 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 Adjacent sequences:  A246001 A246002 A246003 * A246005 A246006 A246007 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 | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified August 20 23:06 EDT 2018. Contains 313929 sequences. (Running on oeis4.)