Are you smarter than me? 49 A

m ( 4 m 2 + m + 12 ) = 3 ( p n 1 ) \large\color{royalblue}{m(4m^2+m+12)=3(p^n-1)}

Find sum of all the positive integers m , n m,n and p p , where p p is a prime greater than 4, such that they satisfy the equation above.


The answer is 23.

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

Kazem Sepehrinia
Jun 25, 2015

Rewrite the equation as m ( 4 m 2 + m + 12 ) + 3 = 3 p n ( 4 m + 1 ) ( m 2 + 3 ) = 3 p n m(4m^2+m+12)+3=3p^n \\ (4m+1)(m^2+3)=3p^n Now LHS must be divisible by 3 3 , It follows that m 3 0 , 2 m\stackrel{3}{\equiv} 0, 2

Case 1) m = 3 k ; k > 0 m=3k; k>0 ( 12 k + 1 ) ( 3 k 2 + 1 ) = p n (12k+1)(3k^2+1)=p^n Examine some small values of k k . k = 1 , 2 , 3 k=1, 2, 3 fail to give a sloution, k = 4 k=4 gives 7 4 = p n 7^4=p^n , therefore ( m , p , n ) = ( 12 , 7 , 4 ) (m, p, n)=(12, 7, 4) is an answer. For k > 4 k>4 factors 12 k + 1 12k+1 and 3 k 2 + 1 3k^2+1 are greater than 1 1 and 3 k 2 + 1 > 12 k + 1 3k^2+1>12k+1 , hence both of them are some exponents of p p and power of p p in 3 k 2 + 1 3k^2+1 is greater than 3 k + 1 3k+1 , It's immediate that we must have 12 k + 1 3 k 2 + 1 12k+1 | 3k^2+1 and 12 k + 1 k ( 12 k + 1 ) 4 ( 3 k 2 + 1 ) = k 4 12 k + 1 12 k + 1 12 ( k 4 ) = 49 12 k + 1 49 12k+1 | k(12k+1)-4(3k^2+1)=k-4 \\ 12k+1 | 12k+1-12(k-4)=49 \\ 12k+1 | 49 Which is impossible for k > 4 k>4 .

Case 2) m = 3 k + 2 ; k 0 m=3k+2; k \ge 0 ( 4 k + 3 ) ( 9 k 2 + 12 k + 4 ) = p n (4k+3)(9k^2+12k+4)=p^n Here 9 k 2 + 12 k + 4 > 4 k + 3 9k^2+12k+4> 4k+3 for all k 0 k \ge 0 and with a similar reasoning to case one we must have 4 k + 3 9 k 2 + 12 k + 4 4 k + 3 4 ( 9 k 2 + 12 k + 4 ) 9 k ( 4 k + 3 ) = 21 k + 16 4 k + 3 4 ( 21 k + 16 ) 21 ( 4 k + 3 ) = 1 4 k + 3 1 4k+3 | 9k^2+12k+4 \\ 4k+3 | 4(9k^2+12k+4) -9k(4k+3)=21k+16 \\ 4k+3 | 4(21k+16)- 21(4k+3)=1 \\ 4k+3| 1 This is impossible.

There is only one solution: ( m , p , n ) = ( 12 , 7 , 4 ) (m, p, n)=(12, 7, 4) .

Thanks! I didn't interpret it as sum of m, n and p. LOL

Calvin Lin Staff - 5 years, 11 months ago

Log in to reply

lol, no problem sir :-)

Kazem Sepehrinia - 5 years, 11 months ago

about the same solution, but in the middle, i speculate the gcd of 12k+1 and 3k^2+1 is 7 or 49, so p=7. Then I used 3k^2+1has to be a multiple of 12k+1 and use ∆=b^2-4ac has to be a perfect square to solve

Zhiwei William Zhang - 5 years, 11 months ago

Log in to reply

Do you know how to prove your speculation? Where did 7 or 49 come from?

Hint: What is ( 12 k + 1 ) ( 12 k 1 ) (12k+1)(12k-1) ?

Calvin Lin Staff - 5 years, 11 months ago

Log in to reply

gcd(12k+1, 3k^2+1)=gcd(12k+1, (12k^2+k)-k+4) =gcd(12k+1,k-4) =gcd(12k+1, (12k+1)-49) =gcd(12k+1,49)=1 or 7 or 49. If the gcd is one, then either 12k+1 is one or 3k^2+1 is one (impossible). Thus, the gcd is 7 or 49. So p=7 anyway.

Zhiwei William Zhang - 5 years, 11 months ago

Log in to reply

@Zhiwei William Zhang Right! Note that in the first equality is justified because both numbers are odd. Otherwise, my preferred approach would be to say that each number divides the next. IE

gcd ( 12 k + 1 , 3 k 2 + 1 ) gcd ( 12 k + 1 , 144 k 2 + 48 ) = gcd ( 12 k + 1 , ( 144 k 2 1 ) + 49 = gcd ( 12 k + 1 , 49 ) 49 \gcd(12k+1, 3k^2 + 1) \mid \gcd ( 12k + 1, 144k^2 + 48) \\ = \gcd(12k + 1, (144k^2 -1 ) + 49 = \gcd ( 12k+1 , 49 ) \mid 49 .

The first \mid is actually an equality sign, because gcd ( 12 k + 1 , 48 ) = 1 \gcd (12k+1, 48 ) = 1 .

Calvin Lin Staff - 5 years, 11 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...