Joshephus or MamakoDate Sequence EASY by teebee

for(;n+9-.&&++l<101;){for(k=m=read()+.=j=scale=!n=read();k;)if(a[.=.%m+1]<l&&!++j%n&&--k*a[.]=l)print.," ";.}

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

download

return to the top page