OFFSET
1,2
PROG
(Ruby)
def A(k, n)
(1..n).map{|i| (1..i).to_a.reverse.join.to_i.to_s(k).to_i}
end
p A(6, 20)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Seiichi Manyama, Apr 24 2022
STATUS
approved