OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
36 has 9 divisors. 9 divides 36. So 36 is not in the sequence. 23 has 2 divisors. 2 is coprime to 23. So 23 is not in the sequence. On the other hand, 42 has 8 divisors. 8 does not divide 42. And 8 is not coprime to 42. So 42 is in the sequence.
MAPLE
filter:= proc(n) local t, g; t:= numtheory:-tau(n);
g:= igcd(t, n);
g > 1 and g < t
end proc:
select(filter, [$1..1000]); # Robert Israel, Apr 14 2017
MATHEMATICA
Select[Range[200], 1 < Mod[ #, Length[Divisors[ # ]]] && GCD[ #, Length[Divisors[ # ]]] > 1 &] (* Stefan Steinerberger, May 30 2008 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, May 23 2008
EXTENSIONS
More terms from Stefan Steinerberger, May 30 2008
STATUS
approved