login
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