OFFSET
0,2
COMMENTS
The route of the chess knight is an endless zigzag broken line starting from (1,1) and taking steps alternately (+1,+2) and (+2,-1). Successive steps are 90-degree turns left and right.
The even-indexed terms are the positive octagonal numbers (cf. A000567) and are lined up in a straight line.
LINKS
Nicolay Avilov, Drawing with the beginning of the route,
Nicolay Avilov, Problem 2403. Sequence in the Pythagorean table (in Russian).
Index entries for linear recurrences with constant coefficients, signature (1,2,-2,-1,1).
FORMULA
EXAMPLE
The route of the chess knight (1,1)-(2,3)-(4,2)-(5,4)-(7,3)-(8,5)-(10,4)-(11,6)- ... by the cells of the multiplication table generates the beginning of this sequence, therefore:
a(0) = 1*1 = 1,
a(1) = 2*3 = 6,
a(2) = 4*2 = 8,
a(3) = 5*4 = 20.
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Nicolay Avilov, Oct 21 2022
STATUS
approved