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”).

A371691
Main diagonal of A365992: parity of the n-th term in the trajectory of n under the A185452 map.
5
1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0
OFFSET
1
COMMENTS
See A365992 for more information and links.
FORMULA
a(n) = A368301(n) mod 2 = A365992(n,n-1).
MATHEMATICA
Table[Mod[Nest[If[OddQ[#], (5*#+1)/2, #/2] &, n, n-1], 2], {n, 100}]
CROSSREFS
Parity of A368301.
Sequence in context: A187972 A248396 A285952 * A103842 A286064 A065535
KEYWORD
nonn,easy
AUTHOR
Paolo Xausa, Apr 04 2024
STATUS
approved