Forgot password?
 Create new account
View 152|Reply 1

[不等式] Cantor配对函数

[Copy link]

3151

Threads

8501

Posts

610K

Credits

Credits
66236
QQ

Show all posts

hbghlyj Posted at 2023-4-22 17:53:34 |Read mode
如何证明WikipediaMathWorld的两个表达式
$$w=\left[\sqrt{8 z +1} -1\over2\right]$$与$$w=\left[\sqrt{2z} -\frac12\right]$$
对$z$为整数的值相同

1

Threads

104

Posts

1771

Credits

Credits
1771

Show all posts

Aluminiumor Posted at 2024-7-28 10:55:34
原文应该是向下取整的 $\lfloor\quad\rfloor$

$$m=\left\lfloor\frac{\sqrt{8z+1}-1}{2}\right\rfloor,n=\left\lfloor\frac{\sqrt{8z}-1}{2}\right\rfloor$$

$$\frac{\sqrt{8z+1}-1}{2}-1<m\leq\frac{\sqrt{8z+1}-1}{2}$$
$$\Longrightarrow m^2+m<2z<m^2+3m+2$$
同理可知
$$n^2+n+\frac14<2z<n^2+3n+\frac94$$
又 $m,n\in\mathbb{N}$
若 $n>m \Longleftrightarrow n\geq m+1$ 则
$$2z>(m+1)^2+(m+1)+\dfrac14>m^2+3m+2>2z$$
矛盾.
若 $n<m \Longleftrightarrow n\leq m-1$ 则
$$2z<(m-1)^2+3(m-1)+\dfrac94<m^2+m+1\leq2z$$
矛盾.
故 $m=n$.

手机版Mobile version|Leisure Math Forum

2025-4-22 18:51 GMT+8

Powered by Discuz!

× Quick Reply To Top Return to the list