login
A377862
A variant of Golomb's sequence (A001462): the n-th digit of the sequence gives the number of times n appears, with a(1) = 1 and a(2) = 2.
3
1, 2, 2, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18, 18, 18, 19, 19
OFFSET
1,2
COMMENTS
This sequence is a base-10 variant of A167500.
Numbers corresponding to positions of zeros do not appear in the sequence.
This sequence first differ from A001462 for n = 169: a(169) = 31 whereas A001462(169) = 29.
PROG
(PARI) \\ See Links section.
CROSSREFS
Cf. A001462, A087739, A167500, A377863 (missing numbers), A377896.
Sequence in context: A055086 A377896 A001462 * A357021 A082462 A276581
KEYWORD
nonn,base,changed
AUTHOR
Rémy Sigrist, Nov 10 2024
STATUS
approved