Rosetta Problems

The L-th Number

https://onlinejudge.u-aizu.ac.jp/problems/2270