OFFSET
0,3
COMMENTS
Theorem 3.7, p. 9, of Chappelon.
LINKS
Jonathan Chappelon, Regular Steinhaus graphs of odd degree, arXiv:0806.2779 [math.CO], 2008-2009.
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,2)
FORMULA
a(n) = 2^ceiling(n/6) for n even, 2^ceiling((n-3)/6) for n odd.
G.f.: ( -1-x-2*x^2-x^3-2*x^4-2*x^5 ) / ( -1+2*x^6 ). - R. J. Mathar, Jan 22 2011
a(n) = A060548(n-1) for n >= 2. - Georg Fischer, Nov 03 2018
MATHEMATICA
LinearRecurrence[{0, 0, 0, 0, 0, 2}, {1, 1, 2, 1, 2, 2}, 100] (* Jean-François Alcover, Sep 25 2019 *)
PROG
(PARI) Vec((1 + x + 2*x^2 + x^3 + 2*x^4 + 2*x^5)/(1 - 2*x^6) + O(x^80)) \\ Andrew Howroyd, Nov 03 2018
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, Jun 18 2008
STATUS
approved