<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
<!-- %% -->
<!-- %A  numtheor.xml                GAP documentation            Martin Schönert -->
<!-- %A                                                           Alexander Hulpke -->
<!-- %% -->
<!-- %% -->
<!-- %Y  (C) 1998 School Math and Comp. Sci., University of St Andrews, Scotland -->
<!-- %Y  Copyright (C) 2002 The GAP Group -->
<!-- %% -->
<Chapter Label="Number Theory">
<Heading>Number Theory</Heading>

<Index>prime residue group</Index>
<#Include Label="[1]{numtheor}">


<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
<Section Label="sect:InfoNumtheor">
<Heading>InfoNumtheor (Info Class)</Heading>

<#Include Label="InfoNumtheor">

</Section>


<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
<Section Label="Prime Residues">
<Heading>Prime Residues</Heading>

<Index>prime residue group</Index>
<#Include Label="PrimeResidues">
<#Include Label="Phi">
<#Include Label="Lambda">
<#Include Label="GeneratorsPrimeResidues">

</Section>


<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
<Section Label="Primitive Roots and Discrete Logarithms">
<Heading>Primitive Roots and Discrete Logarithms</Heading>

<#Include Label="OrderMod">
<#Include Label="LogMod">
<#Include Label="DLog">
<#Include Label="PrimitiveRootMod">
<#Include Label="IsPrimitiveRootMod">

</Section>


<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
<Section Label="Roots Modulo Integers">
<Heading>Roots Modulo Integers</Heading>

<#Include Label="Jacobi">
<#Include Label="Legendre">
<#Include Label="RootMod">
<#Include Label="RootsMod">
<#Include Label="RootsUnityMod">

</Section>


<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
<Section Label="Multiplicative Arithmetic Functions">
<Heading>Multiplicative Arithmetic Functions</Heading>

<#Include Label="Sigma">
<#Include Label="Tau">
<#Include Label="MoebiusMu">

</Section>


<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
<Section Label="Continued Fractions">
<Heading>Continued Fractions</Heading>

<#Include Label="ContinuedFractionExpansionOfRoot">
<#Include Label="ContinuedFractionApproximationOfRoot">

</Section>


<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
<Section Label="Miscellaneous">
<Heading>Miscellaneous</Heading>

<#Include Label="PValuation">
<#Include Label="TwoSquares">

</Section>
</Chapter>


<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
<!-- %% -->
<!-- %E -->
