login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A364202
Integers m which can be written as m = p*q = r*s, with 1 <= r < p < q < s <= m and satisfying (p+q) | (s-r).
2
6, 21, 24, 30, 40, 52, 54, 60, 72, 84, 96, 105, 120, 126, 150, 154, 160, 165, 180, 186, 189, 204, 208, 210, 216, 240, 270, 273, 288, 294, 300, 301, 312, 322, 330, 336, 342, 357, 360, 378, 384, 414, 420, 456, 468, 480, 486, 504, 525, 540, 546, 550, 594, 600
OFFSET
1,1
COMMENTS
Terms may have multiple solutions p,q,r,s, and each has a least quotient k = (s-r) / (p+q).
Those with k=1 are the congruent numbers (A003273) and others are a more general case.
They all share a simple inter-square characterization. The 4 squares are A = (q-p)^2, B = (p+q)^2, C = ((p+q)*k)^2 and D = (r+s)^2. We have B = A + 4m, C = B*(k^2) and D = C + 4m, where 4m is added exclusively to avoid the use of fractions.
EXAMPLE
21 is a term since 21 = 3*7 = 1*21 which has 3+7 = 10 divides 21-1 = 20 (k=2).
So there are 4 squares, in this case, 16, 100, 400 and 484, which are related by this number. In effect, 4*21=+84 jumps from the first to the second, which, multiplied by k^2, gives the third, where +84 gives the fourth.
PROG
(PARI) isok(k) = my(d=divisors(k)); if (#d >= 4, for (i=1, #d-1, my(r = d[i], s = k/r); if (r<s, for (j=2, #d, my(p = d[j], q = k/p); if (p<q, if (!((s-r) % (p+q)), return(1)); ); ); ); ); ); \\ Michel Marcus, Jul 17 2023
CROSSREFS
Cf. A003273 (congruent numbers).
Sequence in context: A143416 A273787 A323916 * A323917 A327865 A369969
KEYWORD
nonn
AUTHOR
Jose Aranda, Jul 13 2023
EXTENSIONS
More terms from Alois P. Heinz, Jul 13 2023
STATUS
approved