How to find this expression $1000! \mod 3^{300}$

597 Views Asked by At

How to find this expression $(1000!\mod 3^{300})$?

3

There are 3 best solutions below

0
On BEST ANSWER

$3$ goes into $1000!$ at least $300$ times, since it divides $3, 6, 9, \dots, 900$, and hence $3^{300} \mid 1000!$.

1
On

Using this, the highest power of $3$ in $1000!>300$

So, the remainder $=0$

0
On

Hint $\rm\ B^\color{#C00}A \mid (AB)!\, =\, 1\cdot\cdot\: B\,\cdot\cdot\: 2B\,\cdot\cdot\ 3B\,\cdots \color{#C00}AB$
thus $\:3^{300}\mid 900!\mid 1000!$