Question 139
Let $S$ be the set of ordered pairs of integers $(x, y)$ with $1 \leq x \leq 5$ and $1 \leq y \leq 3$. How many subsets $R$ of $S$ have the property that all the points of $R$ lie on the graph of a single cubic? A cubic is a polynomial of the form $y=a x^{3}+b x^{2}+c x+d$, where $a, b, c$, and $d$ are real numbers (meaning that $a$ is allowed to be 0 ).