DR.WANG Mathematics中文

2025 STEP · Paper 2 · Question 4

Functions & graphs · Floor functions

Problem outline

Write ⌊x⌋\lfloor x\rfloor for the greatest integer at most xx. Prove the translation rule ⌊x+j⌋=⌊x⌋+j\lfloor x+j\rfloor=\lfloor x\rfloor+j for every integer jj. For a positive integer nn, set Fn(x)=∑j=0n−1⌊x+j/n⌋−⌊nx⌋F_n(x)=\sum_{j=0}^{n-1}\lfloor x+j/n\rfloor-\lfloor nx\rfloor. Prove that 1/n1/n is a period, evaluate FnF_n on [0,1/n)[0,1/n), and determine it on all of R\mathbb R. Deduce ⌊x/2⌋+⌊(x+1)/2⌋=⌊x⌋\lfloor x/2\rfloor+\lfloor(x+1)/2\rfloor=\lfloor x\rfloor. Simplify ∑k=0∞⌊(x+2k)/2k+1⌋\sum_{k=0}^\infty\lfloor(x+2^k)/2^{k+1}\rfloor for every real xx.

Show final result

Fn(x)=0F_n(x)=0 everywhere. The infinite sum is ⌊x⌋\lfloor x\rfloor for x≥0x\ge0 and ⌊x⌋+1\lfloor x\rfloor+1 for x<0x<0.

Source and attribution

The outline was prepared for DR.WANG Mathematics. The published solutions are credited above.

Original question (external)