6-digit number that does not contain 0, the number of each digit is different, any 3 adjacent three-digit numbers are multiples of 3, how many such 6-digit numbers are there?
一个不含有0的6位数，各个数位的数字各不相同，任意3个相邻的三位数都是3的倍数，这样的6位数有多少个．
<gadget id="calculator">3 * 3 * 3</gadget>
<output>27</output>

<gadget id="calculator">2 * 2 * 2</gadget>
<output>8</output>

<gadget id="calculator">6 * 27 * 8</gadget>
<output>1_296</output>

<result>1_296</result>