OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,0,-2,1).
FORMULA
a(n) = (1/4) [28n^2 - 6n + 9 + 3(-1)^n], for n>3.
G.f.: -(3*x^7-x^6-8*x^5+4*x^4+13*x^3+13*x^2+3*x+1) / ((x-1)^3*(x+1)). - Colin Barker, Jul 14 2013
EXAMPLE
5 squares are reachable after 1 move, from these you can reach 18 new squares more, so a(1)=5, a(2)=23.
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ralf Stephan, Sep 15 2004
EXTENSIONS
More terms from Colin Barker, Jul 14 2013
STATUS
approved