Solution:
1997a+15b=2012c⇒1+(−1)b≡0(mod4), so b is an odd number.
1997a+15b=2012c⇒1+0≡2c(mod3), so c is even, say c=2c1.
We intend to consider the given equation modulo 8 and for this reason we discern two cases:
(1): c=1. Clearly then a=b=1 and a=b=c=1 is a solution. This is actually the only solution of the given equation since in the remaining case where c>1 it will be shown that there exist no solution.
(2): c>1. Then 2012c=(4⋅503)c is a multiple of 8 and
1997a+15b=2012c⇒5a+(−1)b≡5a+(−1)≡0(mod8), so a is even, say a=2a1. Hence
3b⋅5b=15b=2012c−1997a=(2012c1−1997a1)⋅(2012c1+1997a1)
Observe that 2012c1−1997a1, 2012c1+1997a1 are both greater than 1 and prime to each other as gcd(2012c1−1997a1,2012c1+1997a1)=gcd(2012c1−1997a1,2⋅1997a1)=1. So there exist two cases:
Case 1:2012c1−1997a1=5b2012c1+1997a1=3b,Case 2:2012c1−1997a1=3b2012c1+1997a1=5b
Case 1:
2012c1−1997a1=5b⇒2c1−2a1≡0(mod5)⇒c1≡a1(mod5)2012c1+1997a1=3b⇒2c1+2a1≡0(mod5)⇒c1≡a1+1(mod5)
a contradiction.
Case 2:
2012c1−1997a1=3b2012c1+1997a1=5b
Since b is an odd number we get 2012c1+1997a1≡5b(mod3)⇒2c1+2a1≡5b≡2(mod3) so a1,c1 are even numbers, say a1=2a2,c1=2c2. Then
(2012c2−1997a2)⋅(2012c2+1997a2)=3b
But gcd(2012c2−1997a2,2012c2+1997a2)=1 and the above implies 2012c2−1997a2=1. But then mod 4, we get 0−1≡3(mod4), a contradiction.
Therefore there exists no solution for c>1.
Hence a=b=c=1 is the only solution.