PrimeFactor Type

As a result of a prime factorization, this structure is used to represent a natural number (integers greater than or equal to 1) as product of prime numbers.

Constructors

Constructor Description

PrimeFactor(primeNumber, power)

Full Usage: PrimeFactor(primeNumber, power)

Parameters:
    primeNumber : int
    power : int

primeNumber : int
power : int

Instance members

Instance member Description

this.Power

Full Usage: this.Power

Returns: int

Gets the power of this prime factor in the represented natural number.

Returns: int

this.PrimeNumber

Full Usage: this.PrimeNumber

Returns: int

Gets the prime number this factor represents.

Returns: int