Let $a_n$, for $n$ a positive integer, be the $n$th smallest positive integer whose decimal (base-$10$) representation contains no occurrence of the same digit twice in a row. Find $a_{ 82^6}$.