login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A258201 a(n) = smallest number encountered when iterating the map x -> floor(tan(x)) starting from the initial value x = n. 5
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Note that this sequence lists such values only for nonnegative integers, although the function is defined in all Z.
LINKS
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.]
PROG
(MIT/GNU Scheme) (define (A258201 n) (let loop ((n n) (m n)) (let ((next (floor->exact (tan n)))) (if (= n next) m (loop next (min m next))))))
CROSSREFS
Sequence in context: A137876 A016604 A255058 * A164731 A226576 A297902
KEYWORD
sign
AUTHOR
Antti Karttunen, May 26 2015
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 12:58 EDT 2024. Contains 371913 sequences. (Running on oeis4.)