home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: sci.math
- Path: sparky!uunet!gatech!concert!sas!mozart.unx.sas.com!flash
- From: flash@unx.sas.com (Gordon Keener)
- Subject: Re: Prime Factor Numbers
- Sender: news@unx.sas.com (Noter of Newsworthy Events)
- Message-ID: <flash.716162039@ellison>
- Date: Thu, 10 Sep 1992 21:53:59 GMT
- References: <1992Sep8.040307.6288@cronkite.ocis.temple.edu>
- Nntp-Posting-Host: ellison.unx.sas.com
- Organization: SAS Institute Inc.
- Lines: 32
-
- In <1992Sep8.040307.6288@cronkite.ocis.temple.edu> sklar@picasso.ocis.temple.edu (Dave Sklar) writes:
-
-
- > Here's something I was thinking about. Take a number, n, and write
- >down its prime factors [Excluding n and 1] from left to right, forming a new number. Repeat.
- > When you get to a prime number, you end. Let's call the function
- >d(n). So, d(1001)=71113, d(5)=d(2)=d(11)=[Define something here, say]0.
- > Does every number eventually go to a prime, and then 0?
-
- Well, I did a (slow) little shell script using the poor UNIX "factor" program,
- and discovered that every n < 150000 either goes to a prime or exceeds 10^15,
- at which point factor can't deal with it. Quite a few of them did overflow,
- though, (including 1001; the smallest number that did was 91), so I would
- guess that some of them will keep growing to infinity. I did notice quite a
- few 12- and 13-digit primes, though, so not all sequences terminate in small
- primes.
-
- I did determine that there are no infinitely looping sequences of numbers
- <10^15 that contain a number <150000. Big deal. Maybe someone with a decent
- MP package can do better. :-)
-
- > What happens if you include the 1 and n? What happens if you write
- >prime factors that occur more than once once for each time they occur
- >instead of once for any number of times they appear? [d(20)=225 instead of
- >d(20)=25]
-
- I didn't check these out. You'd get big numbers a lot quicker, though. :-)
- --
- Gordon Keener SAS Institute, Inc.
- flash@unx.sas.com SAS Campus Dr, Cary,
- +1 919 677 8000 NC 27513-2414 USA
- "There is a heppy lend, fur, fur a-wa-ay." - _Krazy_Kat_, George Herriman
-