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.

A258201 a(n) = smallest number encountered when iterating the map x -> floor(tan(x)) starting from the initial value x = n.

Original entry on oeis.org

0, 1, -3, -3, 1, -4, -3, 0, -7, -3, 0, -226, -3, 0, 0, -3, 0, -3, -3, 0, -3, -3, 0, 1, -3, -3, 1, -4, -3, 0, -7, -3, 0, -76, -3, 0, 0, -3, 0, -3, -3, 0, -3, -3, 0, 1, -3, -3, 1, -4, -3, 0, -7, -3, 0, -46, -3, 0, -7, -3, 0, -3, -3, 0, -3, -3, 0, 1, -3, -3, 1, -4, -3, 0, -6, -3, 0, -33, -3, 0
Offset: 0

Views

Author

Antti Karttunen, May 26 2015

Keywords

Comments

Note that this sequence lists such values only for nonnegative integers, although the function is defined in all Z.

Crossrefs

Formula

If n is equal to floor(tan(n)) then a(n) = n, otherwise (for any other n whether positive or negative) a(n) = min(n, a(floor(tan(n)))). [Recurrence defined in whole Z.]