Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #9327

Re: Integers that are the sum of 2 nonzero squares in exactly 2 ways

From danl@wolfram.com
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Integers that are the sum of 2 nonzero squares in exactly 2 ways
Date 2012-03-31 08:44 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jl6g4g$cn5$1@smc.vnet.net> (permalink)
References <jkungd$asj$1@smc.vnet.net>

Show all headers | View raw


On Wednesday, March 28, 2012 5:00:45 AM UTC-5, Cisco Lane wrote:
> I've been looking at integers that are the sum of 2 nonzero squares in exactly 2 ways. The smallest example is 50 = 5^2+5^2=7^2+1^2. The first few terms are 50, 65, 85, 125, 130, 145, ....  This is given in OEIS as https://oeis.org/A025285
> 
> If I plot the pairs {1,50},{2,65},{3,85},... I get a more or less straight line with a slope of about 8.85... In other words, eventually, about one in 8.85 integers qualify.
> 
> I wonder if there is a theoretical value for this approximate number of 8.85...?

I don't know if this answers anything, but the factorization pattern of such numbers appears to be as follows. All primes of the form 4n+3 occur to even powers. There are one, two or three other factors. They can take the form

2^n*p*q where p and q are distinct primes of the form 4n+1, n an arbitrary nonnegative integer

2^(2*n+1)*p^2 with n, p as above

2^(2*n)*p^(2*k) for n as above and k satisfying some relation I cannot quite figure out other than it has to be at least 2. There may also be further restrictions on n that depend on k.

Daniel Lichtblau
Wolfram Research



Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Integers that are the sum of 2 nonzero squares in exactly 2 ways Cisco Lane <travlorf@yahoo.com> - 2012-03-28 10:00 +0000
  Re: Integers that are the sum of 2 nonzero squares in exactly 2 ways danl@wolfram.com - 2012-03-31 08:44 +0000

csiph-web