One kind of figurate numbers are, starting with $\color{blue}{n=1}$, $$P_1(n) = n = 1, 2, 3, 4, 5,\dots$$ $$P_2(n) = \tfrac{n(n+1)}{2!} = 1, 3, 6, 10, 15,\dots$$ $$P_3(n) = \tfrac{n(n+1)(n+2)}{3!} = 1, 4, 10, 20, 35,\dots$$ $$P_4(n) = \tfrac{n(n+1)(n+2)(n+3)}{4!} =1, 5, 15, 35, 70,\dots$$ namely the linear, triangular, tetrahedral, pentatope, etc.
Using $(-1)^n$ to generate an alternating series is well-known. But what if we replace the exponent of $(-1)^n$ with higher figurate numbers $P_k(n) $?
Thus we get the sequences, $$\begin{aligned} S_1(n) &=-(-1)^{P_1(n)} = \color{blue}{1,-1},1,-1,\dots\\ S_2(n) &= -(-1)^{P_2(n)}= \color{blue}{1, 1, -1, -1}, 1, 1, -1, -1,\dots\\ S_3(n) &= -(-1)^{P_3(n)}= \color{blue}{1, -1, -1, -1}, 1, -1, -1, -1,\dots\\ S_4(n) &= -(-1)^{P_4(n)}= \color{blue}{1, 1, 1, 1, -1, -1, -1, -1},\dots \end{aligned}$$
and so on. The periods $\omega_k$ for $k=1,2,3,\dots8$ are $\omega_k = 2, 4, 4, 8, 8, 8, 8, 16.$
Q: How can we express the period $\omega_k$ as a function of $k$?
P.S. This was inspired by this post.