shmoe
Science Advisor
Homework Helper
- 1,971
- 2
shmoe said:If not, it may have been easier to proceed in a slightly different way. The elements of S less than p/2 are exactly the even integers less than p/2. You can count these directly, right?
By this I mean prove a statement in general.
Given a positive real number x, in terms of the floor function can you answer:
1) how many positive integers are less than or equal to x? (<= this is a warm up)
2) how many even positive integers are less than or equal to x?
If you can do this, then you can count the even integers in S that are less than or equal to p/2. Then you can count how many are larger than p/2.