  
| 
 | 
  
  | 
  
  | 
  
  | 
 
  
  | 
 
  
  | 
  
  | 
 
 
  
  | 
  
  | 
  
  | 
 
  
  | 
 
  
  | 
  
  | 
 
 
  
  | 
  
  | 
  
  | 
 
  
  | 
 
  
  | 
  
  | 
 
 
  
  | 
  
  | 
  
  | 
 
  
  
 |  
  
  | 
  
  | 
  
  | 
 
  
  | 
 
  | 
  
  | 
 
  
  | 
  
  | 
  
  | 
 
  
  | 
 
  | 
   http://functions.wolfram.com/04.06.03.0010.01
   |   
  | 
  
  | 
 
  
  | 
  
  | 
  
  | 
 
  
  
 |  
 | 
  
  | 
 
  
  
 |  
  
  | 
  
  | 
  
  | 
 
  
  | 
    
  | 
  
  | 
 
  
  | 
  
  | 
  
  | 
 
  
  | 
 
  | 
    Mod[(p - 1)!, p] == p - 1 /; Element[p, Primes] 
   |   
  | 
  
  | 
 
  
  | 
  
  | 
  
  | 
 
  
  
 |  
  
  | 
  
  | 
  
  | 
 
  
  | 
    
  | 
  
  | 
 
  
  | 
  
  | 
  
  | 
 
  
  | 
 
  | 
   Cell[BoxData[RowBox[List[RowBox[List[RowBox[List["Mod", "[", RowBox[List[RowBox[List[RowBox[List["(", RowBox[List["p", "-", "1"]], ")"]], "!"]], ",", "p"]], "]"]], "\[Equal]", RowBox[List["p", "-", "1"]]]], "/;", " ", RowBox[List["p", "\[Element]", "Primes"]]]]]] 
   |   
  | 
  
  | 
 
  
  | 
  
  | 
  
  | 
 
  
  
 |  
  
  | 
  
  | 
  
  | 
 
  
  | 
    
  | 
  
  | 
 
  
  | 
  
  | 
  
  | 
 
  
  | 
 
  
  | 
  
  | 
 
  
  | 
 
  | 
   
   <math xmlns='http://www.w3.org/1998/Math/MathML' mathematica:form='TraditionalForm' xmlns:mathematica='http://www.wolfram.com/XML/'>  <semantics>  <mrow>  <mrow>  <semantics>  <mrow>  <mrow>  <mrow>  <mo> ( </mo>  <mrow>  <mi> p </mi>  <mo> - </mo>  <mn> 1 </mn>  </mrow>  <mo> ) </mo>  </mrow>  <mo> ! </mo>  </mrow>  <mo> ⁢ </mo>  <mi> mod </mi>  <mo> ⁢ </mo>  <mi> p </mi>  </mrow>  <annotation-xml encoding='MathML-Content'>  <apply>  <rem />  <apply>  <factorial />  <apply>  <plus />  <ci> $CellContext`p </ci>  <cn type='integer'> -1 </cn>  </apply>  </apply>  <ci> $CellContext`p </ci>  </apply>  </annotation-xml>  </semantics>  <mo> ⩵ </mo>  <mrow>  <mi> p </mi>  <mo> - </mo>  <mn> 1 </mn>  </mrow>  </mrow>  <mo> /; </mo>  <mrow>  <mi> p </mi>  <mo> ∈ </mo>  <semantics>  <mi> ℙ </mi>  <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalP]", Function[Primes]] </annotation>  </semantics>  </mrow>  </mrow>  <annotation-xml encoding='MathML-Content'>  <apply>  <ci> Condition </ci>  <apply>  <eq />  <apply>  <rem />  <apply>  <factorial />  <apply>  <plus />  <ci> $CellContext`p </ci>  <cn type='integer'> -1 </cn>  </apply>  </apply>  <ci> $CellContext`p </ci>  </apply>  <apply>  <plus />  <ci> p </ci>  <cn type='integer'> -1 </cn>  </apply>  </apply>  <apply>  <in />  <ci> p </ci>  <primes />  </apply>  </apply>  </annotation-xml>  </semantics>  </math> 
   
   |   
  | 
  
  | 
 
  
  | 
  
  | 
  
  | 
 
 
  |   
  |  
  |  
  |   
  |  |  
  |   
  |  
  |  
  |   
  | Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List["Mod", "[", RowBox[List[RowBox[List[RowBox[List["(", RowBox[List["p_", "-", "1"]], ")"]], "!"]], ",", "p_"]], "]"]], "]"]], "\[RuleDelayed]", RowBox[List[RowBox[List["p", "-", "1"]], "/;", RowBox[List["p", "\[Element]", "Primes"]]]]]]]]  |  
  |  
  |   
  |  
  |  
  | 
  
  
 |  
  
  | 
  
  | 
  
  | 
 
  
  | 
 
  | 
   Date Added to functions.wolfram.com (modification date)
   |   
  | 
  
  | 
 
  
  | 
  
  | 
  
  | 
 
  
  | 
 
  
  | 
  
  | 
 
  
  | 
  
  | 
  
  | 
 
 | 
  | 
  
  
  
 |  
 
 |