Does anyone know an equation that can produce the following patterns (starting at nth index 0):
1) -0.5, 0, 0.5, 0, -0.5, 0, 0.5...
2) 0, 1, 2, 3, 1, 2, 3, 4, 2, 3, 4, 5, 3, 4, 5, 6...
The following patterns require the use of modulus. Any help would be greatly appreciated!
1) -0.5, 0, 0.5, 0, -0.5, 0, 0.5...
2) 0, 1, 2, 3, 1, 2, 3, 4, 2, 3, 4, 5, 3, 4, 5, 6...
The following patterns require the use of modulus. Any help would be greatly appreciated!
Last edited: