OFFSET
1,1
LINKS
John Cerkan, Table of n, a(n) for n = 1..10000
EXAMPLE
1113 + sigma(1113) + sigma(sigma(1113)) = 89^2.
MATHEMATICA
okQ[n_]:=Module[{dsn=DivisorSigma[1, n]}, IntegerQ[Sqrt[n+dsn+DivisorSigma[1, dsn]]]]; Select[Range[22000], okQ] (* Harvey P. Dale, Jan 23 2011 *)
PROG
(PARI) is(n)=my(s=sigma(n)); issquare(n+s+sigma(s)) \\ Charles R Greathouse IV, Jul 30 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Giovanni Resta, Feb 13 2006
STATUS
approved