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.

A220663 Irregular table: row n (n>=1) consists of numbers 0..A084556(n)-1.

Original entry on oeis.org

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

Views

Author

Antti Karttunen, Dec 18 2012

Keywords

Comments

The term a(n) tells from which position (zero-based, starting from the left hand end of permutation) of the corresponding permutation in A030298 the term A030298(n) should be picked from.

Examples

			Rows of this irregular table begin as:
0;
0, 1;
0, 1;
0, 1, 2;
0, 1, 2;
...
		

Crossrefs

Programs

Formula

a(n) = n - A220662(n).
a(n) = A220694(n)-1.