Skip to content

Conversation

@jacksonwalters
Copy link
Member

the most general modulus possible such that the multiplicative group is cyclic is p^k or 2*p^k. in this case, we can now compute the NTT. this provides a unit test for this behavior.

note that n, the polynomial size, must be a power of 2. since \phi(p^k) = p^k(p-1), this means we need p-1 to contain sufficiently many powers of 2.

the most general modulus possible such that the multiplicative group is cyclic is p^k or 2*p^k. in this case, we can now compute the NTT. this provides a unit test for this behavior. note that n, the polynomial size, must be a power of 2. since \phi(p^k) = p^k(p-1), this means we need p-1 to contain sufficiently many powers of 2.
@jacksonwalters jacksonwalters merged commit 598798d into main Feb 11, 2025
1 check passed
@jacksonwalters jacksonwalters deleted the use_euler_totient_function branch February 11, 2025 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants