Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A072949
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A072949 Number of permutations p of (1,2,3,...,n) such that sum(k=1,n,abs(k-p(k)))=2n. +0
3
0, 0, 0, 4, 24, 148, 744, 3696, 17640, 83420, 390144, 1817652, 8438664, 39117852, 181136304, 838372452, 3879505944 (list; graph; listen)
OFFSET

1,4

COMMENT

Is a(n) always even?

More generally, T(n,k) (from A062869) appears to be even whenever k >= n. - Franklin T. Adams-Watters, Dec 11 2006. Max Alekseyev reports that both conjectures are true.

MAPLE

with(linalg): f := (i, j) -> x^(abs(i-j)):for n from 1 to 17 do A := matrix(n, n, f): printf("%d, ", coeff(permanent(A), x, 2*n)) od: - Herman Jamke (hermanjamke(AT)fastmail.fm), Apr 27 2008

PROGRAM

(PARI) a(n)=sum(k=1, n!, if(sum(i=1, n, abs(i-component(numtoperm(n, k), i)))-2*n, 0, 1))

CROSSREFS

Cf. A072948, A062869.

Sequence in context: A045915 A052609 A077613 this_sequence A104531 A045738 A003288

Adjacent sequences: A072946 A072947 A072948 this_sequence A072950 A072951 A072952

KEYWORD

more,nonn

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), Aug 20 2002

EXTENSIONS

More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Apr 27 2008

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 November 23 17:09 EST 2009. Contains 167438 sequences.


AT&T Labs Research