OFFSET
1,2
COMMENTS
T(n,k) is also the number of positive integers <= n with k partitions into consecutive parts.
T(n,k) is also the number of positive integers m <= n whose symmetric representation of sigma(m) has k subparts.
LINKS
Sean A. Irvine, Table of n, a(n) for n = 1..10000
EXAMPLE
Triangle begins:
-----------------
n\k 1 2 3 4
-----------------
1 | 1;
2 | 2;
3 | 2, 1;
4 | 3, 1;
5 | 3, 2;
6 | 3, 3;
7 | 3, 4;
8 | 4, 4;
9 | 4, 4, 1;
10 | 4, 5, 1;
11 | 4, 6, 1;
12 | 4, 7, 1;
13 | 4, 8, 1;
14 | 4, 9, 1;
15 | 4, 9, 1, 1;
16 | 5, 9, 1, 1;
...
MATHEMATICA
T[nmax_] := Module[{t = Table[DivisorSigma[0, n/2^IntegerExponent[n, 2]], {n, 1, nmax}]}, Table[Tally[t[[1 ;; k]]][[;; , 2]], {k, 1, nmax}] // Flatten]; T[30] (* Amiram Eldar, Mar 12 2026 *)
CROSSREFS
KEYWORD
AUTHOR
Omar E. Pol, Mar 12 2026
STATUS
approved
