# Difference between revisions of "1994 AHSME Problems/Problem 28"

## Problem

In the $xy$-plane, how many lines whose $x$-intercept is a positive prime number and whose $y$-intercept is a positive integer pass through the point $(4,3)$?

$\textbf{(A)}\ 0 \qquad\textbf{(B)}\ 1 \qquad\textbf{(C)}\ 2 \qquad\textbf{(D)}\ 3 \qquad\textbf{(E)}\ 4$

## Solution

The line with $x$-intercept $a$ and $y$-intercept $b$ is given by the equation $\frac{x}{a} + \frac{y}{b} = 1$. We are told $(4,3)$ is on the line so

$$\frac{4}{a} + \frac{3}{b} = 1 \implies ab - 4b - 3a = 0 \implies (a-4)(b-3)=12$$

Since $a$ and $b$ are integers, this equation holds only if $(a-4)$ is a factor of $12$. The factors are $1, 2, 3, 4, 6, 12$ which means $a$ must be one of $5, 6, 7, 8, 10, 16$. The only members of this list which are prime are $a=5$ and $a=7$, so the number of solutions is $\boxed{\textbf{(C) } 2}$.