Discrete mathematics and its applications