4

how to find all $n \in \Bbb N$ such that $n(n+1)\mid(n-1)! $

Brian M. Scott
  • 616,228
elham
  • 759
  • A brute force search gave $8$, $9$, $14$, $15$ and then all integers greater or equal to $20$ (at least up to 1,000,000) ... You might want to investigate on that ;) – Dolma May 04 '13 at 15:16
  • 3
    @Dolma: So $23 \mid 22!$? – TMM May 04 '13 at 15:19
  • Well, no since the question is not $n|(n-1)!$ but $n(n+1)|(n-1)!$ – Dolma May 04 '13 at 15:23
  • 2
    @Dolma So $(23*24) ,|, 22!$? – Petr May 04 '13 at 15:41
  • Yes, I was a bit quick on that one. I guess there was some rounding error on Matlab that made him think those were divisors ... my mistake :/ – Dolma May 04 '13 at 15:58

1 Answers1

2

Hint:

Here $n|(n-1)!$ for all $n$ being composite and $n>4$. And $n$ and $n+1$ are not primes.

Proof that $n|(n-1)!$ if $n>4$ is composite is given here.

$(n-1)!=(n-1)(n-2) \cdots 1$. You need to have sufficient factors in $\{n-1,n-2 ,\cdots 1\}$to cancel out both $n$ and $n+1$.

Inceptio
  • 7,881