I'm wondering about the NP-completeness of a variation of the Subset-sub problem:
Subset-sum problem: Given a set of integers and an integer s, does any non-empty subset sum to s?
This problem is known to be in NP and be NP-complete. Now consider the variation:
Subset-sum problem (congruence variation): Given two integers s and m and a set of integers modulo m, does any non-empty subset sum to s mod m?
(i.e., all the numbers in the set are modulo m and the expected sum s is also in mod m).
I'm wondering if this problem has been studied before? (Would like to know if it is NP-complete or not). Does anyone know if there is any paper or similar variation of the Subset-sum problem? Thank you!