I know the function $1+(-1)^n\over2$ generates the binary sequence, so I was curious about what would generate the "ternary sequence."
2026-05-06 06:14:36.1778048076
Function for the sequence $0,0,1,0,0,1,...$
167 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
$$ f(n)=\frac{1+2\cos(\frac{2n\pi}{3})}{3} $$