How to find an integer solution to a nonlinear equation?

al4n
Messages
17
Reaction score
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
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?
 
The simplest approach is to find the prime factors of c.
 
  • Like
Likes   Reactions: AndreasC and fresh_42
The easiest way is to just set ##a=c## and ##n=1##.
 
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.
 
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
 
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

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