Assume that 19 does not divide the product a1a2⋯a9. This means that a1,a2,…,a9 are relatively prime with 19. Using Fermat,
a118≡a218≡⋯≡a918≡1(mod19).
But ai18≡1(mod19) is equivalent to (ai9−1)(ai9+1)≡0(mod19). Since 19 is a prime number, this implies that ai9≡±1(mod19), for i=1,…,9, and therefore a19+a29+⋯+a99≡±k(mod19) for some odd number k between 1 and 9. This is a contradiction. Thus 19 divides the product a1a2⋯a9.