OFFSET
1,1
EXAMPLE
Prime factors of 116265 are 3, 5, 23 and 337. We have that (116265-9)/(3+9) = 9688, (116265-9)/(5+9) = 8304, (116265-9)/(23+9) = 3633 and (116265-9)/(337+9) = 336.
MAPLE
with(numtheory); A225719:=proc(i, j) local c, d, n, ok, p, t;
for n from 2 to i do if not isprime(n) then p:=ifactors(n)[2]; ok:=1;
for d from 1 to nops(p) do if p[d][2]>1 or p[d][1]=j then ok:=0; break; fi;
if not type((n+j)/(p[d][1]-j), integer) then ok:=0; break; fi; od;
if ok=1 then print(n); fi; fi; od; end: A225719(10^9, -9);
CROSSREFS
KEYWORD
nonn
AUTHOR
Paolo P. Lava, May 13 2013
STATUS
approved