# CJam, 2449 / 7³ = 7.13994169096 ri"\"Do not repeat yourself\"]s%c/z_&"1$" X Z B D F H J"=e%f* Works for inputs 1, 3, 11, 13, 15, 17, 19. Total length is 31*(1+3+11+13+15+17+19) = 2449. ## Example: output for 11 """""""""""DDDDDDDDDDDooooooooooo nnnnnnnnnnnooooooooooottttttttttt rrrrrrrrrrreeeeeeeeeeepppppppppppeeeeeeeeeeeaaaaaaaaaaattttttttttt yyyyyyyyyyyooooooooooouuuuuuuuuuurrrrrrrrrrrssssssssssseeeeeeeeeeelllllllllllfffffffffff"""""""""""]]]]]]]]]]]sssssssssssBBBBBBBBBBB///////////zzzzzzzzzzz___________&&&&&&&&&&& Explanation: """""""""""...""""""""""" Push five empty strings, a long string, and five more empty strings. ]]]]]]]]]]]sssssssssss Collect them all in a list. Put that list in 10 more layers of list, for good measure. Convert this to a string, to just get the long one. BBBBBBBBBBB/////////// Split into chunks of size 11/(11/(.../(11/(11/11))))) = 11. This gets us: ["DDDDDDDDDDD" "ooooooooooo" ...] zzzzzzzzzzz Transpose eleven times, i.e. once. We now have: ["Do not..." "Do not..." ... "Do not..."] ___________&&&&&&&&&&& Push eleven more copies, and get the unique elements. This gets us: ["Do not..."]