Sol032506
If 2n + 1 and 3n + 1 are squares, n is divisible by 40.
Solution by landen:
- Let 2n + 1 = a2 and 3n + 1 = b2, then n = b2 − a2
Since a is odd, a2 = 8k + 1 for some k, by a famous result.
Now all we have left to show is that 5 | n; After some manipulation and numbering solutions with k, we get:
There are infinitely many solutions given by a lucky guess linear recurrence:
By induction, and assuming the k case is true:
Now we have infinitely many solutions which are divisible by 40. But we need to know that nk as defined above gives all solutions. This is done via the same argument used in HS Math Meet Quadratic Form Problem (http://efnet-math.org/math_tech/HyperQuadForm.html). The same reference shows a way to guess the linear recurrence by high school means. landen cheated and got Pari/GP, a powerful number theory package, to do the guessing.
Example:
- =21977864161847389892411934700781467291095784894131460408800640
- = 549446604046184747310298367519536682277394622353286510220016
- = a = 6629911637698859994122683667841
- = b =8119950276051089814163364091839