proposed
approved
proposed
approved
editing
proposed
Consider the 2^n compositions of n per row and mark only those ending in an odd part.
a(n) = A065120(n) modulo 2.
Previous name was: Consider the 2^n compositions of n per row and mark only those ending in an odd part.
a(n) = Mod(A065120(n),2).
New name using given formula, Joerg Arndt, Jan 24 2024
approved
editing
proposed
approved
editing
proposed
(PARI) lista(nn) = {my(v = vector(nn)); v[1] = 1; for (i=2, nn, v[i] = mg(i-1)*v[(i+1)\2]; ); for (i=1, nn, print1(valuation(v[i], 2) % 2, ", "); ); } \\ Michel Marcus, Feb 09 2014
approved
editing
_Alford Arnold (Alford1940(AT)aol.com), _, Oct 04 2006
More terms from _Nathaniel Johnston (nathaniel(AT)nathanieljohnston.com), _, Apr 30 2011
proposed
approved
0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0
a(n) = Mod(A065120(n),2).
A065120 begins 0 , 1 , 2 , 1 , 3 , 2 , 1 , 1 , 4 , 3 , 2 , 2 , 1 , 1 , 1 , 1 , ...
therefore
Therefore this sequence begins 0 , 1 , 0 , 1 , 1 , 0 , 1 , 1 , 0 , 1 , 0 , 0 , 1 , 1 , 1 , 1 , ...
easy,more,nonn
More terms from Nathaniel Johnston (nathaniel(AT)nathanieljohnston.com), Apr 30 2011
approved
proposed