Find all positive integers $n$ such that $72|(10^n+8)$

46 Views Asked by At

We can see that $n\ge3$ by objection.

How to prove this?

2

There are 2 best solutions below

0
On BEST ANSWER

Sum of digits of $10^n+8$ is $9$, hence $9|10^n+8$.

$n\geq3\implies10^n+8\equiv8\pmod{1000}\implies8|10^n+8$.

Therefore $n\geq3\implies(9|10^n+8)\wedge(8|10^n+8)$.

$\gcd(9,8)=1\implies9\cdot8|10^n+8\implies72|10^n+8$.

0
On

First, $10^n + 8 \equiv 1^n + 8 \equiv 0$ mod(9) implies that $9 \mid 10^n + 8$ for any positive integer n. Next, $10^n + 8 \equiv 2^n \equiv 0$ mod(8) is valid if n is greater than or equal to 3. So, we have that 72 divides this quantity for n greater than or equal to 3.