Determine the number of different ways the given composite number 40 can be written...
Check the final answer first, then review the worked steps.
Check the final answer first, then review the worked steps.
Primes $p < 20$: 3, 7, 11, 13, 17, 19.
$40-3=37$ (prime)
$40-7=33$ (composite)
$40-11=29$ (prime)
$40-13=27$ (composite)
$40-17=23$ (prime)
$40-19=21$ (composite)
To find the number of ways to write 40 as a sum of two primes $p_1 + p_2 = 40$ with $p_1 \le p_2$, we test primes $p_1 \le 20$: $3+37=40$, $11+29=40$, $17+23=40$.