login
A130146
n appears k times, where k = last digit of n.
1
1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 11, 12, 12, 13, 13, 13, 14, 14, 14, 14, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18, 18, 18, 18, 19, 19, 19, 19
OFFSET
1,2
PROG
(Python)
from itertools import count, islice
def A130146_gen(): # generator of terms
yield from (n for n in count(1) for _ in range(n%10))
A130146_list = list(islice(A130146_gen(), 50)) # Chai Wah Wu, Nov 14 2022
CROSSREFS
Sequence in context: A123578 A087836 A087845 * A113764 A130148 A341510
KEYWORD
nonn,base
AUTHOR
Paul Curtz, Aug 02 2007
STATUS
approved