Each of A and B is a tridecimal (base 13) positive integer, where A is formed by writing the digit 4 precisely 666 times and, B is formed by writing the digit 6 precisely 666 times.

Determine the distinct digits that appear in the tridecimal representation of the product A*B.

Note: For an extra challenge, solve this problem using only pencil and paper.