login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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, 11501
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
a(13) from Sean A. Irvine, Nov 17 2024
STATUS
approved