Community mocks

Sed (CoderLovesEggs) Paper 2 with Solutions · Q11

Paper 2Logic & proofNumber & counting

A student attempts to prove the statement

For all primes p>3p>3, p3−3p2p^3-3p^2 has at least 12 factors.

Their proof is as follows.

  • (I) p3−3p2=p2(p−3)p^3-3p^2=p^2(p-3).
  • (II) As p>3p>3, pp is odd, therefore p−3=2ap-3=2a for some integer a≠0a\ne0, therefore p2(p−3)=p2⋅2⋅ap^2(p-3)=p^2\cdot2\cdot a.
  • (III) If a=pa=p, then p=−3p=-3 which is impossible, so a≠pa\ne p.
  • (IV) If NN has prime factorisation p1a1⋅p2a2⋯pnanp_1^{a_1}\cdot p_2^{a_2}\cdots p_n^{a_n}, then each factor of NN has the form p1b1⋅p2b2⋯pnbnp_1^{b_1}\cdot p_2^{b_2}\cdots p_n^{b_n}, where 0≤bi≤ai0\le b_i\le a_i (for 1≤i≤n1\le i\le n).
  • (V) If aa is prime, then p2⋅21⋅a1p^2\cdot2^1\cdot a^1 has (2+1)(1+1)(1+1)=12(2+1)(1+1)(1+1)=12 factors.
  • (VI) If aa is composite, then p2⋅21⋅a=p2⋅21⋅q1⋅bp^2\cdot2^1\cdot a=p^2\cdot2^1\cdot q^1\cdot b for some prime qq and integer b>1b>1, which has more than 12 factors.

Which of the following best describes the proof?

AThe proof is completely correct.
BThe first error occurs at line (I).
CThe first error occurs at line (II).
DThe first error occurs at line (III).
EThe first error occurs at line (IV).
FThe first error occurs at line (V).
GThe first error occurs at line (VI).

Read the questions freely. Sign in to check your answer, see the worked solution and save your progress.