OFFSET
0,4
LINKS
Harry J. Smith, Table of n, a(n) for n = 0..200
Tyler Ball, Tom Edgar, and Daniel Juda, Dominance Orders, Generalized Binomial Coefficients, and Kummer's Theorem, Mathematics Magazine, Vol. 87, No. 2, April 2014, pp. 135-143.
FORMULA
a(n) = 3^A054861(n) = 3^(floor(n/3) + floor(n/9) + floor(n/27) + floor(n/81) + ...).
a(n) = 3^(n/2 + O(log n)). - Charles R Greathouse IV, Aug 05 2015
EXAMPLE
a(3) = 3 because in S_3 the Sylow 3-subgroup is the subgroup generated by the 3-cycles (123) and (132), its order is 3.
MATHEMATICA
(* By the formula: *) Table[3^IntegerExponent[n!, 3], {n, 0, 40}] (* Bruno Berselli, Aug 05 2013 *)
PROG
(PARI) for (n=0, 200, s=0; d=3; while (n>=d, s+=n\d; d*=3); write("b060828.txt", n, " ", 3^s)) \\ Harry J. Smith, Jul 12 2009
(Sage)
def A060828(n):
return 3^A004128(n//3)
[A060828(i) for i in (0..39)] # Peter Luschny, Nov 16 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ahmed Fares (ahmedfares(AT)my-deja.com), Apr 30 2001
EXTENSIONS
More terms from N. J. A. Sloane, Jul 03 2008
STATUS
approved