[GiNaC-list] using modulo and expanding