How to find an integer solution to a nonlinear equation?

  • #1
al4n
17
0
given something like: an = c
where c is given and a, n, and c are only allowed to be integers. how would one find the value of say n or a?
 
Mathematics news on Phys.org
  • #2
What have you found so far in your searching? It would seem that if you limit the LHS to integers, there are only solutions for specific choices of c, no?
 
  • #3
The simplest approach is to find the prime factors of c.
 
  • Like
Likes AndreasC and fresh_42
  • #4
The easiest way is to just set ##a=c## and ##n=1##.
 
  • #5
jedishrfu said:
The simplest approach is to find the prime factors of c.
thank you. this is very helpful. so I could write something like
an = 1000
= 2353
then like
a = 23/n53/n
and find values of n that result in whole number exponents. in this case 3, 1.
 
  • #6
yes or you could look at ##a^n = 2^3 * 5^3 = (2 * 5)^3 ## and conclude a=10 and n=3

and of course the trivial case of a = 1000 and n=1
 
  • #7
This equation also has the property that there is an infinite number of solutions only when ##c=0## or ##c=\pm 1## (can you prove this formally with mathematical induction or by some other way?).
 

Similar threads

Back
Top