A=3n(n^2+674)
TH1: n=3k
=>A=3*3k(n^2+674)=9k(n^2+674) chia hết cho 9
TH2: n=3k+1
=>A=3(3k+1)(9k^2+6k+1+674)
=3(3k+1)(9k^2+6k+675)
=9(3k+1)(3k^2+2k+225) chia hết cho 9
TH3: n=3k+2
=>A=3(3k+2)(9k^2+12k+4+674)
=3(3k+2)(9k^2+12k+678)
=9(3k+2)(3k^2+4k+226) chia hết cho 9