Abstract

In this paper, we investigate the problem of the minimum nonzero difference between two sums of square roots of integers. Let r ( n , k ) be the minimum positive value of | ∑ i = 1 k a i − ∑ i = 1 k b i | where a i and b i are integers not larger than integer n. We prove by an explicit construction that r ( n , k ) = O ( n − 2 k + 3 / 2 ) for fixed k and any n. Our result implies that in order to compare two sums of k square roots of integers with at most d digits per integer, one might need precision of as many as ( 2 k − 3 2 ) d digits. We also prove that this bound is optimal for a wide range of integers, i.e., r ( n , k ) = Θ ( n − 2 k + 3 / 2 ) for fixed k and for those integers in the form of a i = ( 2 k − 1 2 i ) 2 ( n ′ + 2 i ) and b i = ( 2 k − 1 2 i + 1 ) 2 ( n ′ + 2 i + 1 ) , where n ′ is any integer satisfied the form and i is any integer in [ 0 , k − 1 ] . We finally show that for k = 2 and any n, this bound is also optimal, i.e., r ( n , 2 ) = Θ ( n − 7 / 2 ) .

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call