Note on derivative of x power n