OFFSET
0,3
REFERENCES
Ralph P. Grimaldi, Ternary Strings with No Consecutive 1's, Ars Combin. 89 (2008), 321-343.
FORMULA
(sqrt(3)/18)*((1+sqrt(3))^n - (1-sqrt(3))^n)+(n/12)*((1+sqrt(3))^(n+1)+(1-sqrt(3))^(n+1))
Conjecture: a(n)=A073388(n-1). [From R. J. Mathar, Aug 18 2008]
MATHEMATICA
f[n_] := Simplify[(2Sqrt[3] (-(1 - Sqrt[3])^n + (1 + Sqrt[3])^n) + 3n*((1 - Sqrt[3])^(1 + n) + (1 + Sqrt[3])^(1 + n)))/36]; Table[ f[n], {n, 0, 25}] (* Robert G. Wilson v *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Ralph P. Grimaldi (ralph.grimaldi(AT)rose-hulman.edu), Aug 03 2005
EXTENSIONS
More terms from Robert G. Wilson v, Aug 05 2005
STATUS
approved