## b ab by final

n=100\x0d
a=function(b,c){if(!n)throw 0\x0d
b>1?(a(b-2,c+'ab'),a(b-1,c+'b')):(print(b?c+'b':c),n--)}\x0d
for(i=1;;)a(i++,'')

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

download

return to the top page