Question :
Determine all natural numbers n such that 3
divides $n\cdot2^{n}+1$
Actually I don't have any ideas to approach but
my efforts :
I see $n=1,2,7,8,13,14$ so I think :
$n=6k+1$ and $n=6k+2$ $k\in \Bbb{N} $
If I'm not wrong but I don't know how ? I prove it ?
$$2 \equiv -1 \pmod{3} \Rightarrow 2^n \equiv (-1)^n \pmod{3} \Rightarrow \\ n2^n+1 \equiv n(-1)^n+1 \pmod{3}$$ Now $3 \mid n2^n+1 \iff 3\mid n(-1)^n+1$, so we will go case by case:
Obvious question is why looking at $n=6k+r$? Well:
Combining both seems a better strategy.