|
|
A085883
|
|
Let r and s be such that r + s = n; a(n) = maximum value of tau(r) + tau(s).
|
|
3
|
|
|
2, 3, 4, 4, 5, 5, 6, 6, 7, 6, 8, 7, 8, 8, 9, 8, 10, 8, 10, 9, 10, 8, 12, 9, 10, 10, 11, 10, 12, 10, 12, 11, 12, 10, 14, 10, 12, 12, 13, 11, 14, 11, 14, 12, 13, 11, 16, 11, 14, 13, 14, 12, 16, 12, 15, 13, 14, 12, 17, 13, 14, 14, 16, 14, 17, 14, 16, 15, 16, 14, 18, 14, 16, 16, 17, 14
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
2,1
|
|
LINKS
|
|
|
EXAMPLE
|
a(8) = 6, the partitions are (1,7), (2,6), (3,5), (4,4) which give 3, 6, 4 and 6 as the sum of the number of divisors of both parts.
|
|
PROG
|
(PARI) A085883(n) = { my(m=0); for(r=1, n-1, m = max(m, (numdiv(r)+numdiv(n-r)))); m; }; \\ Antti Karttunen, Dec 14 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|