OFFSET
0,2
COMMENTS
The generating function was found by Moshe Shmuel Newman.
LINKS
Melvyn B. Nathanson, Number Theory and semigroups of intermediate growth, Amer. Math. Monthly 106(1999) 666-669.
FORMULA
G.f.: 1/(1-x)+ x/((1-x)^2 (1-x^2)(1-x^3)(1-x^5)(1-x^7)(1-x^11)...) where the product is over all primes.
EXAMPLE
The products of two matrices in A are r.r, r.b, b.r and b.b, that is {{1, 2}, {0, 1}}, {{2, 0}, {1, 0}}, {{1, 1}, {1, 1}}, {{1, 0}, {1, 0}}.
Of these, the last one, b.b is an element of length one, since it is equal to b. The remainder are elements of length two, hence a(2)=3.
CROSSREFS
KEYWORD
nonn,more,changed
AUTHOR
David S. Newman, Sep 04 2006
STATUS
approved