English

Counting invertible sums of squares modulo $n$ and a new generalization of Euler totient function

Number Theory 2014-06-26 v2

Abstract

In this paper we introduce and study a family Φk\Phi_k of arithmetic functions generalizing Euler's totient function. These functions are given by the number of solutions to the equation gcd(x12++xk2,n)=1\gcd(x_1^2+\ldots +x_k^2, n)=1 with x1,,xkZ/nZx_1,\ldots,x_k \in {\mathbb{Z}}/n{\mathbb{Z}} which, for k=2,4k=2,4 and 88 coincide, respectively, with the number of units in the rings of Gaussian integers, quaternions and octonions over Z/nZ{\mathbb{Z}}/n{\mathbb{Z}}. We prove that Φk\Phi_k is multiplicative for every kk, we obtain an explicit formula for Φk(n)\Phi_k(n) in terms of the prime-power decomposition of nn and derive an asymptotic formula for nxΦk(n)\sum_{n\le x} \Phi_k(n). As a tool we investigate the multiplicative arithmetic function that counts the number of solutions to x12++xk2λx_1^2+\ldots +x_k^2\equiv \lambda (mod nn) for λ\lambda coprime to nn, thus extending an old result that dealt only with the prime nn case.

Keywords

Cite

@article{arxiv.1403.7878,
  title  = {Counting invertible sums of squares modulo $n$ and a new generalization of Euler totient function},
  author = {Catalina Calderon and Jose Maria Grau and A. Oller-Marcen and László Tóth},
  journal= {arXiv preprint arXiv:1403.7878},
  year   = {2014}
}