The stupid question is the question not asked | |
PerlMonks |
Re^2: A natural occurrenceby jdalbec (Deacon) |
on Mar 04, 2006 at 16:03 UTC ( [id://534483]=note: print w/replies, xml ) | Need Help?? |
How is 2, 3 .. sqrt($p) different from 2 .. sqrt($p)?
Update: I guess that applies to .718281 as well. Not to mention any all-0 string. In benizi's golf below I think 2..sqrt would work just as well because he starts at position 2 (skipping the decimal point) and explicitly excludes any string starting with a 0.
In Section
Obfuscated Code
|
|