Periodicity and a problem of powers a p-adic perspective