numtheory[sq2factor] - integer factorization in Z(sqrt(2))
|
Calling Sequence
|
|
sq2factor(z)
|
|
Parameters
|
|
z
|
-
|
integer, list or set of integers in
|
|
|
|
|
Description
|
|
•
|
The sq2factor function returns the integer factorization of z.
|
•
|
All integers of have the form , where a and b are rational integers.
|
•
|
The expand function may be applied to cause the factors to be multiplied together again.
|
•
|
The command with(numtheory,sq2factor) allows the use of the abbreviated form of this command.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
|
|
Download Help Document
Was this information helpful?