Find the sum of all positive integers $$a=2^n3^m$$ where $$n$$ and $$m$$ are non-negative integers, for which $$a^6$$ is not a divisor of $$6^a$$.

(第二十届AIME2 2002 第5题)