# Intervals

Consider a row of tiles, numbered from 1 to 10 000.

By an interval we mean one or more consecutive tiles. For instance, there are precisely 6001 intervals of length 4000.

The $$1729^\text{th}$$ tile is marked with a red cross.

How many intervals are there that contain the tile with the cross?

×