Zulip Chat Archive
Stream: Is there code for X?
Topic: gcd (a ^ m - 1) (a ^ n - 1) = a ^ gcd m n - 1
Jiatong Yang (Mar 12 2025 at 15:47):
Is there code for:
gcd (a ^ m - 1) (a ^ n - 1) = a ^ gcd m n - 1
Aaron Liu (Mar 12 2025 at 15:55):
Closest thing I could find is docs#nat_pow_one_sub_dvd_pow_mul_sub_one
Thomas Browning (Mar 12 2025 at 21:52):
Here's a PR: #22889
Antoine Chambert-Loir (Mar 15 2025 at 21:20):
It's worth being generalized: the method proves that in any (commutative) ring, the ideal generated by and is generated by , for .
Last updated: May 02 2025 at 03:31 UTC