Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

Primality regex. A regular expression that can identify prime numbers. Unsurprisingly, this one comes from the Perl community.

Tagged , ,

3 comments

  1. This is from a talk I did many years ago at the Montreal Perl Mongers. Sorry for the formatting; it was marked up from my plaintext notes.

    Neil Kandalgaonkar - 18th March 2007 08:39 - #

  2. Primality is so last century...

    http://perl.abigail.be/Talks/Sudoku/HTML/

    Arien - 18th March 2007 13:32 - #

Sign in with OpenID

Auto-HTML: Line breaks are preserved; URLs will be converted in to links.

Manual XHTML: Enter your own, valid XHTML. Allowed tags are a, p, blockquote, ul, ol, li, dl, dt, dd, em, strong, dfn, code, q, samp, kbd, var, cite, abbr, acronym, sub, sup, br, pre

A django site