Skip to main content
Log in

The tangent function and power residues modulo primes

  • Published:
Czechoslovak Mathematical Journal Aims and scope Submit manuscript

Abstract

Let p be an odd prime, and let a be an integer not divisible by p. When m is a positive integer with p ≡ 1 (mod 2m) and 2 is an mth power residue modulo p, we determine the value of the product \(\prod\limits_{k \in {R_m}(p)} {(1 + \tan (\pi ak/p))} \), where

$${R_m}(p) = \{0 < k < p:k \in \mathbb{Z}\,\,{\rm{is}}\,\,{\rm{an}}\,\,m{\rm{th}}\,\,{\rm{power}}\,\,{\rm{residue}}\,\,{\rm{modulo}}\,p\} .$$

In particular, if p = x2 + 64y2 with x, y\(\mathbb{Z}\), then

$$\prod\limits_{k \in {R_4}(p)} {\left({1 + \tan \,\pi {{ak} \over p}} \right) = {{(- 1)}^y}{{(- 2)}^{(p - 1)/8}}.}$$

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

References

  1. B. C. Berndt, R. J. Evans, K. S. Williams: Gauss and Jacobi Sums. Canadian Mathematical Society Series of Monographs and Advanced Texts. John Wiley & Sons, New York, 1998.

    MATH  Google Scholar 

  2. D. A. Cox: Primes of the Form x2 + ny2: Fermat, Class Field Theory, and Complex Multiplication. Pure and Applied Mathematics. A Wiley-Interscience Series of Texts, Monographs and Tracts. John Wiley & Sons, New York, 1989.

    MATH  Google Scholar 

  3. K. Ireland, M. Rosen: A Classical Introduction to Modern Number Theory. Graduate Texts in Mathematics 84. Springer, New York, 1990.

    MATH  Google Scholar 

  4. Z.-W. Sun: Trigonometric identities and quadratic residues. Publ. Math. Debr. 102 (2023), 111–138.

    Article  MathSciNet  MATH  Google Scholar 

Download references

Acknowledgment

The author would like to thank the referee for helpful comments.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Zhi-Wei Sun.

Additional information

The research has been supported by the National Natural Science Foundation of China (grant 11971222).

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Sun, ZW. The tangent function and power residues modulo primes. Czech Math J 73, 971–978 (2023). https://doi.org/10.21136/CMJ.2023.0395-22

Download citation

  • Received:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.21136/CMJ.2023.0395-22

Keywords

MSC 2020

Navigation