N is the day it is, so since we are trying to find the number of problems for the 10th day, n will equal 10. The quantity of problems is doubling each day, so you will create this rule:
2^n - 1
Now, to plug in the numbers:
2^10 - 1
Then we simplify:
2^9
And now we solve this equation:
2^9 = 512