Integer solution to exponential diophantine equation

  • Context: Graduate 
  • Thread starter Thread starter adoado
  • Start date Start date
  • Tags Tags
    Exponential Integer
Click For Summary
SUMMARY

The discussion centers on determining whether an integer C can be expressed in the form C = 2^A * 3^B, where A and B are integers. The solution involves checking the divisibility of C by 2 and 3, and if C contains any prime factors greater than 3, it cannot be expressed in the desired form. The method includes factorization of C and iterative division to find the values of A and B, concluding with a test to see if the remaining value of C equals one.

PREREQUISITES
  • Understanding of prime factorization
  • Basic knowledge of integer properties
  • Familiarity with iterative algorithms
  • Ability to perform modular arithmetic
NEXT STEPS
  • Study integer factorization techniques
  • Learn about modular arithmetic and its applications
  • Explore algorithms for prime factorization
  • Investigate computational methods for solving Diophantine equations
USEFUL FOR

Mathematicians, computer scientists, and anyone interested in number theory, particularly those working with Diophantine equations and integer factorization.

adoado
Messages
71
Reaction score
0
Hey everyone!

I was recently scribbling on paper, and after a series of ideas, I got stuck with a problem. That is, can I find out if there exists some integers A and B such that

[itex]C=2^{A}3^{B}[/itex]

For some integer C?

For an arbitrary C, how do I know whether some [itex]A, B \in \textbf{Z}[/itex] exist?

Cheers for reading!
Adrian
 
Physics news on Phys.org
Hi, Adrian,
it shouldn't be harder than testing if the number is divisible by 2 or by 3; and, in that case, if you are interested in the actual values of A and B, just divide and iterate. Unless you mean really big numbers.
 
Code:
Solving with a computer:

Factor C  givin a list of it's prime factors and their occurences;
if there i9s a factor > 3 then 'No, C is not of the required form'
else 'Yes, A and B are the number, the factor 2 (resp 3) occurs

Solving with paper and your head:

Set A and B to zero
Loop2:
If C is even replace C by C / 2 andd add 1 to A
   loop until C is odd
Loop3:
If C is multiple of 3 (add the digits modulo 3)
   replace C by C / 3 andd add 1 to B
   loop until C is not a multiple of 3
Test: it the remaining C is one, then 'Yes' else 'No'
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
9
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K