Use the numbers 0-6 to form a seven-digit number that is divisible by 3 and whose digits are different from each other. How many such seven-digit numbers are there?
用数字0-6组成能被3整除且各位数字互不相同的七位数，这样的七位数一共有多少个？
<gadget id="calculator">6 * 6 * 5 * 4 * 3 * 2 * 1</gadget>
<output>4_320</output>

<result>4_320</result>