cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A318806 Triangular array read by rows, where T(n,k) is the number of almost distinct partitions of n in which every part is <= k for 1 <= k <= n.

Original entry on oeis.org

1, 1, 2, 1, 2, 3, 1, 2, 3, 4, 1, 2, 4, 5, 6, 1, 2, 4, 6, 7, 8, 1, 2, 4, 7, 9, 10, 11, 1, 2, 4, 7, 10, 12, 13, 14, 1, 2, 4, 8, 12, 15, 17, 18, 19, 1, 2, 4, 8, 13, 17, 20, 22, 23, 24, 1, 2, 4, 8, 14, 20, 24, 27, 29, 30, 31, 1, 2, 4, 8, 15, 22, 28, 32, 35, 37, 38, 39, 1, 2, 4, 8, 15, 24, 32, 38, 42, 45, 47
Offset: 1

Views

Author

Sara Billey, Sep 04 2018

Keywords

Comments

An almost distinct partition of n with parts bounded by k is a decreasing sequence of positive integers (a(1), a(2), ..., a(k)) such that n = a(1) + a(2) +...+ a(k), any a(i) > 1 is distinct from all other values, and all a(i) <= k.

Examples

			There are T(5,6) = 7 almost distinct partitions of 6 in which every part is <= 5: [5,1], [4,2], [4,1,1], [3,2,1], [3,1,1,1], [2,1,1,1,1], [1,1,1,1,1,1].
Triangle starts:
1;
1, 2;
1, 2, 3;
1, 2, 3, 4;
1, 2, 4, 5,  6;
1, 2, 4, 6,  7,  8;
1, 2, 4, 7,  9, 10, 11;
1, 2, 4, 7, 10, 12, 13, 14;
1, 2, 4, 8, 12, 15, 17, 18, 19;
1, 2, 4, 8, 13, 17, 20, 22, 23, 24;
...
		

Crossrefs

Programs