login
A073112
Number of permutations p from (1,2,3,...,n) to (1,2,3,...,n) such that 1/(1+p(1)) + 1/(2+p(2)) + ... + 1/(n+p(n)) is an integer.
0
0, 0, 0, 1, 0, 7, 6, 30, 110, 278, 1332, 3312
OFFSET
1,6
LINKS
PROG
(PARI) a(n)=sum(k=1, n!, if(frac(sum(i=1, n, 1/(i+component(numtoperm(n, k), i)))), 0, 1))
CROSSREFS
Sequence in context: A341289 A322049 A163260 * A070425 A163842 A328697
KEYWORD
nonn,more
AUTHOR
Benoit Cloitre, Aug 19 2002
EXTENSIONS
More terms from Ryan Propper, Jun 11 2006
STATUS
approved