Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A073090
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A073090 Number of permutations p from (1,2,3,...,n) to (1,2,3...,n) such that 1/p(1)+2/p(2)+...+n/p(n) is an integer. +0
1
1, 1, 1, 2, 2, 8, 8, 22, 104, 1128, 1128, 14520, 14520 (list; graph; listen)
OFFSET

1,4

EXAMPLE

p(1,2)=(1,2) is the only permutation such that 1/p(1)+2/p(2) is an integer hence a(2)=1

PROGRAM

(PARI) a(n)=if(n<0, 0, sum(k=1, n!, if(frac(sum(i=1, n, i/component(numtoperm(n, k), i))), 0, 1)))

CROSSREFS

Sequence in context: A082887 A137583 A099328 this_sequence A120544 A155950 A162959

Adjacent sequences: A073087 A073088 A073089 this_sequence A073091 A073092 A073093

KEYWORD

more,nonn

AUTHOR

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

EXTENSIONS

More terms from John W. Layman (layman(AT)math.vt.edu), Feb 06 2004

Corrected by Benoit Cloitre (benoit7848c(AT)orange.fr), Feb 21, 2004

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 22 15:28 EST 2009. Contains 167310 sequences.


AT&T Labs Research