If the octal representation of a perfect square is ab3cab3cab3c (i.e., n2=n^{2}=n2= (ab3c)8=83a+82b+8⋅3+c(ab3c)_{8}=8^{3}a+8^{2}b+8 \cdot 3+c(ab3c)8=83a+82b+8⋅3+), where a≠0a \neq 0a=0, then ccc is:
(33rd AHSME, 1982)