This site is supported by donations to The OEIS Foundation.
Template:Pmod
From OeisWiki
The {{pmod}} mathematical formatting template typesets the parenthesized modulo notation in either HTML+CSS or LaTeX.
Examples:
The code {{math|''b''{{^|{{sp|1}}''p''{{sp|2}}{{op|-}}{{sp|1}}1}} {{rel|equiv}} 1 {{pmod|''p''}}|&}}
yields the text style HTML+CSS
-
b p − 1 ≡ 1 (mod p)
The code {{math|''b''{{^|''p''{{op|-}}1|tex}} \, {{rel|equiv|tex}} \, 1 {{pmod|''p''|tex}}|$}}
yields the text style LaTeX