Here is what I am aiming for. I have a sequence of numbers N. I have a sequence of primes P. I want to multiply the primes each raised to the power of the numbers such that p1**n1*p1**n1*p3**n3...etc I know reduce is supposed to allow one to apply calculations all the way through a sequence but the documentation on the reduce finction is super sketchy. can anyone point to a better way of doing this?