the table of c for (s, m)