OFFSET
0,2
COMMENTS
a(n)/(2^n) is the expected subword complexity of a random binary string of length n.
All terms are even.
LINKS
Shiyao Guo, Table of n, a(n) for n = 0..60
EXAMPLE
For n = 2 there are four possible binary strings: "aa", "ab", "ba", "bb", and their subword complexities are 2, 3, 3 and 2 respectively, and their sum = a(2) = 10.
PROG
(C++) // see link above
CROSSREFS
KEYWORD
nonn
AUTHOR
Shiyao Guo, Jan 25 2021
STATUS
approved