OFFSET
1,1
LINKS
Paolo P. Lava, Table of n, a(n) for n = 1..50
EXAMPLE
Prime factors of 7733 are 11, 19 and 37. We have that (7733+7)/(11-7) = 1935, (7733+7)/(19-7) = 645 and (7733+7)/(37-7) = 258.
MAPLE
with(numtheory); A225707:=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: A225707(10^9, 7);
MATHEMATICA
t = {}; n = 0; While[Length[t] < 50, n++; {p, e} = Transpose[FactorInteger[n]]; If[Length[p] > 1 && Union[e] == {1} && Mod[n, 7] > 0 && Union[Mod[n + 7, p - 7]] == {0}, AppendTo[t, n]]]; t (* T. D. Noe, May 17 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Paolo P. Lava, May 13 2013
STATUS
approved