ROSECODE 550
A specific sum over all subsets of a set
Given two positive integers
We define the product of a set as the product of all elements in that set, written as P({...}) where {...} is a specific set. For example,
Finally, We define a function
In other words,
You are given
Find
Give your answer modulo
[My timing: 4 s(Python)]