|
Search: id:A127697
|
|
|
| A127697 |
|
Number of permutations of {1,2,...,n} where adjacent elements differ in value by 3 or more. |
|
+0 1
|
|
| 0, 0, 0, 0, 0, 2, 32, 368, 3984, 64904, 947168
(list; graph; listen)
|
|
|
OFFSET
|
1,6
|
|
|
COMMENT
|
Equivalently, number of permutations of {1,2,...,n} where elements that differ by 1 in value are neither in positions i and i+1 (adjacent), or i and i+2.
|
|
EXAMPLE
|
Valid permutations of {1,...,6} are 415263 and 362514.
|
|
CROSSREFS
|
Cf. A002464.
Sequence in context: A053065 A091707 A060868 this_sequence A109772 A115418 A163952
Adjacent sequences: A127694 A127695 A127696 this_sequence A127698 A127699 A127700
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Richard Forster (gbrl01(AT)yahoo.co.uk), Apr 11 2007, Apr 26 2007
|
|
|
Search completed in 0.002 seconds
|