## ABSTRACT

This chapter provides a starting point for using R for discrete mathematical ideas. The chapter is divided into three independent sections. Throughout the chapter we provide examples of combinatorics, number theory, set theory, and graph theory. We construct the first dozen iterations of the Cantor set and estimate a random graph question with a simulation. The packages numbers, sets, eulerr, and igraph are highlighted in this chapter.