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.

A059607 As an upper right triangle, number of distinct partitions of n where the highest part is k (0<=k<=n).

Original entry on oeis.org

1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 2, 1, 1, 1, 0, 0, 0, 0, 1, 2, 1, 1, 1, 0, 0, 0, 0, 1, 2, 2, 1, 1, 1, 0, 0, 0, 0, 1, 2, 2, 2, 1, 1, 1, 0, 0, 0, 0, 0, 2, 3, 2, 2, 1, 1, 1, 0, 0, 0, 0, 0, 2, 3, 3, 2, 2, 1, 1, 1, 0, 0, 0, 0, 0, 1, 3, 4, 3, 2, 2, 1, 1, 1
Offset: 0

Views

Author

Henry Bottomley, Jan 30 2001

Keywords

Examples

			Rows are {1,0,0,0,...}, {1,0,0,0,...}, {1,1,0,0,...}, {1,1,1,1,...}, {1,1,1,2,...} etc. T(7,4)=2 since 7 can be written as 4+3 or 4+2+1. T(12,6)=3 since 12 can be written as 6+5+1 or 6+4+2 or 6+3+2+1.
		

Crossrefs

As upper right triangle, row sum is A011782, column sum is A000009, column maximum is A025591 (offset), row maximum is A026839 (offset). Cf. A026836 for this triangle starting at (1, 1) rather than (0, 0).

Programs

Formula

T(n, k) =sum_j[T(n-k, j)] for k>j with T(0, 0)=1