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.

A084348 Triangle in which row n gives periodic part of a certain map.

Original entry on oeis.org

0, 0, 1, 2, 2, 1, 2, 1, 0, 1, 2, 0, 1, 0, 1, 2, 5, 4, 5, 2, 1, 2, 5, 2, 2, 4, 4, 1, 2, 5, 0, 1, 6, 5, 4, 1, 2, 5, 7, 2, 2, 4, 2, 8, 1, 2, 5, 6, 5, 6, 7, 0, 1, 0, 1, 2, 5, 5, 10, 7, 10, 5, 8, 7, 5, 1, 2, 5, 4, 5, 2, 1, 8, 5, 10, 5, 8, 1, 2, 5, 3, 0, 1, 7, 11, 11, 9, 0, 1, 0, 1, 2, 5, 2, 9, 4, 11, 8, 9, 12, 9, 2
Offset: 1

Views

Author

Benoit Cloitre, Jun 22 2003

Keywords

Comments

Let r(k,n)=floor(e*k!)-n*floor(e*k!/n) then for any n integer>0, sequence r(k,n) is n-periodic. Sequence gives periods of r(k,n) for fixed n.

Examples

			If n=7, r(k,7) is sequence 2, 5, 2, 2, 4, 4, 1, 2, 5, 2, 2, 4, 4, 1, 2, 5, 2, 2, 4, 4, 1, 2, 5, 2, 2, 4, 4, 1, 2, 5...... 7-periodic with period: (2, 5, 2, 2, 4, 4, 1,)
		

Crossrefs

Cf. A084351.