Hello I need some help with this problem.

Find a formula for the nth term of the sequence.

1,0,0,1,0,0,0,0,1,0

so far I looked at the indexes of where 1s appear but I am not sure where to go from there and how to create a formula for this problem. I hope someone can explain to me the steps on how to solve this problem thanks.