[GAP Forum] A question on factorization of an integer

Rahul Kitture rahul.kitture at gmail.com
Wed Feb 10 04:34:44 GMT 2016


Dear Sir,
In some computations of orders of groups, which turn out to be large, I
wanted to see the prime factorization of the order. For example, I use
following kind of commands:

gap> g:=SymmetricGroup(10);; Size(g);
3628800
gap> Factors(3628800);
[ 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 5, 5, 7 ]

My question is, is there some command in GAP to get this factorization into
form

2^8 * 3^4 * 5^2 * 7?





Thank you.

- Rahul Kitture
HRI, Allahabad


More information about the Forum mailing list