Solve the equation below for all m and n which are positive integers

60 Views Asked by At

Find all positive integers $m$ and $n$ such that $$m^2+2\cdot 3^n=m(2^{n+1}-1).$$