6N plus minus one by unbaba

import java.util.*;enum N{n;System z;int i;{for(Scanner s=new Scanner(z.in);(i=s.nextInt())>0;)z.out.println(i+++" = 6 * "+i/6+(i%6>0?" + 1":" - 1"));}}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page