fixed for powers of p
fixed for prime powers