Skip to content
m·amathatlas
ExploreAboutOpen problemsCited authorsMy libraryFeedback
Sign in
FRENES
Loading views…Recent views only, across all languages. Vercel history is unavailable for this page. Repeat visits in the same tab are grouped for 30 minutes.
ShareLinkedInXFacebookWhatsApp
← All open problems
Unanswered question

Number of solutions to x1x2=x3x4 mod nx_1x_2=x_3x_4\bmod nx1​x2​=x3​x4​modn

Number theory

Imported on November 28, 2026

The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.

Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.

Problem statement

In https://www.math.ksu.edu/~cochrane/research/xyuvmodp.pdf it is shown x1x2=x3x4 mod px_1x_2=x_3x_4\bmod px1​x2​=x3​x4​modp where ppp is a prime has ∣B∣p+O(∣B∣log⁡2p)\frac{|\mathcal B|}p+O(\sqrt{|\mathcal B|}\log^2p)p∣B∣​+O(∣B∣​log2p) solutions (x1,x2,x3,x4)∈B(x_1,x_2,x_3,x_4)\in\mathcal B(x1​,x2​,x3​,x4​)∈B where B=I1×I2×I3×I4\mathcal B=\mathcal I_1\times \mathcal I_2\times \mathcal I_3\times \mathcal I_4B=I1​×I2​×I3​×I4​ with Ii=[ai,bi]∩N\mathcal I_i=[a_i,b_i]\cap\Bbb NIi​=[ai​,bi​]∩N for some ai<bia_i<b_iai​<bi​?

Is it possible to replace prime ppp with composite nnn in here?

I also want gcd(x1,x3)=gcd(x2,x4)=1gcd(x_1,x_3)=gcd(x_2,x_4)=1gcd(x1​,x3​)=gcd(x2​,x4​)=1.

Actually I am also curious why this naive argument below will not work?

I show this for case when I1=I3=U\mathcal I_1=\mathcal I_3=\mathcal UI1​=I3​=U and I2=I4=V\mathcal I_2=\mathcal I_4=\mathcal VI2​=I4​=V for any composite nnn. It should work for any intervals since I use only size of intervals for estimation.

I want to show x1x2=x3x4 mod nx_1x_2=x_3x_4 \bmod nx1​x2​=x3​x4​modn has a solution with x1,x3≈nrx_1,x_3\approx n^rx1​,x3​≈nr and x2,x4≈n1−r+ϵx_2,x_4\approx n^{1-r+\epsilon}x2​,x4​≈n1−r+ϵ where r∈(0,1)r\in(0,1)r∈(0,1) is fixed and ϵ>0\epsilon>0ϵ>0 is small and fixed and for every n∈Nn\in\Bbb Nn∈N large enough.

Fix a∈Zn×a\in\Bbb Z_n^\timesa∈Zn×​ and r∈(0,1)r\in(0,1)r∈(0,1) and consider uv=a mod nuv=a\bmod nuv=amodn where nnn is composite. Vary u∈Uu\in\mathcal Uu∈U and v∈Vv\in\mathcal Vv∈V where U=[nr,2nr]\mathcal U=[n^r,2n^r]U=[nr,2nr] and V=[n1−rlog⁡n,2n1−rlog⁡n]\mathcal V=[n^{1-r}\log n,2n^{1-r}\log n]V=[n1−rlogn,2n1−rlogn] such that gcd(u,n)=gcd(v,n)=1gcd(u,n)=gcd(v,n)=1gcd(u,n)=gcd(v,n)=1. Since ∣U×V∣=∣U∣×∣V∣=nlog⁡n|\mathcal U\times \mathcal V|=|\mathcal U|\times|\mathcal V|=n\log n∣U×V∣=∣U∣×∣V∣=nlogn is approximately the same count as number of integers which are coprime to nnn in U×V\mathcal U\times \mathcal VU×V and number of residue classes are only at most (n−1)(n-1)(n−1) there is a residue class a∈Zna\in\Bbb Z_na∈Zn​ and a two pairs (u1,v1),(u2,v2)∈X×Y(u_1,v_1),(u_2,v_2)\in\mathcal X\times\mathcal Y(u1​,v1​),(u2​,v2​)∈X×Y such that u1v1=u2v2 mod nu_1v_1=u_2v_2\bmod nu1​v1​=u2​v2​modn holds and there should at least be log⁡n\log nlogn such solutions for x1x2=x3x4=a mod nx_1x_2=x_3x_4=a\bmod nx1​x2​=x3​x4​=amodn where aaa is varied over all residue classes in Zn×\Bbb Z_n^\timesZn×​.

I think can also take gcd(x1,x3)=gcd(x2,x4)=gcd(x1x2x3x4,n)=1gcd(x_1,x_3)=gcd(x_2,x_4)=gcd(x_1x_2x_3x_4,n)=1gcd(x1​,x3​)=gcd(x2​,x4​)=gcd(x1​x2​x3​x4​,n)=1 with this argument.

I think I can use the PNT to look for only primes in U\mathcal UU and V\mathcal VV and still make the argument work if V=[n1−rlog⁡n,2n1−rlog⁡n]\mathcal V=[n^{1-r}\log n,2n^{1-r}\log n]V=[n1−rlogn,2n1−rlogn] is replaced by V=[n1−rlog⁡3n,2n1−rlog⁡3n]\mathcal V=[n^{1-r}\log^3 n,2n^{1-r}\log^3 n]V=[n1−rlog3n,2n1−rlog3n] and get condition gcd(x1,x3)=gcd(x2,x4)=1gcd(x_1,x_3)=gcd(x_2,x_4)=1gcd(x1​,x3​)=gcd(x2​,x4​)=1. By avoiding the at most log⁡n\log nlogn primes that divide nnn I can also get gcd(x1x2x3x4,n)=1gcd(x_1x_2x_3x_4,n)=1gcd(x1​x2​x3​x4​,n)=1.

From Prime Number Theorem the number of primes in U=[nr,2nr]\mathcal U=[n^r,2n^r]U=[nr,2nr] is (1−ϵ)nrrlog⁡n\frac{(1-\epsilon)n^r}{r\log n}rlogn(1−ϵ)nr​ and number of primes in V=[n1−r(log⁡n)3,2n1−r(log⁡n)3]\mathcal V=[n^{1-r}(\log n)^3,2n^{1-r}(\log n)^3]V=[n1−r(logn)3,2n1−r(logn)3] is (1−ϵ)n1−r(log⁡n)2r3\frac{(1-\epsilon)n^{1-r}(\log n)^2}{r^3}r3(1−ϵ)n1−r(logn)2​ and so total prime tuples in U×U×V×V\mathcal U\times \mathcal U\times \mathcal V\times \mathcal VU×U×V×V is (1−ϵ)4n2(log⁡n)2r8\frac{(1-\epsilon)^4n^2(\log n)^2}{r^8}r8(1−ϵ)4n2(logn)2​ which if (1−ϵ)4n(log⁡n)2r8>1\frac{(1-\epsilon)^4n(\log n)^2}{r^8}>1r8(1−ϵ)4n(logn)2​>1 provides more tuples than number of residues (using half of the primes in U\mathcal UU for x1x_1x1​ and half for x3x_3x3​ and likewise using half of the primes in V\mathcal VV for x2x_2x2​ and half for x4x_4x4​ will guarantee coprimeness among prime solutions and to encode for a loss in fraction of about 116\frac1{16}161​ we can use (1−ϵ)4n(log⁡n)216r8>1\frac{(1-\epsilon)^4n(\log n)^2}{16r^8}>116r8(1−ϵ)4n(logn)2​>1 as criteria).

Statement and context adapted from MathOverflow · Turbo

CC BY-SA 3.0 · Formatting adapted; mathematical formulas preserved · Source history

A few useful definitions

Prime number
An integer greater than 1 whose only positive divisors are 1 and itself. Examples include 2, 3, 5 and 7.

Topics : nt.number-theory · analytic-number-theory · exponential-sums

Authors listed by the source : Turbo

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : May 23, 2016

Coverage, sources and method

This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.

This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.

Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.

Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.

Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.

OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.

Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.

Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.

  • Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
  • Erdős Problems (teorth) · 622 · Apache-2.0
  • Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
  • OEIS · 18,857 · CC BY-SA 4.0
  • MathOverflow · 19,035 · CC BY-SA (version on each entry)
  • Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)
Report a development or correction
mathatlas

An independent atlas to understand, read, and question research.

The papers present claimed results at different stages of verification.
NewsletterShare feedbackAbout Data and privacy
Created by Sonny Mupfuni