Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: the factors of the product of prime numbers


From   keith Farnsworth <[email protected]>
To   [email protected]
Subject   Re: st: the factors of the product of prime numbers
Date   Tue, 24 May 2005 13:19:35 +0100

I would recommend using mathematical software like Mathematica for that one.
In Mathematica you can use the function FactorInteger[your number] to get a list of the integer factors of your number.
I have no idea how or even if Stata could do such a thing.

Keith.


On Tuesday, May 24, 2005, at 11:35 Europe/Dublin, [email protected] wrote:


Hi, I have a variable which is always the product of two or more prime numbers. Is there a relatively easy way to find its constituent prime factors?

Thanks.

Steve
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/


Dr Keith Farnsworth
Lecturer in Mathematical and Behavioural Ecology
Queens University Belfast

Medical Biology Centre
97 Lisburn Road
Belfast BT9 7BL
Northern Ireland
phone +44 (0)2890 272352
fax       +44 (0)2890 236505

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index