Discrete mathematics in statistical physics : introductory lectures (2010)