OFFSET
1,3
COMMENTS
This sequence is a variant of A276457.
This sequence is unbounded.
It seems that lim sup a(n)/(n*log(n)) = 0.03 approximately. - Ya-Ping Lu, Dec 16 2021
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, Logarithmic scatterplot of the first 1000000 terms
Rémy Sigrist, Perl program for A335497
EXAMPLE
The first terms, alongside their concatenations with a star in front of each occurrence of a(n), are:
n a(n) cat(a(1)...a(n))
-- ---- ---------------------------------
1 1 *1
2 1 *1*1
3 2 11*2
4 1 *1*12*1
5 3 1121*3
6 1 *1*12*13*1
7 4 112131*4
8 1 *1*12*13*14*1
9 5 11213141*5
...
17 9 1121314151617181*9
18 1 *1*12*13*14*15*16*17*18*19*1
19 10 112131415161718191*10
20 1 *1*12*13*14*15*16*17*18*19*1*10*1
21 12 1*12131415161718191101*12
22 2 11*21314151617181911011*2*2
PROG
(Perl) See Links section.
(Python)
a1 = 1; print(a1, end =', '); S = str(a1)
for n in range(2, 100): ct = S.count(str(a1)); S += str(ct); print(ct, end = ', '); a1 = ct # Ya-Ping Lu, Dec 16 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Jun 14 2020
STATUS
approved