Source author record

Jose Maria Grau

Explore this author’s publications, collaborators and research topics. This catalog record has not been claimed by its author.

ResearcherUnclaimed source record

Catalog footprint

Research overview

12works
3topics
4close collaborators

Published work

12 publications

preprint2018arXiv

Computing solutions to the congruence 1n+2n+⋯+nn≡p(modn){1^n + 2^n + \dotsb + n^n\equiv p \pmod{n}}

It is well-known that the congruence ∑i=1nin≡1(modn)\sum_{i=1}^{ n} i^{ n} \equiv 1 \pmod{n} has exactly five solutions: {1,2,6,42,1806}\{1,2,6,42,1806\}. In this work, we characterize the solutions to the congruence 1n+2n+⋯+nn≡p(modn)1^n + 2^n + \dotsb + n^n\equiv p \pmod{n} for every prime pp. This characterization leads to an algorithm for computing all such solutions, when there is a finite number of them. More generally, our algorithm enables computing all the solutions below a much higher bound as compared to what can be achieved by a naive exhaustive search.

preprint2016arXiv

Fast computation of the number of solutions to x12+⋯+xk2≡λ(modn)x_1^2+\cdots+x_k^2 \equiv λ\pmod{n}

In this paper we study the multiplicative function ρk,λ(n)ρ_{k,λ}(n) that counts the number of incongruent solutions of the equation x12+⋯+xk2≡λ(modn)x_1^2+\cdots+x_k^2 \equiv λ\pmod{n}. In particular we give closed explicit formulas for ρk,λ(ps)ρ_{k,λ}(p^s) with a arithmetic complexity of constant order.

preprint2014arXiv

A von Staudt-type formula for ∑z∈Zn[i]zk\displaystyle{\sum_{z\in\mathbb{Z}_n[i]} z^k }

In this paper we study the sum of powers in the Gaussian integers Gk(n):=∑a,b∈[1,n](a+bi)k\mathbf{G}_k(n):=\sum_{a,b \in [1,n]} (a+b i)^k. We give an explicit formula for Gk(n)(modn)\mathbf{G}_k(n) \pmod n in terms of the prime numbers p≡3(mod4)p \equiv 3 \pmod 4 with p∣∣np \mid \mid n and p−1∣kp-1 \mid k, similar to the well known one due to von Staudt for ∑i=1nik(modn)\sum_{i=1}^n i^k \pmod n. We apply this formula to study the set of integers nn which divide Gn(n)\mathbf{G}_n(n) and compute its asymptotic density with six exact digits: 0.971000…0.971000\ldots.

preprint2014arXiv

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

In this paper we introduce and study a family ΦkΦ_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,…,xk∈Z/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Φ_k is multiplicative for every kk, we obtain an explicit formula for Φk(n)Φ_k(n) in terms of the prime-power decomposition of nn and derive an asymptotic formula for ∑n≤xΦk(n)\sum_{n\le x} Φ_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 λ (mod nn) for λλ coprime to nn, thus extending an old result that dealt only with the prime nn case.

preprint2014arXiv

On the structure of quaternion rings over Z/nZ\mathbb{Z}/n \mathbb{Z}

In this paper we investigate the structure of (a,bZn)\left(\frac{a,b}{\Z{n}}\right), the quaternion rings over Zn\Z{n}. It is proved that these rings are isomorphic to (−1,−1Zn)\left(\frac{-1,-1}{\Z{n}}\right) if a≡b≡−1(mod4) a \equiv b\equiv -1 \pmod{4} or to (1,1Zn)\left(\frac{1,1}{\Z{n}}\right) otherwise. We also prove that the ring (a,bZn)\left(\frac{a,b}{\Z{n}}\right) is isomorphic to M2(Zn)\mathbb{M}_2(\Z{n}) if and only if nn is odd and that all quaternion algebras defined over Zn\Z{n} are isomorphic if and only if n≢0(mod4)n \not \equiv 0 \pmod{4}.

preprint2010arXiv

An O~(log⁡2(N))\tilde{O}(\log^2(N)) time primality test for Generalized Cullen Numbers

Generalized Cullen Numbers are positive integers of the form Cb(n):=nbn+1C_b(n):=nb^n+1. In this work we generalize some known divisibility properties of Cullen Numbers and present two primality tests for this family of integers. The first test is based in the following property of primes from this family: nbn≡(−1)bn^{b^{n}}\equiv (-1)^{b} (mod nbn+1nb^n+1). It is stronger and has less computational cost than Fermat's test (for bases bb and nn) and than Miller-Rabin's test (for base nn). Pseudoprimes for this new test seem to be very scarce, only 4 pseudoprimes have been found among the many millions of Generalized Cullen Numbers tested. We also present a second, more demanding, test for wich no pseudoprimes have been found. This test leads to a "quasi-deterministic" test, running in O~(log⁡2(N))\tilde{O}(\log^2(N)) time, which might be very useful in the search of Generalized Cullen Primes.

preprint2010arXiv

On the base bb expansion of the number of trailing zeroes of bk!b^k!

Let us denote by Zb(n)Z_{b}(n) the number of trailing zeroes in the base b expansion of n!n!. In this paper we study the connection between the expression of ϑ(b):=lim⁡n→∞Zb(n)/n\vartheta(b):=\lim_{n\to \infty}Z_{b}(n)/n in base bb, and that of Zb(bk)Z_{b}(b^{k}). In particular, if bb is a prime power, we will show the equality between the kk digits of Zb(bk)Z_{b}(b^{k}) and the first kk digits in the fractional part of ϑ(b)\vartheta (b). In the general case we will see that this equality still holds except for, at most, the last ⌊log⁡b(k)+3⌋\lfloor \log_{b}(k) +3\rfloor digits. We finally show that this bound can be improved if bb is square-free and present some conjectures about this bound.

Research graph

See the researcher in context

Open full explorer

Inspect adjacent papers, topics, institutions and collaborators without losing the researcher page.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.