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.

A272171 Triangle read by rows: T(n,k) in which row n lists the first n terms of A000005 in reverse order.

Original entry on oeis.org

1, 2, 1, 2, 2, 1, 3, 2, 2, 1, 2, 3, 2, 2, 1, 4, 2, 3, 2, 2, 1, 2, 4, 2, 3, 2, 2, 1, 4, 2, 4, 2, 3, 2, 2, 1, 3, 4, 2, 4, 2, 3, 2, 2, 1, 4, 3, 4, 2, 4, 2, 3, 2, 2, 1, 2, 4, 3, 4, 2, 4, 2, 3, 2, 2, 1, 6, 2, 4, 3, 4, 2, 4, 2, 3, 2, 2, 1, 2, 6, 2, 4, 3, 4, 2, 4, 2, 3, 2, 2, 1, 4, 2, 6, 2, 4, 3, 4, 2, 4, 2, 3, 2, 2, 1
Offset: 1

Views

Author

Omar E. Pol, Apr 21 2016

Keywords

Examples

			Triangle begins:
1;
2, 1;
2, 2, 1;
3, 2, 2, 1;
2, 3, 2, 2, 1;
4, 2, 3, 2, 2, 1;
2, 4, 2, 3, 2, 2, 1;
4, 2, 4, 2, 3, 2, 2, 1;
3, 4, 2, 4, 2, 3, 2, 2, 1;
4, 3, 4, 2, 4, 2, 3, 2, 2, 1;
2, 4, 3, 4, 2, 4, 2, 3, 2, 2, 1;
6, 2, 4, 3, 4, 2, 4, 2, 3, 2, 2, 1;
...
		

Crossrefs

Column k gives A000005 starting in row k.
Row sums give A006218, n >= 1.

Formula

a(n) = A000005(A004736(n)).
T(n,k) = A000005(n-k+1).