Re: FactorInteger
- To: mathgroup at smc.vnet.net
- Subject: [mg14460] Re: [mg14412] FactorInteger
- From: Enrique Zeleny Vazquez <ezelenyv at sirio.ifuap.buap.mx>
- Date: Wed, 21 Oct 1998 03:32:57 -0400
- Sender: owner-wri-mathgroup at wolfram.com
Dear Alan:
In[1]:= 2^4*3^3*4^2
Out[1]= 6912
In[2]:= Times@@( FactorInteger[%] /. {m_Integer,n_Integer}->
HoldForm[m^n])
8 3
Out[2]= 2 3
In[3]:= ReleaseHold[%]
Out[3]= 6912
Regards
Enrique Zeleny
Instituto de Fisica
Universidad Autonoma de Puebla
On Sun, 18 Oct 1998 awhopper at hermes.net.au wrote:
> Dear Math Group,
>
> Concerning the Prime Factors of composite integers ;
>
> e.g;
>
> In[1] := 2^4 3^3 4^2
>
> Out[2] = 6912
>
> In[3] := FactorInteger[%]
>
> Out[4] = {{2,4},{3,3},{4,2}}
>
> In Mathematica 3.0 is there anyway the output of FactorInteger can be
> modified to produce the unevaluated prime factors in the usual
> exponential form ?
>
> regards,
>
> Alan Hopper
> Katoomba, Australia
> awhopper at hermes.net.au
>
>