MHB Square Number Pairs from 1-50: Counting Rules

  • Thread starter Thread starter cooltu
  • Start date Start date
  • Tags Tags
    Integer
Click For Summary
The discussion focuses on finding pairs of integers from 1 to 50 where at least one number is a square and their sum is also a square. The equation $x^2 + y = z^2$ is central to determining valid pairs, leading to the factorization $y = (z - x)(z + x)$. A correction was made regarding the sign in the equation, clarifying that $y$ should be expressed as $y = z^2 - x^2$. The method involves factoring $y$ into two integers, which helps derive formulas for $x$ and $z$. The thread emphasizes the importance of accurately applying these mathematical principles to count valid pairs.
cooltu
Messages
7
Reaction score
0
Two integers will be taken from 1 to 50, where at least one of them should be a square number and sum of them should also be a square number. How many different pair like this can be found? Will I count (9,16) and (16,9) as one ?
 
Mathematics news on Phys.org
So $x^2+ y= z^2$ for x, y, and z integers. That is the same as $x^2- z^2= (x- z)(x+ z)= y$. Look at the ways to factor y: y= mn and the x- z= m, x+ z= n. Adding those two equations, 2x= m+ n, x= (m+ n)/2. Subtracting, 2z= n- m, z= (n- m)/2.

added much later: I've noticed that I have a sign error: from $x^2+ y= z^2$, $y= z^2- x^2$, not $x^2- x^2$. So y= (z- x)(z+ x). Taking y= mn, z- x= m, z+ x= n so that 2z= n+m, z= (n+m)/2, 2x= n- m so x= (n-m)/2, just the opposite of what I had before.
 
Last edited by a moderator:
Thread 'Erroneously  finding discrepancy in transpose rule'
Obviously, there is something elementary I am missing here. To form the transpose of a matrix, one exchanges rows and columns, so the transpose of a scalar, considered as (or isomorphic to) a one-entry matrix, should stay the same, including if the scalar is a complex number. On the other hand, in the isomorphism between the complex plane and the real plane, a complex number a+bi corresponds to a matrix in the real plane; taking the transpose we get which then corresponds to a-bi...

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
Replies
4
Views
2K
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
13
Views
2K
  • · Replies 20 ·
Replies
20
Views
4K