Adventures of a Hole Punch

Consider a number line consisting of all positive integers greater than 7. A hole punch traverses the number line, starting from 7 and working its way up. It checks each positive integer n n and punches a hole if ( n 7 ) n\choose {7} is divisible by 12.

As the hole punch checks more and more numbers, the fraction of checked numbers that are punched approaches a limiting number ρ \rho . If ρ \rho can be written in the form m n \frac{m}{n} , where m m and n n are coprime positive integers, find m + n m+n .


Notation: ( M N ) = M ! N ! ( M N ) ! \dbinom MN = \dfrac {M!}{N! (M-N)!} denotes the binomial coefficient .


The answer is 235.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Sharky Kesa
Jun 14, 2017

Firstly, we note that

( n 7 ) = n ( n 1 ) ( n 2 ) ( n 3 ) ( n 4 ) ( n 5 ) ( n 6 ) 2 4 3 2 5 7 \dbinom{n}{7} = \dfrac{n(n-1)(n-2)(n-3)(n-4)(n-5)(n-6)}{2^4 \cdot 3^2 \cdot 5 \cdot 7}

In order for this number to be divisible by 12 = 2 2 3 12=2^2 \cdot 3 , the numerator must be divisible by 2 6 3 3 2^6 \cdot 3^3 . (The 5 and 7 are ignored because by the Pigeonhole Principle, these will be cancelled out by factors in the numerator anyway). Thus, we wish to find all n n such that

2 6 3 3 n ( n 1 ) ( n 2 ) ( n 3 ) ( n 4 ) ( n 5 ) ( n 6 ) 2^6 \cdot 3^3 \mid n(n-1)(n-2)(n-3)(n-4)(n-5)(n-6)

Let's start by looking at the factors of 3.

By Pigeonhole Principle, 2 of the expressions in the product must be divisible by 3, so the whole expression is already divisible by 9. If n 7 , 8 ( m o d 9 ) n\equiv 7, 8 \pmod{9} , then none of the brackets are divisible by 9, so the expression would not be divisible by 27. Thus, n 0 , 1 , 2 , 3 , 4 , 5 , 6 ( m o d 9 ) n \equiv 0, 1, 2, 3, 4, 5, 6 \pmod{9} .

Let's look at the factors of 2 now.

If n n is even, we have that n 2 n-2 , n 4 n-4 and n 6 n-6 are also even, with two of them divisible by 4 by Pigeonhole Principle. Thus, this expression is already divisible by 64.

If n n is odd, we have n 1 n-1 , n 3 n-3 and n 5 n-5 to be even.

If n 3 n-3 is the only number divisible by 4, the whole expression will be divisible by 16. To ensure that the product is divisible by 64, we must have n 3 n-3 to be divisible by 16, so n 3 ( m o d 16 ) n \equiv 3 \pmod{16} must also to be true.

If n 1 n-1 and n 5 n-5 are both divisible by 4, the whole expression is divisible by 32. To ensure the product is divisible by 64, we must have one of n 1 n-1 and n 5 n-5 to be divisible by 8. Thus, n 1 , 5 ( m o d 8 ) n 1 , 5 , 9 , 13 ( m o d 16 ) n \equiv 1, 5 \pmod{8} \implies n \equiv 1, 5, 9, 13 \pmod{16} .

Combining all this information together, we get that ( n 7 ) \dbinom{n}{7} is divisible by 12 if and only if n n satisfies all of the below criteria:

{ n 0 , 1 , 2 , 3 , 4 , 5 , 6 ( m o d 9 ) n 0 , 1 , 2 , 3 , 4 , 5 , 6 , 8 , 9 , 10 , 12 , 13 , 14 ( m o d 16 ) \begin{cases} n &\equiv 0, 1, 2, 3, 4, 5, 6 \pmod{9}\\ n&\equiv 0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 13, 14 \pmod{16} \end{cases}

There are 7 possibilities ( m o d 9 ) \pmod{9} and 13 possibilities ( m o d 16 ) \pmod{16} , so there are 7 × 13 = 91 7 \times 13 = 91 possibilities ( m o d 144 ) \pmod{144} . Thus, as more numbers n n are checked, the probability that ( n 7 ) \dbinom{n}{7} is divisible by 12 approaches 91 144 \boxed{\dfrac{91}{144}} . Thus, m + n = 235 m+n=235 .

We can use Lucas Theorem. As far as divisibility by 3 3 goes, we have ( n 7 ) ( a 2 ) ( b 1 ) ( m o d 3 ) {n \choose 7} \; \equiv \; {a \choose 2}{b \choose 1} \pmod{3} where n 3 a + b ( m o d 9 ) n \equiv 3a + b \pmod{9} for 0 a , b 2 0 \le a,b \le 2 (we only have to go this far because 7 = 2 × 3 + 1 7 = 2\times3+1 . Thus ( n 7 ) {n \choose 7} will be divisible by 3 3 provided that either a 0 a \equiv 0 , a 1 a \equiv 1 or b 0 b \equiv 0 modulo 3 3 , namely when n 0 , 1 , 2 , 3 , 4 , 5 , 6 ( m o d 9 ) n \equiv 0,1,2,3,4,5,6 \pmod{9} .

There is a generalisation of Lucas Theorem which handles the divisibility of Binomial coefficients by prime powers like 4 = 2 2 4 =2^2 , and we can put these two results together to get the answer.

Mark Hennings - 3 years, 12 months ago

Log in to reply

Nice! This definitely cuts down on the working!

Sharky Kesa - 3 years, 11 months ago

It's not clear to me why you started with n 7 n \geq 7 . That seems distracting.

I guess people might be confused that ( 1 7 ) = 0 , { 1 \choose 7 } = 0 , or that 12 0 12 \mid 0 . But, like you realized, it doesn't matter in the long run.

Calvin Lin Staff - 3 years, 12 months ago

Log in to reply

Yeah, I had to make sure people wouldn't get confused and report the problem for this.

Sharky Kesa - 3 years, 12 months ago

Log in to reply

Sounds good :)

Calvin Lin Staff - 3 years, 12 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...