multiples by Kotiya

a=3;k=5\x0d
while a<1000\x0d
  p a\x0d
  a+=a%k==0 ? k: k-a%k \x0d
  k={3=>5,5=>7,7=>3}[k]\x0d
end\x0d

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

download

return top