Some tuple, S, has ℓelements. The ith element is Si.
Find a function f(λ) that equals Sλ when evaluated at some integer between 0≥λ≥ℓ.
The bound, a(ℓ)or simply a, on the number of terms for the P function is given by:
a(ℓ)=⌈log2(log2(ℓ)+1)+1⌉
The P function:
P(a,n)=41q=1∏2a−1cos2(2qnπ)
When the p function is evaluated it produces a single 1 followed by 2^(2^(a - 1) - 1) - 1 zero then the pattern repeats. This will be used to turn on-and-off terms in S because the number of zeros will always be greater than the number of elements in S.
1-D Case
There exist a function f(λ) that equals Sλ when evaluated at some integer between 0≥λ>ℓ.
f(λ)=41i=0∑ℓSiq=1∏2a−1cos2(2q(λ−i)π)
N-Dimensional Generalization
This can be generalized into n-dimensions by summing different variables for each dimension.
The number of dimensions is N. The tuple being represented is labeled Sij..N, where each index corresponds to a different dimension. The tuple γis the representation of a point inside an N-dimensional cube and the value in dimension d is γd.