Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        print "$val moved between (@orig) and (@$test)\n";
    }
    
  2. or download this
    The sum of a sequence of integers from x to x+n equals
        ((x+n)(x+n+1) - (x-1)(x))/2