OFFSET
0,23
LINKS
Harry J. Smith, Table of n, a(n) for n = 0..1000
FORMULA
a(n) = floor[n/11] + floor[n/121] + floor[n/1331] + floor[n/14641] + ....
a(n) = (n-A053831(n))/10. [R. J. Mathar, Oct 17 2010]
MATHEMATICA
Table[t = 0; p = 11; While[s = Floor[n/p]; t = t + s; s > 0, p *= 11]; t, {n, 0, 100} ]
IntegerExponent[Range[0, 110]!, 11] (* Harvey P. Dale, Aug 07 2017 *)
PROG
(PARI) { for (n=0, 1000, a=0; p=11; while (s = n\p, a+=s; p*=11); write("b064458.txt", n, " ", a) ) } \\ Harry J. Smith, Sep 14 2009
(PARI) a(n) = valuation(n!, 11); \\ Michel Marcus, Apr 07 2016
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Oct 03 2001
STATUS
approved