OFFSET
1,2
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10000
MATHEMATICA
Table[Times @@ MapIndexed[(Prime@ First@ #2)^#1 &, #] &@ If[Length@ # == 1 && #[[1, 1]] == 1, {0}, Reverse@ Sort@ #[[All, -1]]] &@ FactorInteger[ Binomial[n + 2, 3]], {n, 74}] (* Michael De Vlieger, Nov 21 2016 *)
PROG
(Scheme)
(define (A000292 n) (/ (* n (+ 1 n) (+ 2 n)) 6))
(PARI) a(n)=my(e=vecsort(factor(binomial(n+2, 3))[, 2], , 4)~); factorback(primes(#e), e) \\ Charles R Greathouse IV, Feb 22 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Nov 19 2016
STATUS
approved