Factor Norm Euclidean - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Number Theory : Factor Norm Euclidean

NumberTheory

  

FactorNormEuclidean

  

factorization of integers in quadratic norm-Euclidean fields

 

Calling Sequence

Parameters

Returns

Description

Examples

Compatibility

Calling Sequence

FactorNormEuclidean(z, d, output_opt)

Parameters

z

-

integral element of Q⁡d

d

-

rational integer such that Q⁡d is a norm-Euclidean field

output_opt

-

(optional) equation of the form output = product or output = list; the default is output = product

Returns

• 

If output_opt is set to output = product, then the return value is of the form ±ua⁢p1b1⋯pnbn where the pi are distinct prime factors and the bi are positive integers.

– 

If d>0, then u is either w or w&conjugate0; where w is the fundamental unit in Z⁡d and a is a non-negative integer.

– 

If d<0, then u is a unit in Z⁡d and a=1.

• 

If output_opt is set to output = list, then the return value is of the form s&comma;x&comma;y&comma;a&comma;f1&comma;…&comma;fn where s&equals;±1 and each fi is a three element list of the form p&comma;q&comma;k. Each p&plus;q⁢d is a distinct prime and k is a positive integer.

– 

If d&gt;0, then u&equals;x&plus;y⁢d where u is as previously described and a is a non-negative integer.

– 

If d<0, then x&plus;y⁢d is a unit in Z⁡d. Let t&equals;x&plus;y⁢d. If t&equals;±1 then t&equals;s and x&comma;y&comma;a&equals;1&comma;0&comma;0. Otherwise, s&comma;a&equals;1&comma;1.

Description

• 

The FactorNormEuclidean function computes the integer factorization of z in the ring of integers Z⁡d of the quadratic field Q⁡d.

• 

Consider the absolute value of the field norm of Q⁡d as a field extension of Q, denoted by N. If d is one of −11&comma;−7&comma;−3&comma;−2&comma;−1&comma;2&comma;3&comma;5&comma;6&comma;7&comma;11&comma;13&comma;17&comma;19&comma;21&comma;29&comma;33&comma;37&comma;41&comma;57&comma;73, then N satisfies the following property. If a and b are in Q⁡d and b≠0, then there exists q and r in Q⁡d such that a&equals;b⁢q&plus;r and N⁡r<N⁡b. In this case, N is said to be a Euclidean function on Q⁡d and Q⁡d is said to be a norm-Euclidean field.

• 

When d=2,3mod4, integers in Z⁡d have the form a&plus;b⁢d and when d=1mod4 they have the form a&plus;b⁢12&plus;12⁢d, where a and b are rational integers. Alternatively for when d=1mod4, integers have the form a2&plus;b2⁢d where a and b are rational integers of the same parity.

Examples

> 

with⁡NumberTheory&colon;

> 

FactorNormEuclidean⁡38477343&comma;11

3⁢85−16⁢11⁢85+16⁢11⁢125−34⁢11⁢125+34⁢11

(1)

expand may be used to multiply together the terms.

> 

expand⁡

38477343

(2)

If output_opt option is explicitly set to output = product, the return value will be in product form.

> 

FactorNormEuclidean⁡38434⁢sqrt⁡33&comma;33&comma;output=product

−23−4⁢33⁢33⁢11+2⁢332⁢58−7⁢33⁢58+7⁢33⁢52−332⁢52+332

(3)
> 

expand⁡

38434⁢33

(4)

If the output_opt is set to output = list, the return value will be in list form.

> 

FactorNormEuclidean⁡408294234124−4242⁢sqrt⁡29&comma;29&comma;output=list

−1&comma;52&comma;−12&comma;4&comma;2&comma;0&comma;1&comma;4&comma;−1&comma;0&comma;4&comma;1&comma;1&comma;11&comma;−2&comma;0&comma;11&comma;2&comma;1&comma;38&comma;−7&comma;0&comma;38&comma;7&comma;1&comma;12&comma;−12&comma;1&comma;12&comma;12&comma;1&comma;9558726892&comma;−3316293252&comma;0&comma;9558726892&comma;3316293252&comma;1

(5)

FactorNormEuclidean(z, d) displays an error message if z is not an integer in Q⁡d.

> 

FactorNormEuclidean⁡32&comma;2

Error, (in NumberTheory:-FactorNormEuclidean) 3/2 is not an integer in Q(sqrt(2))

Compatibility

• 

The NumberTheory[FactorNormEuclidean] command was introduced in Maple 2016.

• 

For more information on Maple 2016 changes, see Updates in Maple 2016.

See Also

expand

NumberTheory