0
Seriously, 23 bytes
,R`2(%`M;Σ:101:-(dXR(#+
Uses the same approach as my Python answer, but I do the modulo 2 using mapping, and several times, I rotate my stack.
Explanation
Push input (I will call it i), push range(1,i+1), make a function take pushes 2, rotates stack, and take modulo. Then...