I'm new to relations in discrete mathematics and I am having a hard time understanding how to do this exercise.
Let $R$ be a binary relation on the set of integers such that $(a,b) \in R$ if and only if $b-a=1$. What is the composite relation $R \circ R$?
The composite relation $R \circ R$ consists of those pairs $(a,c)$ such that there is a $b$ where $(a,b)$ and $(b,c)$ are both members of $R$. Suppose I give you a number $a$. How many pairs $(a,b) \in R?$