List only to n,
or
Design a function that sets the number n, f (n) gives you the nth element of your range of possible solutions.
26. - . , -10 26 ( ) ( ). , .
, , : D
ruby ββ n- :
def rbase(value)
a = ('a'..'z')
b = a.to_a
base = b.length
text = []
begin
value, rest = value.divmod(base)
text << b[rest]
end until value.zero?
text.reverse.join
end
.
irb(main):030:0> rbase(789).rjust(10,'a')
=> "aaaaaaabej"