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


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

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

Started byJames Stein <mathgroup@stein.org>
First post2012-04-03 08:45 +0000
Last post2012-04-03 08:45 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromJames Stein <mathgroup@stein.org>
Date2012-04-03 08:45 +0000
SubjectRe: Integers that are the sum of 2 nonzero squares in
Message-ID<jledbv$gob$1@smc.vnet.net>
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!)

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web