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.

A036225 Length of cycle the 'summarize the previous term' sequence gets into.

Original entry on oeis.org

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

Views

Author

Keywords

Comments

For n <= 10^7, a(n) <= 3. - A.H.M. Smeets, Jun 24 2019

Examples

			a(0)=1 because the 'Summarize the previous term' starting with 0 becomes constant and a(40)=2 because starting with 40 it gets into a cycle of two.
		

Crossrefs