cycle polynomial