2023 Euclid · Question 10
Problem outline
Let be the greatest integer at most . (a) Find . (b) Give a polynomial with for all integers . (c) Define for positive integers . Show that if is positive and odd and , then is prime.
Show answer and methods 1 methods
Answer
(a) . (b) . (c) is prime.
Method 1 Group equal floor values and count jumps
(a) Each integer from to occurs three times among the floors. The endpoint contributes , and the initial zeros contribute nothing. The sum is .
(b) Write , , and include the zero term at . From through there are complete blocks of three with values , followed by copies of . The sum is .
Expanding gives , which exceeds by for and equals for . Its floor is always .
(c) For the th summand of is zero. Every summand is nondecreasing in . Its value increases from to if the interval contains a positive integer . Multiplying through, the criterion is .
If , the difference is . Otherwise suppose the odd is composite. Write with . At , choose to obtain . At , choose , obtaining . At , take , obtaining . All three numbers are in . Thus three distinct terms increase, so the difference is at least . This excludes every nonprime odd .
Source and attribution
The outline and worked methods on this page were prepared for DR.WANG Mathematics.
Original question (external)