You did fill the first two properly.
For the last one, here is some hint: odd indices should have 1 as value, whereas even indices should have 0.
And performing a bitwise AND operation with 1 allows you to isolate the lowest bit:
(an even number) & 1 == 0
(an odd number) & 1 == 1
You just have to apply that logic for the remaining part.
Hope this helps.