DR.WANG Mathematics中文

2023 Euclid · Question 10

Functions & graphs · Floor functions · sequences · Sequences and sums

Problem outline

Let ⌊x⌋\lfloor x\rfloor be the greatest integer at most xx. (a) Find ∑i=160⌊i/3⌋\sum_{i=1}^{60}\lfloor i/3\rfloor. (b) Give a polynomial pp with ⌊p(m)⌋=∑i=1m−1⌊i/3⌋\lfloor p(m)\rfloor=\sum_{i=1}^{m-1}\lfloor i/3\rfloor for all integers m>4m>4. (c) Define f(n)=∑k≥1⌊kn/(k2+1)⌋f(n)=\sum_{k\ge1}\lfloor kn/(k^2+1)\rfloor for positive integers nn. Show that if tt is positive and odd and f(t+1)−f(t)=2f(t+1)-f(t)=2, then tt is prime.

Show answer and methods 1 methods

Answer

(a) 590590. (b) p(x)=(x−1)(x−2)/6p(x)=(x-1)(x-2)/6. (c) tt is prime.

Method 1 Group equal floor values and count jumps

(a) Each integer from 11 to 1919 occurs three times among the floors. The endpoint contributes 2020, and the initial zeros contribute nothing. The sum is 3⋅19⋅20/2+20=5903\cdot19\cdot20/2+20=590.

(b) Write m=3u+rm=3u+r, r=0,1,2r=0,1,2, and include the zero term at i=0i=0. From i=0i=0 through m−1m-1 there are uu complete blocks of three with values 0,…,u−10,\ldots,u-1, followed by rr copies of uu. The sum is S=3u(u−1)/2+ruS=3u(u-1)/2+ru.

Expanding (m−1)(m−2)/6(m-1)(m-2)/6 gives S+(r−1)(r−2)/6S+(r-1)(r-2)/6, which exceeds SS by 1/31/3 for r=0r=0 and equals SS for r=1,2r=1,2. Its floor is always SS.

(c) For k≥nk\ge n the kkth summand of f(n)f(n) is zero. Every summand is nondecreasing in nn. Its value increases from tt to t+1t+1 if the interval (kt/(k2+1),k(t+1)/(k2+1)](kt/(k^2+1), k(t+1)/(k^2+1)] contains a positive integer jj. Multiplying through, the criterion is t<j(k+1/k)≤t+1t<j(k+1/k)\le t+1.

If t=1t=1, the difference is f(2)−f(1)=1f(2)-f(1)=1. Otherwise suppose the odd tt is composite. Write t=abt=ab with 1<b≤a<t1<b\le a<t. At k=1k=1, choose j=(t+1)/2j=(t+1)/2 to obtain t+1t+1. At k=ak=a, choose j=bj=b, obtaining t+b/at+b/a. At k=tk=t, take j=1j=1, obtaining t+1/tt+1/t. All three numbers are in (t,t+1](t,t+1]. Thus three distinct terms increase, so the difference is at least 33. This excludes every nonprime odd tt.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)