If you already know the value of n, all that's necessary to do for these problems to simply plug in it as shown:
1.)
--->
2.) -->
---->
6.3m questions
8.4m answers