OFFSET
0,8
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..2400
Jeffrey C. Lagarias and Harsh Mehta, Products of binomial coefficients and unreduced Farey fractions, arXiv:1409.4145 [math.NT], 2014.
FORMULA
a(n) = Sum_{k=0..n} A214411(binomial(n,k)).
a(n) = Sum_{i=1..n} (2*i-n-1)*v_7(i), where v_7(i) = A214411(i) is the exponent of the highest power of 7 dividing i. - Ridouane Oudra, Jun 03 2022
PROG
(PARI)
allocatemem(234567890);
A249347(n) = sum(k=0, n, valuation(binomial(n, k), 7));
for(n=0, 2400, write("b249347.txt", n, " ", A249347(n)));
(Scheme, two alternative implementations)
(define (add intfun lowlim uplim) (let sumloop ((i lowlim) (res 0)) (cond ((> i uplim) res) (else (sumloop (+ 1 i) (+ res (intfun i)))))))
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Oct 28 2014
STATUS
approved