Solveeit Logo

Question

Question: The number of integral values of x for which $2x^2 + x - 6$ is a positive integral power of a positi...

The number of integral values of x for which 2x2+x62x^2 + x - 6 is a positive integral power of a positive prime is

Answer

3

Explanation

Solution

Let the given expression be E=2x2+x6E = 2x^2 + x - 6. We are looking for integral values of xx such that EE is a positive integral power of a positive prime.

First, factorize the quadratic expression: 2x2+x6=2x2+4x3x6=2x(x+2)3(x+2)=(2x3)(x+2)2x^2 + x - 6 = 2x^2 + 4x - 3x - 6 = 2x(x+2) - 3(x+2) = (2x-3)(x+2).

So, we need (2x3)(x+2)=pk(2x-3)(x+2) = p^k, where pp is a positive prime and kk is a positive integer. Since xx is an integer, both (2x3)(2x-3) and (x+2)(x+2) are integers. For their product to be a positive power of a prime, both factors must be powers of the same prime pp, and they must have the same sign (both positive or both negative).

Let A=x+2A = x+2 and B=2x3B = 2x-3. So AB=pkAB = p^k. We can express BB in terms of AA: 2A=2(x+2)=2x+42A = 2(x+2) = 2x+4. Then 2AB=(2x+4)(2x3)=72A - B = (2x+4) - (2x-3) = 7. So, we have the equation 2AB=72A - B = 7, where A=pbA=p^b and B=paB=p^a for some non-negative integers a,ba, b (since AA and BB are factors of pkp^k). Thus, 2pbpa=72p^b - p^a = 7.

Case 1: Both factors AA and BB are positive. This implies x+2>0    x>2x+2 > 0 \implies x > -2 and 2x3>0    x>3/22x-3 > 0 \implies x > 3/2. So, for integer xx, we must have x2x \ge 2. In this case, pa>0p^a > 0 and pb>0p^b > 0.

We need to solve 2pbpa=72p^b - p^a = 7 for prime pp and non-negative integers a,ba, b.

Subcase 1.1: p=2p=2. The equation becomes 22b2a=72 \cdot 2^b - 2^a = 7, which simplifies to 2b+12a=72^{b+1} - 2^a = 7. If a=0a=0, then 2b+11=7    2b+1=8=232^{b+1} - 1 = 7 \implies 2^{b+1} = 8 = 2^3. This gives b+1=3    b=2b+1=3 \implies b=2. So, p=2,a=0,b=2p=2, a=0, b=2. A=x+2=pb=22=4    x=2A = x+2 = p^b = 2^2 = 4 \implies x=2. B=2x3=pa=20=1B = 2x-3 = p^a = 2^0 = 1. Check: (2x3)(x+2)=(1)(4)=4=22(2x-3)(x+2) = (1)(4) = 4 = 2^2. This is a positive integral power of a positive prime (2). So x=2x=2 is a solution.

If a1a \ge 1: 2a(2b+1a1)=72^a(2^{b+1-a} - 1) = 7. Since 77 is a prime number, 2a2^a must be a factor of 7. The only positive integer factor of 7 that is a power of 2 is 20=12^0=1. So aa must be 0, which we already covered. Thus, for p=2p=2, the only solution is x=2x=2.

Subcase 1.2: p=3p=3. The equation becomes 23b3a=72 \cdot 3^b - 3^a = 7. If a=0a=0, 23b1=7    23b=8    3b=42 \cdot 3^b - 1 = 7 \implies 2 \cdot 3^b = 8 \implies 3^b = 4. No integer bb satisfies this. If b=0b=0, 213a=7    3a=52 \cdot 1 - 3^a = 7 \implies 3^a = -5. No solution. If a=1a=1, 23b3=7    23b=10    3b=52 \cdot 3^b - 3 = 7 \implies 2 \cdot 3^b = 10 \implies 3^b = 5. No solution. If b=1b=1, 233a=7    63a=7    3a=12 \cdot 3 - 3^a = 7 \implies 6 - 3^a = 7 \implies 3^a = -1. No solution. If a1a \ge 1, 3a(23ba1)=73^a(2 \cdot 3^{b-a} - 1) = 7. 3a3^a must be 1, so a=0a=0, which we already covered. No solutions for p=3p=3.

Subcase 1.3: p=5p=5. The equation becomes 25b5a=72 \cdot 5^b - 5^a = 7. If a=0a=0, 25b1=7    25b=8    5b=42 \cdot 5^b - 1 = 7 \implies 2 \cdot 5^b = 8 \implies 5^b = 4. No solution. If b=0b=0, 215a=7    5a=52 \cdot 1 - 5^a = 7 \implies 5^a = -5. No solution. No solutions for p=5p=5.

Subcase 1.4: p=7p=7. The equation becomes 27b7a=72 \cdot 7^b - 7^a = 7. Divide by 7: 27b17a1=12 \cdot 7^{b-1} - 7^{a-1} = 1. For this equation to hold, either a1=0a-1=0 or b1=0b-1=0, or both are greater than 0. If a1=0    a=1a-1=0 \implies a=1: 27b170=1    27b11=1    27b1=2    7b1=1=702 \cdot 7^{b-1} - 7^0 = 1 \implies 2 \cdot 7^{b-1} - 1 = 1 \implies 2 \cdot 7^{b-1} = 2 \implies 7^{b-1} = 1 = 7^0. This gives b1=0    b=1b-1=0 \implies b=1. So, p=7,a=1,b=1p=7, a=1, b=1. A=x+2=pb=71=7    x=5A = x+2 = p^b = 7^1 = 7 \implies x=5. B=2x3=pa=71=7B = 2x-3 = p^a = 7^1 = 7. Check: (2x3)(x+2)=(7)(7)=49=72(2x-3)(x+2) = (7)(7) = 49 = 7^2. This is a positive integral power of a positive prime (7). So x=5x=5 is a solution.

If b1=0    b=1b-1=0 \implies b=1: 2707a1=1    27a1=1    7a1=1=702 \cdot 7^0 - 7^{a-1} = 1 \implies 2 - 7^{a-1} = 1 \implies 7^{a-1} = 1 = 7^0. This gives a1=0    a=1a-1=0 \implies a=1. This leads to the same solution x=5x=5.

If a1>0a-1 > 0 and b1>0b-1 > 0: 7a1(27ba1)=17^{a-1}(2 \cdot 7^{b-a} - 1) = 1 (assuming aba \le b) or 7b1(27ab)=17^{b-1}(2 - 7^{a-b}) = 1 (assuming b<ab < a). For the product to be 1, both factors must be 1. 7a1=1    a1=0    a=17^{a-1}=1 \implies a-1=0 \implies a=1. 27ba1=1    27ba=2    7ba=1    ba=0    b=a2 \cdot 7^{b-a} - 1 = 1 \implies 2 \cdot 7^{b-a} = 2 \implies 7^{b-a} = 1 \implies b-a=0 \implies b=a. This again leads to a=b=1a=b=1. Thus, for p=7p=7, the only solution is x=5x=5.

Subcase 1.5: For p>7p > 7. The equation is 2pbpa=72p^b - p^a = 7. If a=0a=0, 2pb1=7    2pb=8    pb=42p^b - 1 = 7 \implies 2p^b = 8 \implies p^b = 4. Since pp is a prime, pp must be 2. But we assumed p>7p>7. No solutions. If b=0b=0, 2pa=7    pa=52 - p^a = 7 \implies p^a = -5. No solution. If a1a \ge 1 and b1b \ge 1: If a=ba=b, 2papa=7    pa=72p^a - p^a = 7 \implies p^a = 7. This means p=7p=7 and a=1a=1, which we already found (x=5x=5). If a<ba < b, pa(2pba1)=7p^a(2p^{b-a} - 1) = 7. Since pp is prime, pap^a must be 1 or 7. If pa=1p^a=1, then a=0a=0, which we already covered. If pa=7p^a=7, then p=7p=7 and a=1a=1, which we already found. If a>ba > b, pb(2pab)=7p^b(2 - p^{a-b}) = 7. Since pp is prime, pbp^b must be 1 or 7. If pb=1p^b=1, then b=0b=0, which we already covered. If pb=7p^b=7, then p=7p=7 and b=1b=1, which we already found. So, there are no new solutions for p>7p>7 when A,B>0A, B > 0.

Case 2: Both factors AA and BB are negative. This implies x+2<0    x<2x+2 < 0 \implies x < -2 and 2x3<0    x<3/22x-3 < 0 \implies x < 3/2. So, for integer xx, we must have x3x \le -3. Let A=pbA = -p^b and B=paB = -p^a for some non-negative integers a,ba, b. The equation 2AB=72A - B = 7 becomes 2(pb)(pa)=7    2pb+pa=7    pa2pb=72(-p^b) - (-p^a) = 7 \implies -2p^b + p^a = 7 \implies p^a - 2p^b = 7.

Subcase 2.1: p=2p=2. 2a22b=7    2a2b+1=72^a - 2 \cdot 2^b = 7 \implies 2^a - 2^{b+1} = 7. If b=0b=0, 2a2=7    2a=92^a - 2 = 7 \implies 2^a = 9. No integer aa. If b=1b=1, 2a4=7    2a=112^a - 4 = 7 \implies 2^a = 11. No integer aa. If b=2b=2, 2a8=7    2a=152^a - 8 = 7 \implies 2^a = 15. No integer aa. If b=3b=3, 2a16=7    2a=232^a - 16 = 7 \implies 2^a = 23. No integer aa. In general, 2a2b+1=72^a - 2^{b+1} = 7. Since 2a2^a and 2b+12^{b+1} are powers of 2, their difference can only be 7 if one of them is small. If a=0a=0, 12b+1=7    2b+1=61 - 2^{b+1} = 7 \implies 2^{b+1} = -6. No solution. If a=1a=1, 22b+1=7    2b+1=52 - 2^{b+1} = 7 \implies 2^{b+1} = -5. No solution. If a=2a=2, 42b+1=7    2b+1=34 - 2^{b+1} = 7 \implies 2^{b+1} = -3. No solution. If a=3a=3, 82b+1=7    2b+1=1    b+1=0    b=18 - 2^{b+1} = 7 \implies 2^{b+1} = 1 \implies b+1=0 \implies b=-1. Not a non-negative integer. If a1a \ge 1: 2b+1(2a(b+1)1)=72^{b+1}(2^{a-(b+1)} - 1) = 7 (assuming a>b+1a > b+1) or 2a(12b+1a)=72^a(1 - 2^{b+1-a}) = 7 (assuming a<b+1a < b+1). If a>b+1a > b+1: 2b+12^{b+1} must be 1, so b+1=0    b=1b+1=0 \implies b=-1. Not allowed. If a<b+1a < b+1: 2a2^a must be 1, so a=0a=0. Not allowed. No solutions for p=2p=2 in this case.

Subcase 2.2: p=3p=3. 3a23b=73^a - 2 \cdot 3^b = 7. If b=0b=0, 3a2=7    3a=9=323^a - 2 = 7 \implies 3^a = 9 = 3^2. This gives a=2a=2. So, p=3,a=2,b=0p=3, a=2, b=0. A=x+2=pb=30=1    x=3A = x+2 = -p^b = -3^0 = -1 \implies x=-3. B=2x3=pa=32=9B = 2x-3 = -p^a = -3^2 = -9. Check: (2x3)(x+2)=(9)(1)=9=32(2x-3)(x+2) = (-9)(-1) = 9 = 3^2. This is a positive integral power of a positive prime (3). So x=3x=-3 is a solution.

If b1b \ge 1: 3b(3ab2)=73^b(3^{a-b} - 2) = 7. Since 77 is prime, 3b3^b must be 1. So b=0b=0, which we already covered. No new solutions for p=3p=3.

Subcase 2.3: For p>3p > 3. The equation is pa2pb=7p^a - 2p^b = 7. If b=0b=0, pa2=7    pa=9p^a - 2 = 7 \implies p^a = 9. This implies p=3p=3 and a=2a=2, which we already found (x=3x=-3). But we assumed p>3p>3. No solutions. If a=0a=0, 12pb=7    2pb=6    pb=31 - 2p^b = 7 \implies 2p^b = -6 \implies p^b = -3. No solution. If a=ba=b, pa2pa=7    pa=7    pa=7p^a - 2p^a = 7 \implies -p^a = 7 \implies p^a = -7. No solution. If a>ba > b: pb(pab2)=7p^b(p^{a-b} - 2) = 7. pbp^b must be 1 or 7. If pb=1p^b=1, then b=0b=0, which we already covered. If pb=7p^b=7, then p=7p=7 and b=1b=1. Then pab2=1    7a1=3p^{a-b} - 2 = 1 \implies 7^{a-1} = 3. No integer aa. If a<ba < b: pa(12pba)=7p^a(1 - 2p^{b-a}) = 7. pap^a must be 1 or 7. If pa=1p^a=1, then a=0a=0, which we already covered. If pa=7p^a=7, then p=7p=7 and a=1a=1. Then 12pba=1    2pba=01 - 2p^{b-a} = 1 \implies 2p^{b-a} = 0. No solution. No new solutions for p>3p>3 in this case.

Combining all solutions for xx: From Case 1 (positive factors): x=2x=2 and x=5x=5. From Case 2 (negative factors): x=3x=-3.

The integral values of xx are 3,2,5-3, 2, 5. The number of integral values of xx is 3.

The final answer is 3\boxed{3}.