Problem

Source: Czech-Polish-Slovak Junior Match 2024, T-4

Tags: number theory, number theory proposed, Divisibility, floor function



How many positive integers $n<2024$ are divisible by $\lfloor \sqrt{n}\rfloor-1$?