Find all positive integers a and b

In summary, the purpose of finding all positive integers a and b is to identify all possible solutions to a given mathematical problem or equation. This can be done using various methods such as trial and error, algebraic manipulation, or mathematical algorithms. There can be multiple solutions and real-world applications of this, including cryptography, computer programming, and number theory. However, there may be limitations such as too many solutions or methods not being applicable to certain problems.
  • #1
anemone
Gold Member
MHB
POTW Director
3,883
115
Find all positive integers $a$ and $b$ such that $a(a+2)(a+8)=3^b$.
 
Mathematics news on Phys.org
  • #2
My solution (attempt):

\[(*). \;\;\;\;a(a+2)(a+8)=3^b, \: \: \: \: a,b \in \mathbb{N}\]

One obvious solution pops up for the pair: $(a,b) = (1,3)$.

(*) requires each of the three factors on the LHS to be divisible by 3:

\[(1). \;\;\;a\equiv 0\: \: \: (mod \: \: 3)\\\\ (2). \;\;\; a+2\equiv 0\: \: \: (mod \: \: 3)\\\\ (3).\; \;\; a+8\equiv 0\: \: \: (mod \: \: 3)\]

$(1)$ implies that $a = n\cdot 3$, $n \in \mathbb{N}$. This immediately excludes $(2)$ and $(3)$ for all $n$.

Hence, $a = 1$ and $b = 3$ is the only solution.
 
  • #3
all of a , a + 2 and a + 8 have to be power of 3( power 0 included)

a cannot pe power of 3 >= 1 or >= $3^1$ then a+ 2 and a+ 8 are not dvisible by 3

so check a = $3^0$ = 1

that give a + 2 = 3 and a + 8 = 9 both power of 3

so we get $a(a+2)(a+ 8) = 3^ 3$

so a = 1 and b= 3 is the only solution
 
  • #4
My mistake. I'm sorry. Thankyou kaliprasad for your correction!

\[(*). \;\;\;\;a(a+2)(a+8)=3^b, \: \: \: \: a,b \in \mathbb{N}\]

One obvious solution pops up for the pair: $(a,b) = (1,3)$.

(*) requires each of the three factors on the LHS to be powers in 3:

$a = 3^n$, $n \in \mathbb{N}$. This immediately excludes $a+2$ and $a+8$ for all $n$.

Hence, $a = 1$ and $b = 3$ is the only solution.
 
  • #5


After analyzing the equation, it is clear that $a$ must be a multiple of $3$ in order for the left side to be divisible by $3$. Additionally, $a+2$ and $a+8$ must also be multiples of $3$ in order for the entire equation to be divisible by $3$. This means that $a$ must be of the form $3k$, where $k$ is a positive integer.

Substituting $a=3k$ into the equation, we get $(3k)(3k+2)(3k+8)=3^b$. Simplifying, we get $27k^3+54k^2+48k=3^b$. Dividing both sides by $3$, we get $9k^3+18k^2+16k=3^{b-1}$. This shows that $3$ must be a factor of $b-1$, which means that $b$ must be of the form $3m+1$, where $m$ is a positive integer.

Substituting $b=3m+1$ into the equation, we get $9k^3+18k^2+16k=3^{3m}$. This can be rewritten as $3(3k^3+6k^2+5k)=3^{3m}$. Since $3$ is a prime number, this means that $3k^3+6k^2+5k=3^{3m-1}$. This shows that $3$ must also be a factor of $3m-1$, which means that $m$ must be of the form $3n+1$, where $n$ is a positive integer.

Substituting $m=3n+1$ into the equation, we get $3k^3+6k^2+5k=3^{3(3n+1)-1}=3^{9n+2}$. Simplifying, we get $k(3k+2)(k+1)=3^{9n+2}$. This means that $k$ must be of the form $3p$, where $p$ is a positive integer.

Substituting $k=3p$ into the equation, we get $3^9p(3p+2)(p+1)=3^{9n+2
 

FAQ: Find all positive integers a and b

What is the purpose of finding all positive integers a and b?

The purpose of finding all positive integers a and b is to identify all possible solutions to a given mathematical problem or equation. It allows us to explore different combinations of positive integers and determine which ones satisfy the given conditions.

How do you find all positive integers a and b?

To find all positive integers a and b, you can use a variety of methods such as trial and error, algebraic manipulation, or mathematical algorithms. The specific approach will depend on the problem at hand.

Can there be more than one solution when finding all positive integers a and b?

Yes, there can be multiple solutions when finding all positive integers a and b. In fact, there can be an infinite number of solutions in some cases, while in others there may only be a few.

What are some real-world applications of finding all positive integers a and b?

Some real-world applications of finding all positive integers a and b include cryptography, computer programming, and number theory in mathematics. It can also be used in engineering and scientific research to solve complex problems.

Are there any limitations when finding all positive integers a and b?

There can be limitations when finding all positive integers a and b, depending on the specific problem and the methods used. For example, some problems may have too many possible solutions to find them all, or the solutions may be too large to calculate accurately. Additionally, some methods may not be applicable to certain types of problems.

Similar threads

Replies
1
Views
878
Replies
2
Views
1K
Replies
1
Views
943
Replies
4
Views
980
Replies
1
Views
980
Back
Top