login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A123640 a(n) = A065120(n) modulo 2. 5

%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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 18:05 EDT 2024. Contains 371798 sequences. (Running on oeis4.)