|
Search: id:A065608
|
|
|
| A065608 |
|
Sum of divisors of n minus the number of divisors of n. |
|
+0 9
|
|
| 0, 1, 2, 4, 4, 8, 6, 11, 10, 14, 10, 22, 12, 20, 20, 26, 16, 33, 18, 36, 28, 32, 22, 52, 28, 38, 36, 50, 28, 64, 30, 57, 44, 50, 44, 82, 36, 56, 52, 82, 40, 88, 42, 78, 72, 68, 46, 114, 54, 87, 68, 92, 52, 112, 68, 112, 76, 86, 58, 156, 60, 92, 98, 120, 80, 136, 66, 120, 92
(list; graph; listen)
|
|
|
OFFSET
|
1,3
|
|
|
COMMENT
|
Number of permutations p of {1,2,...,n} such that p(k)-k takes exactly two distinct values. Example: a(4)=4 because we have 4123, 3412, 2143, and 2341. (Max Alekseyev and Emeric Deutsch) - Emeric Deutsch (deutsch(AT)duke.poly.edu), Dec 22 2006
|
|
LINKS
|
T. D. Noe, Table of n, a(n) for n=1..1000
|
|
FORMULA
|
G.f.: sum(k>=1, x^(2k)/(1-x^k)^2) - Benoit Cloitre (benoit7848c(AT)orange.fr), Apr 21 2003
Starting (1, 2, 4, 4, 8, 6,...), = row sums of triangle A134837. - Gary W. Adamson (qntmpkt(AT)yahoo.com), Nov 12 2007
|
|
MAPLE
|
with(numtheory): seq(sigma(n)-tau(n), n=1..70); - Emeric Deutsch (deutsch(AT)duke.poly.edu), Dec 22 2006
|
|
CROSSREFS
|
Cf. A000203, A000005.
Cf. A134857.
Sequence in context: A107748 A005884 A079890 this_sequence A077764 A110794 A117295
Adjacent sequences: A065605 A065606 A065607 this_sequence A065609 A065610 A065611
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Jason Earls (jcearls(AT)cableone.net), Nov 06 2001
|
|
|
Search completed in 0.002 seconds
|