I am attempting to do the following:
Find the formula for the nth term of the sequence: 1,1,1,1,0,0,0,0...
Find the formula for the nth term for the sequence: 1,1,1,1,0,0,0,0,1,1,1,1,0,0,0,0,-1,-1,-1,-1,0,0,0,0,-1,-1,-1,-1,0,0,0,0...
I've searched and found videos about the sequence 1,0,1,0,... the sequence 1,0,0,1,0,0,... and the sequence 1,0,0,0,1,0,0,0... but I am struggling when it comes to incorporating the cosine function and when/how much rotation I should be adding per term or if I should be adding cosine functions together.
Okay, so I chose to use the floor function because it seems simpler to me. With cosines and sines, it takes longer, I think.