OFFSET
1,1
COMMENTS
The smallest k such that there exists a number 1 <= m <= k-1 and at least three different pairs (x,y), 1 <= x < y <= k-1 such that 1/x^2 - 1/y^2 = 1/m^2 - 1/k^2 is k = 1872: we have 1/300^2 - 1/325^2 = 1/468^2 - 1/585^2 = 1/624^2 - 1/1040^2 = 1/720^2 - 1/1872^2. See the Mathematics Stack Exchange link for more examples, and A380150.
LINKS
Jinyuan Wang, Table of n, a(n) for n = 1..2000
Mathematics Stack Exchange, Finding multiple ways of representing a number by a difference of inverse squares
Jianing Song, All examples with k <= 1500
EXAMPLE
See a-file for examples.
PROG
(PARI) is(n) = my(v=[], m2); for(y=1, n-1, for(x=1, y-1, m2=1/(1/x^2-1/y^2+1/n^2); if(m2==m2\1 && issquare(m2), v=concat(v, [m2])); if(#Set(v)<#v, return(1)))); return(0) \\ See also A379895 for its program
CROSSREFS
KEYWORD
nonn
AUTHOR
Jianing Song, Jan 07 2025
EXTENSIONS
More terms from Jinyuan Wang, Jan 08 2025
STATUS
approved