cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A216813 Sum of tail length of S over all 2^n strings S consisting of n 2's and 3's.

Original entry on oeis.org

0, 3, 6, 18, 39, 96, 201, 582, 1220, 2590, 5345, 10919, 21859, 44167, 88629, 178050, 356598, 715084, 1431514, 2866876, 5736311, 11480839, 22966942, 45949687, 91910241, 183852468, 367726473, 735517466, 1471078571, 2942286009, 5884661772, 11769583511, 23539346216, 47079214312, 94158788295
Offset: 1

Views

Author

N. J. A. Sloane, Sep 18 2012 - Sep 21 2012, Oct 23 2012

Keywords

Comments

"Tail length" is defined in A216730.

Crossrefs

Formula

a(n) = A094005(n) - n*2^n.
Up to n=32, the average tail length a(n)/2^n seems to be approaching a number around 2.74.