login
A274553
Numbers n such that sigma(n) == 0 (mod n+4).
3
9, 56, 368, 780, 836, 2352, 11096, 17816, 45356, 77744, 91388, 128768, 254012, 388076, 430272, 2087936, 2291936, 13174976, 29465852, 35021696, 45335936, 120888092, 184773312, 260378492, 381236216, 775397948, 3381872252, 4856970752, 6800228816, 8589344768, 44257207676, 114141404156, 1461083549696, 1471763808896, 2199013818368
OFFSET
1,1
EXAMPLE
sigma(9) mod 9+4 = 13 mod 13 = 0.
MAPLE
with(numtheory); P:=proc(q, h) local n; for n from 1 to q do
if n+h>0 then if type(sigma(n)/(n+h), integer) then print(n); fi; fi; od; end: P(10^9, 4);
MATHEMATICA
k = 4; Select[Range[Abs@ k + 1, 10^6], Mod[DivisorSigma[1, #], # + k] == 0 &] (* Michael De Vlieger, Jul 01 2016 *)
PROG
(Magma) [n: n in [1..2*10^6] | SumOfDivisors(n) mod (n+4) eq 0 ]; // Vincenzo Librandi, Jul 02 2016
KEYWORD
nonn
AUTHOR
Paolo P. Lava, Jun 28 2016
EXTENSIONS
a(18)-a(35) from Giovanni Resta
STATUS
approved