Bill Allombert on Thu, 06 Aug 2015 15:14:26 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: function for prime factors of an integer


On Thu, Aug 06, 2015 at 12:57:31PM +0100, John Cremona wrote:
> I know various ways of getting a list of the prime factors of an integr N
> in two steps, such as
> 
> factor(N)[,1]~
> 
> whose syntax is a little obscure, but is there a cse for having a built-in
> gp function for this?  If there is one I cannot find it...

I do not think there is one, either.
Most of the case, you do not need to do the transpose.

Cheers,
Bill.