A100909 Concatenate number of occurrences in n of each decimal digit from 0 to 9 and drop leading zeros.
1000000000, 100000000, 10000000, 1000000, 100000, 10000, 1000, 100, 10, 1, 1100000000, 200000000, 110000000, 101000000, 100100000, 100010000, 100001000, 100000100, 100000010, 100000001, 1010000000, 110000000, 20000000, 11000000, 10100000, 10010000, 10001000
Offset: 0
Examples
a(12) = 110000000 as 12 consists only of one 1 and one 2, hence the following are concatenated: 0 1 1 0 0 0 0 0 0 0 and dropping the leading 0 gives 110000000 (= a(21) also).
Links
- Mia Boudreau, Table of n, a(n) for n = 0..10000
Crossrefs
Cf. A100910 (each number of digit occurrences is a separate term).
Programs
-
Mathematica
A100909[n_] := FromDigits[RotateRight[DigitCount[n]]]; Array[A100909, 25, 0] (* Paolo Xausa, Jul 16 2025 *)
Comments