Post Reply 
pa2b2 small oddity
01-31-2014, 11:24 PM (This post was last modified: 01-31-2014 11:30 PM by Mark Hardman.)
Post: #2
RE: pa2b2 small oddity
(01-31-2014 08:58 PM)Helge Gabert Wrote:  ...why the restriction for pa2b2 is only for primes congruent to 1 mod 4, and not also for p=2.

This is a requirement of Fermat's theorem on sums of two squares.

For the Prime Team:

The example in the online help is: pa2b2(209). Which also returns, "Error: Bad Argument Value" because 209 is not prime (11 x 19).

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: 2 Guest(s)