OFFSET
1,2
COMMENTS
Sum of the divisors of n except the smallest numbers of the 2-dense sublists of divisors of n.
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000
EXAMPLE
For n = 78 the list of divisors of 78 is [1, 2, 3, 6, 13, 26, 39, 78]. There are two 2-dense sublists of divisors of 78, they are [1, 2, 3, 6] and [13, 26, 39, 78]. The sum of the numbers that are not the smallest number in the first sublist is 2 + 3 + 6 = 11. The sum of the numbers that are not the smallest number in the second sublist is 26 + 39 + 78 = 143. The total sum is 11 + 143 = 154, so a(78) = 154.
MATHEMATICA
A389591[n_] := Total[Map[Rest, Split[Divisors[n], #2 <= 2*# &]], 2];
Array[A389591, 100] (* Paolo Xausa, Oct 21 2025 *)
PROG
(PARI) a(n) = my(d=divisors(n)); sum(k=1, #d, if ((k>1) && (d[k]<=2*d[k-1]), d[k])); \\ Michel Marcus, Oct 09 2025
CROSSREFS
KEYWORD
nonn
AUTHOR
Omar E. Pol, Oct 08 2025
EXTENSIONS
Extra 0 removed by Sean A. Irvine, Oct 16 2025
a(53) = 0 added and more terms from Paolo Xausa, Oct 21 2025
STATUS
approved
