login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A327036 a(0)=0; for n > 0, a(n) is the number of distinct digit strings that occur at least twice (not counting overlapping occurrences) in the concatenation of all previous terms. 2
0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 12, 13, 13, 14, 15, 15, 16, 17, 17, 18, 19, 19, 21, 22, 24, 24, 25, 26, 26, 27, 28, 28, 29, 30, 30, 31, 32, 33, 36, 36, 37, 38, 38, 39, 40, 40, 41, 43, 44, 47, 47, 48, 49, 49, 51, 51, 54, 55, 58, 58, 59, 60, 60 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
COMMENTS
To calculate a(n) take all the terms from a(0) to a(n-1), concatenate them, and then count the distinct digit strings that have at least two nonoverlapping occurrences. For example, if the concatenated terms formed the string '2210102240404' then the next term would be 8 as the strings '0','1','2','4','04','10','22','40' have all occurred at least twice. Note that the string '404' is not counted as its two occurrences overlap.
In the first 20000 terms, the largest increase in consecutive terms is from a(16496) = 45375 to a(16497) = 45410, an increase of 35; the concatenation of a(16496) to the previous terms results in the longest repeated string, '245352453624537'.
LINKS
EXAMPLE
a(1) = 0 as there have been no repeated strings prior to a(1).
a(2) = 1 as there has been one repeat of '0', which occurs in a(0) and a(1).
a(3) = 1 as only '0' has repeated up to a(2).
a(4) = 2 as now both '0' and '1' have repeated up to a(3).
a(22) = 12 as the strings '0' to '10' have repeated, but '10,10' contains the string '01' which also appears from a(1) to a(2), thus '01' has also repeated.
a(23) = 13 as a(22) = '12' created a repeat of the string '12', with a(3) and a(4). Even though the terms '10,10,12' contain two occurrences of the string '101' they overlap so are not counted. The string '10,12' also contains another '01' but that has already repeated and been counted previously so is ignored as the count is of distinct strings.
CROSSREFS
Cf. A330015 (same sequence, but overlapping instances of the same digit string are counted among the repeats).
Sequence in context: A330878 A350894 A109728 * A358854 A330015 A331163
KEYWORD
nonn,base
AUTHOR
Scott R. Shannon, Nov 28 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 18:04 EDT 2024. Contains 371254 sequences. (Running on oeis4.)