[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A258021
Eventual fixed point of map x -> floor(tan(x)) when starting the iteration with the initial value x = n.
7
0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0
OFFSET
0
COMMENTS
Note that this sequence lists the terminating values only for the nonnegative starting points of the iteration map, although the function is defined in all Z and the intermediate steps in iteration may visit also negative numbers.
Pohjola conjectures that no other numbers than 0 and 1 will ever occur in this sequence.
In any case, any strictly positive term present in this sequence must be one of the terms of A249836.
LINKS
FORMULA
If n is equal to floor(tan(n)), then a(n) = n, and for any other n (positive or negative), a(n) = a(floor(tan(n))). [Recurrence defined in whole Z.]
PROG
(Scheme) (define (A258021 n) (if (= n (floor->exact (tan n))) n (A258021 (floor->exact (tan n)))))
CROSSREFS
Cf. also A258022 (positions of terms <= 0), A258024 (positions of terms >= 1), A258201 (the smallest number visited in the iteration).
Sequence in context: A356921 A356922 A106701 * A033684 A080885 A258998
KEYWORD
nonn
AUTHOR
STATUS
approved