OFFSET
1,1
COMMENTS
Row 3 of A183244.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..131
FORMULA
Empirical (for n>=2): 25*4^(n-2) + 4*3^(n-2). - Vaclav Kotesovec, Nov 27 2012
Conjectures from Colin Barker, Mar 27 2018: (Start)
G.f.: x*(9 - 34*x + 17*x^2) / ((1 - 3*x)*(1 - 4*x)).
a(n) = 7*a(n-1) - 12*a(n-2) for n>3.
(End)
EXAMPLE
All permutations of 1-6 with minimum displacement 2:
(4,5,1,6,2,3) (4,5,1,6,3,2) (4,5,6,1,2,3) (4,5,6,1,3,2) (4,5,6,2,1,3)
(4,5,6,2,3,1) (4,6,5,1,2,3) (4,6,5,1,3,2) (4,6,5,2,1,3) (4,6,5,2,3,1)
(5,4,1,6,2,3) (5,4,1,6,3,2) (5,4,6,1,2,3) (5,4,6,1,3,2) (5,4,6,2,1,3)
(5,4,6,2,3,1) (5,6,1,2,3,4) (3,4,5,6,1,2) (3,4,5,6,2,1) (3,5,1,6,2,4)
(3,5,6,1,2,4) (3,5,6,2,1,4) (3,6,5,1,2,4) (3,6,5,2,1,4) (6,4,5,1,2,3)
(6,4,5,1,3,2) (6,4,5,2,1,3) (6,4,5,2,3,1) (6,5,1,2,3,4)
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 03 2011
STATUS
approved