Skip to content

Lesson 3 of 5 · Floor and Fractional Part

Floor Counting: Count the Blocks

Inequalities and Modulus · for IPMAT Indore, IPMAT Rohtak and JIPMAT

Video lesson: Floor Counting: Count the Blocks

Sign in to watch · 4 min video

The exam method

  1. Blocks. [k][\sqrt{k}] is constant on j2≤k<(j+1)2j^2\le k<(j+1)^2; [k/m][k/m] on runs of length mm.

Formulas you need

Blocks of floor of k over m

[km]=j for mj≤k≤mj+m−1\left[\tfrac{k}{m}\right]=j\ \text{for}\ mj\le k\le mj+m-1

Each value appears m times; the first block (value 0) contributes nothing.

Watch out

  • The last block of a floor sum treated as complete.

How Floor and Fractional Part is asked

  • sum of solutions of [x] + {x} relation
  • count solutions
  • 2[x] = x + n{x}: sum of solutions (Indore 2023 Q27)
  • [x]^2 - 5[x] + 6 < 0 -> range of x
  • sum of [sqrt k] for k = 1..n

Picked from the Floor and Fractional Part note for this micro-concept automatically. The whole note: Floor and Fractional Part.

Practise this free. Every mistake is saved and comes back until you fix it.

Start free