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;
    }