OFFSET
1,1
COMMENTS
Subsequence of A120944.
LINKS
Donovan Johnson, Table of n, a(n) for n = 1..500
EXAMPLE
Prime factors of 17963 are 11, 23 and 71 while d(17963) = 8. We have that 17963 - 8 = 17955 and 17955 / (11 - 8) = 5985, 17955 / (23 - 8) = 1197 and 17955 / (71 - 8) = 285.
MAPLE
with (numtheory); P:=proc(q) local a, b, c, i, ok, p, n;
for n from 2 to q do if not isprime(n) then a:=ifactors(n)[2]; ok:=1;
for i from 1 to nops(a) do if a[i][2]>1 or a[i][1]=tau(n) then ok:=0; break;
else if not type((n-tau(n))/(a[i][1]-tau(n)), integer) then ok:=0; break; fi; fi; od; if ok=1 then print(n); fi; fi; od; end: P(10^6);
CROSSREFS
KEYWORD
nonn
AUTHOR
Paolo P. Lava, Aug 20 2013
EXTENSIONS
First term deleted by Paolo P. Lava, Sep 23 2013
STATUS
approved