Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: prime factorization using base 1

by ambrus (Abbot)
on Dec 16, 2010 at 10:18 UTC ( #877463=note: print w/ replies, xml ) Need Help??


in reply to prime factorization using base 1

Some later nodes that refer to this trick are Re: Simple primality testing, Re^2: The Oldest Plays the Piano, Re: Calculate prime factors for a given number in a perl one-liner, Re: is it prime?.

Update 2015-10-22: See also "How does this regular expression work?" (2010-07) question on StackOverflow which asks about a similar regex in the article "A regular expression to check for prime numbers" (2007-03) by Avinash Meetoo

Comment on Re: prime factorization using base 1

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://877463]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2016-05-28 08:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?