OFFSET
1,1
EXAMPLE
Prime factors of 16511 are 11, 19 and 79. We have that (16511+9)/(11-9) = 8260, (16511+9)/(19-9) = 1652 and (16511+9)/(79-9) = 236.
MAPLE
with(numtheory); A225709:=proc(i, j) local c, d, n, ok, p, t;
for n from 1 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: A225709(10^9, 9);
MATHEMATICA
t = {}; n = 0; While[Length[t] < 50, n++; {p, e} = Transpose[FactorInteger[n]]; If[Length[p] > 1 && Union[e] == {1} && Union[Mod[n + 9, p - 9]] == {0}, AppendTo[t, n]]]; t (* T. D. Noe, May 17 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Paolo P. Lava, May 13 2013
STATUS
approved