Olympiad problem: hurry ~ ~ ~ Choose three numbers from the nine numbers from 1 to 9 so that their sum can be divisible by three. How many kinds of calligraphy are there?

first, divide 1~9 into three kinds of numbers: the first kind of numbers is 147, the second kind is 258, and the third kind is 369, so their sums are divisible by 3: all are the first kind of numbers, one kind is all the second kind of numbers, one kind is all the third kind of numbers, and one kind is taken from each of the three kinds of numbers, so there is 3 *. Thank you.

The total is: the first category number is used 1+3*3=1 times, the second category number is used 1+3*3=1 times, and the third category number is used 1+3*3=1 times, so the total is = (1+2+3+4+5+6+7+8+.