OFFSET
1,1
EXAMPLE
sigma(9) mod (9 - 8) = 13 mod 1 = 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, -8);
MATHEMATICA
Select[Range[9, 10^6], Mod[DivisorSigma[1, #], # - 8] == 0 &] (* Michael De Vlieger, Jul 05 2016 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Paolo P. Lava, Jul 05 2016
EXTENSIONS
a(30)-a(56) from Giovanni Resta, Jul 05 2016
STATUS
approved