OFFSET
1,3
COMMENTS
Also the number of digits in the ternary representation of n!. - Martin Renner, Jan 03 2022
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..1000
EXAMPLE
a(8) = 10 because 3^9 < 8! <= 3^10.
MAPLE
seq(nops(convert(n!, base, 3)), n=1..100); # Martin Renner, Jan 03 2022
MATHEMATICA
Table[m=1; While[n!>3^m, m++]; m, {n, 1, 100}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jul 17 2012
STATUS
approved