Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Golf: Look and Say Sequences

by thospel (Hermit)
on Apr 13, 2005 at 17:40 UTC ( [id://447531]=note: print w/replies, xml ) Need Help??


in reply to Golf: Look and Say Sequences

Ok, here's a quick 43 to get you going
-l print,s!(.)\1*!$&%9/$1.$1!egfor(++$_)x10 1234567890123456789012345678901234567890123
Update: Ah, 42
-l print,s!(.)\1*!$&%9/$1.$1!egfor(p^A)x10 123456789012345678901234567890123456789012

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-04-18 09:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found