login
A241683
Total number of 2 X 2 squares appearing in the Thue-Morse sequence logical matrices after n stages.
4
0, 0, 0, 2, 12, 50, 220, 882, 3612, 14450, 58140, 232562, 931612, 3726450, 14911260, 59645042, 238602012, 954408050, 3817719580, 15270878322, 61083862812, 244335451250, 977343203100, 3909372812402
OFFSET
0,4
COMMENTS
a(n) is the total number of non-isolated "1s" (consecutive 1s on 2 rows, 2 columns) that appear as 2 X 2 squares in the Thue-Morse logical matrices after n stages. See links for more details.
FORMULA
a(n) = A007590(A000975(n - 1)).
Empirical g.f.: 2*x^3*(4*x^2-2*x-1) / ((x-1)*(x+1)*(2*x-1)*(2*x+1)*(4*x-1)). - Colin Barker, Apr 27 2014
a(n) = (1/18) * (4^n - 3*2^n - 6*(-1)^n + (-2)^n - 2), n>0 (from g.f.). - Ralf Stephan, Apr 27 2014
PROG
(PARI) {a0=0; print1(a0, ", "); for (n=0, 50, b=ceil(2*(2^n-1)/3); a=floor(b^2/2); print1(a, ", "))}
CROSSREFS
Cf. A010060.
Sequence in context: A129743 A115243 A218776 * A341546 A012423 A012427
KEYWORD
nonn
AUTHOR
Kival Ngaokrajang, Apr 27 2014
STATUS
approved