OFFSET
0,1
COMMENTS
These are the bitmasks (or symmetric differences) obtained when the n-th iterate of 27 with Reduced Collatz-function R [= A372443(n), where R(n) = A000265(3*n+1)] is xored with that term of A086893 that has the same binary length. The binary expansions of the terms of A086893 are always of the form 10101...0101 (i.e., alternating 1's and 0's starting and ending with 1) when the binary length is odd, and of the form 110101...0101 (i.e., 1 followed by alternating 1's and 0's, and ending with 1) when n is even. Note that for all n >= 1, R(A086893(2n-1)) = 1, and R(A086893(2n)) = 5 (with R(5) = 1), so the first zero here, a(39) = 0 indicates that the iteration will soon have reached the terminal 1, and indeed, A372443(41) = 1.
LINKS
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 03 2024
STATUS
approved