littlemathquark
- 204
- 26
- Homework Statement
- Find all positive integers ##n## such that ##3x^2-y^2=2018^n## has integer solutions.
- Relevant Equations
- None
I need an idea. Thank you.
This is wrong. Use the assumption that ##n## is even.littlemathquark said:##3x^2-y^2\equiv 2018^n\mod 3## $$y^2\equiv 2^n\equiv 1\mod 3$$
Right.littlemathquark said:I mean if n is even ##y^2\equiv 2\mod3## but it is impossible so n must be odd.
That's not what I said. This will be the third and last step but first, make the second. What does it mean that ##n## is odd?littlemathquark said:$$3x^2=y^2+2018\implies x^2\geq \frac{2018}{3}\implies x\geq 26.$$ For ##x=27## ##y=13##
Yes. Go ahead. How can you corstruct a solution for ##3x^2-y^2=2018^{2k+1}=2018\cdot (2018^{k})^2## if you have a solution ##3a^2-b^2=2018##?littlemathquark said:If n is odd then ##n=2k+1##
Yes. I would have written it aslittlemathquark said:##3a^2.2018^{2k}-b^2.2018^{2k}=2018^{2k+1}##
There are infinitely many solutions. With ##n,m\geq 0## these are (for ##2018##)littlemathquark said:##3a^2.2018^{2k}-b^2.2018^{2k}=2018^{2k+1}## İf ##a=27## and ##b=13## then ##x=(27.2018^k)## and ##y=(13.2018^k)## are solutions. Thank you very much. But are these all solutions? Are there other solutions?