# Math lesson

Author: mathforces
Problem has been solved: 41 times

Русский язык | English Language

At the math lesson, there are 2027 students. The teacher assigned each student a number from 0 to 2026 and asked them the following exercise: each student should calculate the sum of numbers from 0 zero to $k$, for each $k$ from 0 to 2026, and then find the remainder of dividing the resulting amount by 2027. If the remainder matches the student’s number, then he must write the number in his notebook. Determine how many students will not write a single number in their notebooks.