%I #11 Jan 24 2024 07:57:18
%S 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,
%T 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,
%U 0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0
%N a(n) = A065120(n) modulo 2.
%C Previous name was: Consider the 2^n compositions of n per row and mark only those ending in an odd part.
%e A065120 begins 0, 1, 2, 1, 3, 2, 1, 1, 4, 3, 2, 2, 1, 1, 1, 1, ...
%e Therefore this sequence begins 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, ...
%o (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
%Y Cf. A001045, A065120, A123638, A123639, A123641.
%K easy,nonn
%O 0,1
%A _Alford Arnold_, Oct 04 2006
%E More terms from _Nathaniel Johnston_, Apr 30 2011
%E New name using given formula, _Joerg Arndt_, Jan 24 2024
|