Fermat's little theorem asserts: $ n \text{ is prime} \implies 2^{n-1}- 1 = n \cdot a $.
However , the converse , $ 2^{n-1}- 1 = n \cdot a \implies n$ is prime, is not true . How can we prove it , taking odd $n$ (without using a computer)?
Edit: I know that $341$ works , but how can I prove it's a counterexample without using a computer?
As commented by hardmath, you are looking for pseudoprimes base $2$, and $341$ is a counterexample. To prove it without using a computer, note that $2^{5}=32=31+1\equiv1\bmod31$ and $2^5=32=33-1\equiv-1\bmod11$, so $2^{10}\equiv1\bmod31$ and $11$ and therefore $\bmod 341$, so $2^{340}\equiv1\bmod341$.