I wish to know how to solve these problems. Any help will be appreciated!

Find the total number of natural numbers \(n\) for which \(111\) divides \(16^n-1\) where \(n\) is less than \(1000\).

**Answer:** $111$

Find the remainder when $(1!)^2+(2!)^2+(3!)^2 \dots (100!)^2$ is divided by $1152$.

**Answer:** $41$

Find the remainder when $3^{21}+9^{21}+27^{21}+81^{21}$ is divided by $3^{20}+1$.

**Answer:** $60$

I have also provided the answers, but I wish to know the proper method to solve this, and if there is some trick to solve these questions in general, any opinions are welcome!

No vote yet

1 vote

Easy Math Editor

This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.

When posting on Brilliant:

`*italics*`

or`_italics_`

italics`**bold**`

or`__bold__`

boldNote: you must add a full line of space before and after lists for them to show up correctlyparagraph 1

paragraph 2

`[example link](https://brilliant.org)`

`> This is a quote`

Remember to wrap math in`\(`

...`\)`

or`\[`

...`\]`

to ensure proper formatting.`2 \times 3`

`2^{34}`

`a_{i-1}`

`\frac{2}{3}`

`\sqrt{2}`

`\sum_{i=1}^3`

`\sin \theta`

`\boxed{123}`

## Comments

Sort by:

TopNewestYou might need to learn Modular arithmetic which is the basic requirement for such questions. Then explore number theory practice on brilliant.

Log in to reply

The answer to these specific questions can be found on the internet as well

Log in to reply

Can you tell the solution of second one also? I think I understand the solution of the third problem given on Quora. Thanks for these two anyway!

Log in to reply

Umm.. I wasn't able to find for the second one. I've seen a similar question where the expression is to be divided by 100. And that is easy because after 10!, all the numbers are divisible by 100. And you can do it that way. Do tell if you find an answer to the second question

Log in to reply

Log in to reply

$(6!)^2$ and so on is divisible by $1152$. So I just squared the first five terms on calculator, and got the correct answer! Your comment was a good hint on what to do! Thanks a lot!

I found it! I just observed thatLog in to reply

Log in to reply

Log in to reply

I solved the problems as @Mahdi Raza linked them. The solution for the second question: $1152=2^7\cdot 3^2$. So from $(6!)^2$ each square is divisible by 1152. Therefore the solution is $(1+2^2+6^2+24^2+120^2)\;mod\;1152=41$.

Log in to reply

Nice!

Log in to reply

@David Vreken, @Pi Han Goh, @Finnley Paolella, @Mahdi Raza, @Páll Márton , @Zakir Husain

Log in to reply