A289290 Numbers n such that the sum of the divisors of n is of the form m^2+1.
1, 657, 3681, 10809, 15777, 17937, 24201, 28521, 54657, 81441, 122697, 154881, 230481, 265257, 336321, 346041, 455337, 473481, 547137, 613017, 718857, 833121, 898137, 1161009, 1226457, 1274841, 1305081, 1510281, 1584801, 1618497, 1695609, 1752417, 1846161, 1965609
Offset: 1
Keywords
Examples
657 is in the sequence because sigma(657) = 962 = 31^2 + 1.
Links
- Giovanni Resta, Table of n, a(n) for n = 1..10000
Programs
-
Maple
with(numtheory):nn:=10^6: for n from 1 to nn do: y:=sqrt(sigma(n)-1): if y=floor(y) then printf(`%d, `,n): else fi: od:
-
Mathematica
Select[Range[10^6], IntegerQ[Sqrt[DivisorSigma[1, #] - 1]] &] (* Giovanni Resta, Jul 02 2017 *)
-
PARI
isok(n) = issquare(sigma(n) - 1); \\ Michel Marcus, Jul 02 2017
Extensions
Name edited by Robert Israel, Jul 03 2017
Comments