Help for this page

Select Code to Download


  1. or download this
    # lights out, see http://www.perlmonks.com/?node_id=940327
    
    ...
    # try this for example:
    #lightout(14, 14, 7);
    
  2. or download this
    gap> lightout(14, 14, 7);
    Found a solution for (R=14, C=14, M=7)
    ...
     1 1 . 1 1 . 1 . . 1 . . 1 1
     . . . 1 1 . .
    gap>