root of unity modulo n