OFFSET
1,1
COMMENTS
A unitary divisor of n is a divisor d of n such that gcd(d, n/d) = 1.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..1000 from Harry J. Smith)
FORMULA
EXAMPLE
The unitary divisors of 15 are 1,3,5,15 and then the unitary aliquot part is 9 which is a square.
MATHEMATICA
us[1] = 0; us[n_] := Times @@ (1 + Power @@@ FactorInteger[n]) - n; Select[Range[1500], (s = us[#]) > 1 && IntegerQ@Sqrt[s] &] (* Amiram Eldar, Mar 14 2020 *)
PROG
(PARI) us(n) = sumdiv(n, d, if(gcd(d, n/d)==1, d));
j=[]; for(n=1, 3000, if(us(n)-n > 1 && issquare(us(n)-n), j=concat(j, n))); j
(PARI) us(n) = sumdiv(n, d, if(gcd(d, n/d)==1, d))
{ n=0; for (m=1, 10^9, u=us(m) - m; if (issquare(u) && u > 1, write("b063936.txt", n++, " ", m); if (n==1000, break)) ) } \\ Harry J. Smith, Sep 03 2009
(Haskell)
import Data.List (findIndices)
a063936 n = a063936_list !! (n-1)
a063936_list = map (+ 1) $
findIndices (\x -> x > 1 && a010052 x == 1) a034460_list
-- Reinhard Zumkeller, Aug 15 2012
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Felice Russo, Aug 31 2001
EXTENSIONS
More terms from Jason Earls, Sep 04 2001
STATUS
approved