Skip to content

A problem on the largest divisor dd of NN with d≤Nd\leq \sqrt{N}

Srikanth Cherukupally

math.NT

Abstract

For a given number NN, we consider the problem of computing two integers 1≤r,f<N1\leq r,f < N such that the set X(N,r,f)={(a+b)−(f+Nr+1f):ab=Nr}\mathcal{X}(N,r,f) = \{(a+b)-(f+\frac{Nr+1}{f}): ab=Nr\} consists only of positive integers. Computing a solution to the problem is equivalent to finding a pair (r,f)(r,f) satisfying l(Nr)<f≤l(Nr+1)l(Nr) < f \leq l(Nr+1), where l(x)l(x) is the largest divisor of xx bounded by x\sqrt{x}. This requires factoring both NrNr and Nr+1Nr+1. We present a simple randomized algorithm that - avoiding factoring - computes pairs (r,f)(r,f). We give an exact formula for the total number of possible pairs (r,f)(r,f), and with the aid of empirical data we estimate that the ratio ϕ(N)−2∣F(N)∣\frac{ϕ(N)-2}{|\mathfrak{F}(N)|} is approximately about c∗log⁡log⁡Nc*\log \log N. Here, F(N)\mathfrak{F}(N) is the set of unique rr appearing among all possible pairs (r,f)(r,f), ϕ(.)ϕ(.) is the Euler&#39;s Totient function, and cc is a constant equal to 2 for prime NN and oscillates much for composite NN. As a separate and independent case, we study the same problem of computing (r,f)(r,f) with r>Nr>N. We present a procedure to find such an rr, which requires finding the least prime in an arithmetic progression.

Create a lesson