login
A358004
Sum of the first n prime numbers with each term raised to the power of the corresponding n-th row of Pascal's triangle.
0
2, 5, 16, 161, 18120, 292402183, 83969544989433334, 2810244063625364115255545874032279213
OFFSET
1,1
FORMULA
a(n) = Sum_{k=1..n} prime(k)^binomial(n-1,k-1).
EXAMPLE
a(2) = 2^1 + 3^2 + 5^1 = 16.
a(5) = 2^1 + 3^4 + 5^6 + 7^4 + 11^1 = 18120.
CROSSREFS
KEYWORD
nonn
AUTHOR
Philip Trett, Oct 24 2022
STATUS
approved