login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A378314
a(n) = number of subsets of {1, 2, ..., n} that represent the first k divisors of m for some positive integers m and 1 <= k <= A000005(m).
5
0, 1, 2, 4, 6, 12, 16, 28, 36, 52, 70, 118, 150, 246, 318, 382, 430, 670, 798, 1278, 1566, 1886, 2270, 3230, 3742, 4702, 5854, 6814, 7966, 11806, 14878, 22558, 25630, 32542, 40222, 46366, 52510, 70942, 86302, 100126, 112414, 149278, 172318, 246046, 295198, 344350, 405790, 553246, 626974, 774430, 897310
OFFSET
0,3
FORMULA
a(n) = Sum_{i=1..n} sigma(LCM(1,2,...,i)/i).
EXAMPLE
a(4) = 6 enumerates subsets {1}, {1,2}, {1,2,3}, {1,2,4}, {1,2,3,4}, {1,3}.
PROG
(PARI) a378314(n) = my(L=1); sum(i=1, n, L=lcm(L, i); sigma(L/i));
CROSSREFS
Partial sums of A190940.
Sequence in context: A293132 A098895 A266543 * A330711 A220219 A284456
KEYWORD
nonn
AUTHOR
Max Alekseyev, Nov 22 2024
STATUS
approved