OFFSET
0,3
COMMENTS
a(n+1)=8^n/3+2^(n+1)/3 with g.f. (1-6x)/(1-10x+16x^2) counts walks of length 2n+1 between adjacent nodes of degrees 1 and 4 on the graph of the (7,4) Hamming code.
REFERENCES
David J.C. Mackay, Information Theory, Inference and Learning Algorithms, CUP, 2003, p. 19.
LINKS
FORMULA
G.f.: (1-9x+10x^2)/(1-10x+16x^2); a(n)=8^(n-1)/3+2^(n)/3+5*0^n/8.
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Jan 31 2005
STATUS
approved