OFFSET
1,6
COMMENTS
Also, number of digits in the duodecimal expansion of terminating unit fractions 1/A003586.
REFERENCES
G. H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers, Chapter IX: The Representation of Numbers by Decimals, Theorem 136. 8th ed., Oxford Univ. Press, 2008, 144-145.
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10283 (A003586(10283) = 12^50)
Eric Weisstein's World of Mathematics, Duodecimal.
Wikipedia, Duodecimal.
EXAMPLE
MATHEMATICA
With[{nn = 40000}, Sort[Join @@ Table[{2^a*3^b, Max[Ceiling[a/2], b]}, {a, 0, Log2[nn]}, {b, 0, Log[3, nn/(2^a)]}] ][[All, -1]] ]
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
Michael De Vlieger, Mar 08 2022
STATUS
approved