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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A241666 Gives the value (either 0 or 1) that the trajectory of n under A241663 eventually reaches. 2
 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0 COMMENTS a(n) = 1 for n = 1, 5, 25, 29, 125, 145, 149, 625, 725, 745, 841, ... - Alois P. Heinz, Apr 30 2014 LINKS Antti Karttunen, Table of n, a(n) for n = 0..65537 C. Defant, On Arithmetic Functions Related to Iterates of the Schemmel Totient Functions, J. Int. Seq. 18 (2015) # 15.2.1 Colin Defant, Python program Index entries for characteristic functions FORMULA a(0) = 0, a(1) = 1, and for n > 1, a(n) = a(A241663(n)). - Antti Karttunen, Nov 05 2017 EXAMPLE A241663(A241663(7))=0, so a(7)=0. A241663(A241663(A241663(29)))=1, so a(29)=1. PROG (Python) # The link above provides a Python program. Input m=4, as well as starting and ending values of n. The fourth string of numbers will be this sequence. (Scheme, with memoization-macro definec) (definec (A241666 n) (if (<= n 1) n (A241666 (A241663 n)))) ;; Antti Karttunen, Nov 05 2017 CROSSREFS Sequence in context: A103588 A153638 A122415 * A324539 A324964 A285957 Adjacent sequences: A241663 A241664 A241665 * A241667 A241668 A241669 KEYWORD nonn AUTHOR Colin Defant, Apr 26 2014 EXTENSIONS Term a(0)=0 prepended and more terms added by Antti Karttunen, Nov 05 2017 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.

Last modified July 21 12:40 EDT 2024. Contains 374472 sequences. (Running on oeis4.)