Show that all perfect numbers end in 6 or 8.