OFFSET
0,3
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..5100
Index entries for linear recurrences with constant coefficients, signature (1,3,-2,-1,-1,-3,1,1,3,1,1,0,-2,0,-1)
FORMULA
EXAMPLE
a(3) = 2: 123, 321.
a(4) = 8: 1234, 1432, 2143, 2341, 3214, 3412, 4123, 4321.
a(5) = 12: 12345, 12543, 14325, 14523, 32145, 32541, 34125, 34521, 52143, 52341, 54123, 54321.
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Alois P. Heinz, Apr 01 2018
STATUS
approved