mesa
Gold Member
- 694
- 36
So I need a formula that calculates -1,-1,+1,+1,-1,-1,+1,+1,... for a value of n that is not a piece wise.
So far I have come up with (-1)^[2n/3] but I don't like using greatest integer
I also did:
[cos(n × ∏)]!
The notation is not setup correctly and anyone that knows how to do it proper let me know. It is supposed to function like this:
cos(n∏)cos((n-1)∏)cos((n-2)∏)cos((n-3)∏)... until cos((n-n)∏)
I have dug in algebraically but don't think there is a solution, anyone have any thoughts on this?
So far I have come up with (-1)^[2n/3] but I don't like using greatest integer
I also did:
[cos(n × ∏)]!
The notation is not setup correctly and anyone that knows how to do it proper let me know. It is supposed to function like this:
cos(n∏)cos((n-1)∏)cos((n-2)∏)cos((n-3)∏)... until cos((n-n)∏)
I have dug in algebraically but don't think there is a solution, anyone have any thoughts on this?