Computation of invariants of finite abelian groups (Mathematics of computation, 2016)