OFFSET
0,7
COMMENTS
LINKS
Scott R. Shannon, Image of the first 10 million terms.
EXAMPLE
a(1) = 1 and a(2) = 0, as after a(0) there is "one 0".
a(3) = 1 and a(4) = 1, as after a(0)..a(2) there is "one 1".
a(5) = 0 and a(6) = 2, as after a(0)..a(4) there are "zero 2's". As a number with zero occurrences has appeared, the count resets back to counting zeros.
a(7) = 3 and a(8) = 0, as after a(0)..a(6) there are "three 0's".
a(9) = 3 and a(10) = 1 as after a(0)..a(8) there are "three 1's".
a(11) = 1 and a(12) = 2 as after a(0)..a(10) there is "one 2".
a(13) = 2 and a(14) = 3 as after a(0)..a(12) there are "two 3's".
a(15) = 0 and a(16) = 4 as after a(0)..a(14) there are "zero 4's". As a number with zero occurrences has appeared, the count resets back to counting zeros.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Scott R. Shannon, Sep 13 2021
STATUS
approved