How to prove for any prime $$p \neq \{2,7\}, \exists n \text{ s.t. }p \mid n$$ where n is a number that consists only of 1s in octal base.
I started off but need some direction. I thought of using $$ 8^{p-1} - 1 \text{ (mod p)} $$
and that $$ 8^{p-1} - 1 $$ given $(p-1)$ number of 7s in octal form; and that this divided by 7 is all 1s in octal form.