OFFSET
1,2
COMMENTS
The unitary deficient numbers account for almost 93% of all integers (including all primes (A000040) and prime powers (A000961)) and asymptotically satisfy a(n)~1.0753n. This provides an excellent fit as n grows larger. For example, the one millionth unitary deficient number is 1075293 and the asserted approximation returns 1075300, giving an error of only 0.00065%.
LINKS
Nathaniel Johnston, Table of n, a(n) for n = 1..10000
EXAMPLE
The sixth integer that exceeds the sum of its proper unitary divisors is 7. Hence a(6)=7.
MAPLE
a := proc(n) numtheory[divisors](n); select(d -> igcd(d, n/d)=1, %); `if`(add(i, i=%) < 2*n, n, NULL) end: # Peter Luschny, May 03 2009
MATHEMATICA
UnitaryDivisors[n_Integer?Positive]:=Select[Divisors[n], GCD[ #, n/# ]==1&]; Select[Range[100], Plus@@UnitaryDivisors[ # ]-2#<0 &]
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Ant King, Apr 20 2007
STATUS
approved