## Solve in integer numbers

How to solve that eqation?
3^x=4y+5

 PhysOrg.com science news on PhysOrg.com >> Front-row seats to climate change>> Attacking MRSA with metals from antibacterial clays>> New formula invented for microscope viewing, substitutes for federally controlled drug
 Express one variable in terms of the other (see which makes most sense). What are the conditions for having integer solutions?
 Recognitions: Gold Member Science Advisor Staff Emeritus That is the same as saying that $3^x= 1$ (mod 4). Check out "Fermat's Little Theorem".

## Solve in integer numbers

Ok, but how can I show that this eqation can be saying like that you wrote? If I place for 3^x=1(mod 4) to top equation and from Fermat's little theorem I have x=3 than I have equation with one variable? That you thought about?