|
|
A267096
|
|
a(n) = Product_{i=0..n} prime(i+2)^binomial(n,i).
|
|
6
|
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
FORMULA
|
a(n) = Product_{i=0..n} prime(i+2)^C(n,i).
|
|
EXAMPLE
|
Terms are obtained by exponentiating the odd primes in range [3 .. prime(2+n)] with the binomial coefficients obtained from row n of Pascal's triangle (A007318) and then multiplying the factors together:
3^1
3^1 * 5^1
3^1 * 5^2 * 7^1
3^1 * 5^3 * 7^3 * 11^1
3^1 * 5^4 * 7^6 * 11^4 * 13^1
etc.
|
|
PROG
|
(Scheme)
(define (A267096 n) (mul (lambda (k) (expt (A000040 (+ 2 k)) (A007318tr n k))) 0 n)) ;; Where A007318tr gives binomial coefficients, as in A007318.
(define (mul intfun lowlim uplim) (let multloop ((i lowlim) (res 1)) (cond ((> i uplim) res) (else (multloop (1+ i) (* res (intfun i)))))))
|
|
CROSSREFS
|
Second column (or diagonal from right) in A066117.
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|