OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
6 and 12 are divisors of 180 and 6^2 + 12^2 = 36 + 144 = 180, therefore 180 is a term.
MATHEMATICA
aQ[n_] := AnyTrue[n - Divisors[n]^2, IntegerQ[(s = Sqrt[#])] && s>0 && Divisible[n, s] &]; Select[Range[2, 1872], aQ] (* Amiram Eldar, Sep 02 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jun 01 2004
STATUS
approved