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/