OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Abundance
EXAMPLE
12 is in the sequence since sigma(12) - 2*12 = 28 - 24 = 4 = 2^2 is a square.
MATHEMATICA
Select[Range[6000], IntegerQ@Sqrt[DivisorSigma[1, #] - 2 #] &] (* Amiram Eldar, Jun 22 2019 *)
PROG
(PARI) isok(n) = issquare(sigma(n) - 2*n); \\ Michel Marcus, Jun 22 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Eric W. Weisstein, Jun 30 2005
EXTENSIONS
Name clarified by Amiram Eldar, Jun 22 2019
STATUS
approved