Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Spiraling integers

by Limbic~Region (Chancellor)
on Aug 28, 2005 at 22:08 UTC ( #487293=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16
    01 02 03 04 12 13 15 05 11 16 15 06 10 09 08 07
    
    01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2
    +4 25
    01 02 03 04 05 16 17 18 19 06 15 24 25 20 07 14 23 22 21 08 13 12 11 1
    +0 09
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
        shift @spiral;  # Arrays are 0 based
        return @spiral;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2019-02-18 06:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I use postfix dereferencing ...









    Results (99 votes). Check out past polls.

    Notices?