For divisibility by 7, 11, or 13, group digits in triplets from right to left and find the alternating difference.
Groups for 788973289: 289, 973, 788.
Alternating difference = (289 + 788) − 973 = 1077 − 973 = 104.
Since 104 is perfectly divisible by 13 (13 × 8 = 104) and not by 7, the number is divisible by 13.
So, the correct answer is 13.