OFFSET
2,1
COMMENTS
Nodes and edges can be revisited.
LINKS
Dmitry Kamenetsky, A robot visiting every edge of a 3x3 grid, Puzzling StackExchange, August 2020.
Dmitry Kamenetsky, A robot visiting every edge of a 4x4 grid, Puzzling StackExchange, August 2020.
Dmitry Kamenetsky, Best known solutions for n <= 11.
Chris Staecker, MA 15: Minimum duplication circuits & Hamilton circuits, YouTube, May 2020.
Wikipedia, Eulerian Path.
Wikipedia, Route inspection problem.
Index entries for linear recurrences with constant coefficients, signature (2,0,-2,1).
FORMULA
From Stefano Spezia, Sep 18 2020: (Start)
G.f.: (-4 + 7*x + 6*x^2 - x^3)/((1 - x)^3*(1 + x)).
a(n) = 2*a(n-1) - 2*a(n-3) + a(n-4) for n > 5. (End)
EXAMPLE
See examples in links.
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Dmitry Kamenetsky, Aug 30 2020
EXTENSIONS
More terms from Stefano Spezia, Sep 18 2020
STATUS
approved