#Discrete mathematics, number of solutions.
21 messages · Page 1 of 1 (latest)
Let $x=n+k$ where $n$ is an integer and $0 \leq k<1$
Civil Service Pigeon
You can find $\lfloor x \rfloor$ and ${x}$ in terms of $n$ and $k$
Civil Service Pigeon
As a further hint, find ||the range of the left hand side for [n, n+1)||
writing $x=n+k$. I was able to find that $$n<(n+k)nk+n+k\le n(n+1)n+n+1=n^2+2n+1$$
Estbs
It should be [n,(n+1)^2) but yeah
$n\le a\le (n+1)^2$
Estbs
I can't understand how I could continue from here 😦
Hint: two cases, a is or isn’t an integer
It light help to consider (kind of large) a so that the ideas become more obvious
Also (n+1)^2 is excluded since it’s achieved at n+1
ðŸ˜
why if $n$ satisfaces $n\leq a \le (n+1)^2$ then there exist a $k$ such that $x=n+k$?
Estbs
k isn't 1
the answer is $2(floor(a)-floor(\sqrt(a)-1))$?
Estbs