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


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

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

From James Stein <mathgroup@stein.org>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Integers that are the sum of 2 nonzero squares in
Date 2012-04-03 08:45 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jledbv$gob$1@smc.vnet.net> (permalink)
References <201204020824.EAA04222@smc.vnet.net>

Show all headers | View raw


On Mon, Apr 2, 2012 at 1:24 AM, Dana DeLouis <dana01@me.com> wrote:

> Just to point out... even at small numbers, your code shows 325 as a
> solution.
>
...

> However, 325 has 3 solutions. :>(
>
...

> This is 600 more than James had.
> This is due to his code not considering numbers that were equal.  (ie
> {5,5}).
> I believe you considered this valid, as 50 was a solution.
>

Good catch, Dana!  But perhaps not correct. The OP said he was: "trying to
find energy eigenfunctions, with energy proportional to n^2. An
eigenfunction will be a linear combination of all wave functions with the same
energy."

I'm something of an eigenidiot so I may be very wrong, but I suspect that
the linear combinations must employ DIFFERENT wave functions -- no
duplicates, similar to the Pauli exclusion.  Perhaps the OP will enlighten
us...

(At first my code allowed duplicates; I changed it thinking that was a bug!)

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


Thread

Re: Integers that are the sum of 2 nonzero squares in James Stein <mathgroup@stein.org> - 2012-04-03 08:45 +0000

csiph-web