[GAP Forum] A question on factorization of an integer
Vinay Wagh
waghoba at gmail.com
Wed Feb 10 06:28:49 GMT 2016
Here is what you need...
gap> PrintFactorsInt( 3628800);
VInay
On 10 February 2016 at 10:04, Rahul Kitture <rahul.kitture at gmail.com> wrote:
> 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
> _______________________________________________
> Forum mailing list
> Forum at mail.gap-system.org
> http://mail.gap-system.org/mailman/listinfo/forum
More information about the Forum
mailing list