please help to solve this question . i know the answer but not getting the solutions

Given an integer N, consider the set {ﬂoor(N/1), ﬂoor(N/2), ﬂoor(N/3), …, ﬂoor(N/N)}, where ﬂoor(x) is the greatest integer less than or equal to x. You need to ﬁnd the number of distinct integers in this set. For example, suppose N is 5. Then, the set is {ﬂoor(5/1), ﬂoor(5/2), ﬂoor(5/3), ﬂoor(5/4), ﬂoor(5/5)}={ﬂoor(5), ﬂoor(2.5), ﬂoor(1.666…), ﬂoor(1.25), ﬂoor(1)} = {5,2,1,1,1}. There are 3 distinct elements in this set (1,2,5), and so the answer for this would be 3. Find the number of distinct integers in the set {ﬂoor(N/1),…,ﬂoor(N/N)} for the following values of N:

(a) N = 38 (b) N = 146 © N = 2808

last question of zonal informatics olympaid 2020