OFFSET
1,1
COMMENTS
Numbers n such that A100073(n) >= 2; see there for more information and formulas.
In sequence A058957 the smaller square is allowed to be zero, therefore it lists all squares > 4 (m^2 - 0^2 = ((m^2+1)/2)^2 - ((m^2-1)/2)^2 if odd, = (m^2/4+1)^2 - (m^2/4-1)^2 if even) in addition to the terms given here, which already comprise squares (64, 144, ...) having more representations than these "trivial" ones. - M. F. Hasler, Jul 11 2018
LINKS
Geoffrey Campbell, Numbers that are the difference of two squares in two or more ways, Number Theory group on LinkedIn, July 8, 2018.
FORMULA
A306102 = { n = 2k+1 | A056924(n) > 1 } U { n = 4k | A056924(n/4) > 1 }. - M. F. Hasler, Jul 10 2018
MATHEMATICA
Select[Range@156, Length@ FindInstance[x^2 - y^2 == # && x>y>0, {x, y}, Integers, 2] == 2 &] (* Giovanni Resta, Jul 10 2018 *)
PROG
(PARI) select( is(n)=A100073(n)>1, [1..200]) \\ M. F. Hasler, Jul 10 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Geoffrey B. Campbell (Geoffrey.Campbell(AT)anu.edu.au), Jul 10 2018
STATUS
approved