sorry I made a mistake while finding out the quadratic residues (mod 7) (and another mistake for not checking it with yours and assuming that I'm right)-y^2 can be 3, eg y=2.
Yep, all good. Your solution is the same as mine, just worded differently.Hello, 2 questions
1. What is that one-line method SpiralFlex?
2. seanig89, is my method now valid? I've fixed some mistakes, please look at my solution (red part)
Yes I realized hahaYep, all good. Your solution is the same as mine, just worded differently.
Ah ok makes sense now because we did nothing like this in 1141.No worries because I learn this in discrete maths (modular arithmetic)
q -> p, lol I forgot that, thanks for the revisionMy bad, I can't do it in one line.
I thought I had a way involving using divisibility lemmas but it turned out to be wrong. So its probably best to use what Seanie posted. I will come back once I find a way without considering quadratic residues