Skip to content

Is 1027 prime

Question

Decide whether 10271027 is prime. Answer 11 if it is prime and 00 if it is not.

Short answer

00 (not prime). 1027=103+331027=10^3+3^3, and a sum of cubes factors as (a+b)(a2−ab+b2)(a+b)(a^2-ab+b^2), giving 1027=13×791027=13\times79.

Adapted from QuantQuestions.io; question and answer rewritten by SelfMadeQuant.com.

See the hint and the full worked solution in the question bank (free account).

Open the worked solution