OFFSET
0,5
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..19683
FORMULA
a(n) = A053735(2*n)/2. - Amiram Eldar, Feb 21 2021
MATHEMATICA
Table[IntegerExponent[Binomial[3 n, n], 3], {n, 0, 104}] (* Michael De Vlieger, Jul 29 2017 *)
PROG
(PARI) a(n)=valuation(binomial(3*n, n), 3)
(Python)
from sympy import binomial
def a007949(n): return 0 if n%3 else a007949(n//3) + 1
def a(n): return a007949(binomial(3*n, n))
print([a(n) for n in range(151)]) # Indranil Ghosh, Jul 29 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Benoit Cloitre, Jan 01 2004
STATUS
approved