Post Reply 
pa2b2 small oddity
02-01-2014, 03:38 AM
Post: #4
RE: pa2b2 small oddity
(02-01-2014 12:23 AM)Helge Gabert Wrote:  but why not include p=2 for the pa2b2 command? That is all I am asking.

I can see your point that, based on the help text, p=2 could be allowed.

Considering that the function explicitly states that the prime must meet the condition: \(p\equiv 1 \left ( mod\; 4 \right )\).

I am left to believe that it is a function for determining the two integers that solve Fermat's theorem on sums of two squares:

\(p=a^{2}+b^{2}\)

In addition to the requirement that \(p\equiv 1 \left ( mod\; 4 \right )\), the theorem also stipulates that p must be an odd prime number.

Mark Hardman

Ceci n'est pas une signature.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
pa2b2 small oddity - Helge Gabert - 01-31-2014, 08:58 PM
RE: pa2b2 small oddity - Mark Hardman - 01-31-2014, 11:24 PM
RE: pa2b2 small oddity - Helge Gabert - 02-01-2014, 12:23 AM
RE: pa2b2 small oddity - Mark Hardman - 02-01-2014 03:38 AM
RE: pa2b2 small oddity - Helge Gabert - 02-01-2014, 04:19 AM
RE: pa2b2 small oddity - Mark Hardman - 02-01-2014, 07:35 AM
RE: pa2b2 small oddity - parisse - 02-02-2014, 07:33 AM
RE: pa2b2 small oddity - Helge Gabert - 02-02-2014, 07:25 PM
RE: pa2b2 small oddity - parisse - 02-03-2014, 08:22 AM
RE: pa2b2 small oddity - Helge Gabert - 02-03-2014, 04:57 PM



User(s) browsing this thread: 1 Guest(s)