|
|
A063919
|
|
Sum of proper unitary divisors (or unitary aliquot parts) of n, including 1.
|
|
36
|
|
|
1, 1, 1, 1, 1, 6, 1, 1, 1, 8, 1, 8, 1, 10, 9, 1, 1, 12, 1, 10, 11, 14, 1, 12, 1, 16, 1, 12, 1, 42, 1, 1, 15, 20, 13, 14, 1, 22, 17, 14, 1, 54, 1, 16, 15, 26, 1, 20, 1, 28, 21, 18, 1, 30, 17, 16, 23, 32, 1, 60, 1, 34, 17, 1, 19, 78, 1, 22, 27, 74, 1, 18, 1, 40, 29, 24, 19, 90, 1, 22, 1, 44
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,6
|
|
COMMENTS
|
For definition of unitary divisor see A034448.
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
a(10) = 8 because the unitary divisors of 10 are 1, 2, 5 and 10, with sum 18 and 18-10 = 8.
|
|
MAPLE
|
if n = 1 then
1;
else
end if;
|
|
MATHEMATICA
|
a[n_] := Total[Select[Divisors[n], GCD[#, n/#] == 1&]]-n; a[1] = 1; Table[a[n], {n, 82}] (* Jean-François Alcover, Aug 31 2011 *)
|
|
PROG
|
(PARI) usigma(n) = sumdiv(n, d, if(gcd(d, n/d)==1, d))
{ for (n=1, 1000, if (n>1, a=usigma(n) - n, a=1); write("b063919.txt", n, " ", a) ) } \\ Harry J. Smith, Sep 02 2009
(PARI)
A034460(n) = (sumdivmult(n, d, if(gcd(d, n/d)==1, d))-n); \\ From A034460
(Haskell)
a063919 1 = 1
a063919 n = sum $ init $ a077610_row n
|
|
CROSSREFS
|
The values of sequence are A034448(n)-n (for n > 1).
|
|
KEYWORD
|
easy,nonn,nice
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|