I found this question from an old math questionnaire.
What is the remainder when $$16^{15}-8^{15}-4^{15}-2^{15}-1$$ is divided by 96?
I already know the answer. It is 31, says the answer at the back of the questionnaire. I just do not know why 31 is the answer. I do not know how the process of getting the remainder is done.
I tried a lot of crazy things and got answers like -135 and -63/32 which are obviously wrong, so I would not tell anymore what I did. Can anyone help me?