View Single Post
Old 2006-05-29, 17:03   #2
alpertron
 
alpertron's Avatar
 
Aug 2002
Buenos Aires, Argentina

22×3×112 Posts
Default

49k+7m+n = 81n+9m+k

48k-2m-80n = 0
24k-m-40n = 0

1<=k<=6
0<=m<=6
1<=n<=6

m must be multiple of gcd(24,40) = 8, so m=0

m = 0 -> 24k-40m = 0 -> k=5, n=3

So the number in base 7 is 503 (248 decimal), which is equal to 305 in base 9.

Last fiddled with by alpertron on 2006-05-29 at 17:04 Reason: Missing spoiler tags
alpertron is offline   Reply With Quote