Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Ifactors Calculator

Ifactors

Function: ifactors (<n>) For a positive integer <n> returns the factorization of <n>. If n=p1^e1..pk^nk is the decomposition of <n> into prime factors, ifactors returns [[p1, e1], ... , [pk, ek]].

(length(ifactors(360)));

Factorization methods used are trial divisions by primes up to 9973, Pollards rho method and elliptic curve method.

          (%i1) ifactors(51575319651600);
          (%o1)     [[2, 4], [3, 2], [5, 2], [1583, 1], [9050207, 1]]
          (%i2) apply("*", map(lambda([u], u[1]^u[2]), %));
          (%o2)                        51575319651600

(%o1)                                true
(%i2) 

Ifactors Example

Related Examples

ifactors-primep

primep(2622);

p:131;

ifactors(p);

Calculate

ifactors-sqrt

ifactors(9999999999971);

sqrt(9999999999971);

Calculate

ifactors

ifactors(356898);

Calculate

ifactors

ifactors(1147);

Calculate

ifactors-mod-primep-totient

next_primep(45641);

p:45641;

ifactors(p-1);

Calculate

ifactors-jacobi-mod

ifactors(23);

ifactors(883);

jacobi(4,3);

Calculate

ifactors

ifactors(123456789012...

Calculate

ifactors-jacobi-mod

ifactors(138);

ifactors(883);

jacobi(97,3);

Calculate

ifactors-primep

primep(987);

p:131;

ifactors(p);

Calculate

ifactors-jacobi-mod

ifactors(235);

ifactors(643);

jacobi(97,3);

Calculate