Reading about AKS primality test I've encountered the expression $(x+1)^n \equiv x^n+1 \mod{(n, x^r-1)}$. What does the notation $x\equiv y\mod{(r,s)}$ mean in general? Is it simply $x \equiv y \pmod r\pmod s$?
2026-04-05 21:42:59.1775425379
Notation - meaning of mod(x,y)
166 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
In your example is means modulo the ideal of the polynomial ring $\Bbb Z[x]$ generated by $n$ and $x^r-1$. This ideal can be denoted as $(n,x^r-1)$ which equals $n\Bbb Z[x]+(x^r-1)\Bbb Z[x]$. Your congruence means that $(x+1)^n-(x^n+1)$ is an element of this ideal.