Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A127697
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
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

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 19 12:50 EST 2009. Contains 171053 sequences.


AT&T Labs Research