A positive integer nnn cannot be divided by 2 or 3, and there do not exist non-negative integers aaa and bbb such that ∣2a−3b∣=n\left|2^{a} - 3^{b}\right| = n. Find the smallest value of .