OFFSET
1,1
COMMENTS
2 3 6 7 10 11 14 15 ... integers congruent to 2 or 3 mod 4
1 4 5 8 9 12 13 16 ... integers congruent to 0 or 1 mod 4
REFERENCES
M. Cerasoli, F. Eugeni and M. Protasi, Elementi di Matematica Discreta, Bologna 1988
Emanuele Munarini and Norma Zagaglia Salvi, Matematica Discreta,UTET, CittaStudiEdizioni, Milano 1997
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,0,1,-1).
FORMULA
For n>2, a(n+4k) = a(n) + 4k, with k>=1.
G.f.: x*(2+x-2*x^2+5*x^3-4*x^4+2*x^5)/(1-x-x^4+x^5). - Philippe Deléham, Dec 02 2016
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Giovanni Teofilatto, Mar 17 2006
EXTENSIONS
Terms corrected by R. J. Mathar, Oct 25 2011
STATUS
approved