Sequences with Nontrivial Sums: Algebra Meets Magic