0%

Problem 653


Problem 653


Frictionless Tube

Consider a horizontal frictionless tube with length L millimetres, and a diameter of 20 millimetres. The east end of the tube is open, while the west end is sealed. The tube contains N marbles of diameter 20 millimetres at designated starting locations, each one initially moving either westward or eastward with common speed v.

Since there are marbles moving in opposite directions, there are bound to be some collisions. We assume that the collisions are perfectly elastic, so both marbles involved instantly change direction and continue with speed v away from the collision site. Similarly, if the west-most marble collides with the sealed end of the tube, it instantly changes direction and continues eastward at speed v. On the other hand, once a marble reaches the unsealed east end, it exits the tube and has no further interaction with the remaining marbles.

To obtain the starting positions and initial directions, we use the pseudo-random sequence rj defined by:
r1=6 563 116
rj+1=rj2mod32 745 673
The west-most marble is initially positioned with a gap of (r1mod1000)+1 millimetres between it and the sealed end of the tube, measured from the west-most point of the surface of the marble. Then, for 2jN, counting from the west, the gap between the (j1)th and jth marbles, as measured from their closest points, is given by (rjmod1000)+1 millimetres. Furthermore, the jth marble is initially moving eastward if rj10 000 000, and westward if rj>10 000 000.

For example, with N=3, the sequence specifies gaps of 117, 432, and 173 millimetres. The marbles’ centres are therefore 127, 579, and 772 millimetres from the sealed west end of the tube. The west-most marble initially moves eastward, while the other two initially move westward.

Under this setup, and with a five metre tube (L=5000), it turns out that the middle (second) marble travels 5519 millimetres before its centre reaches the east-most end of the tube.

Let d(L,N,j) be the distance in millimetres that the jth marble travels before its centre reaches the eastern end of the tube. So d(5000,3,2)=5519. You are also given that d(10 000,11,6)=11 780 and d(100 000,101,51)=114 101.

Find d(1 000 000 000,1 000 001,500 001).


无摩擦管道

现有一根长为L毫米、直径为20毫米、水平放置的无摩擦管道,其东侧末端开口,西侧末端封闭。管道中放有N颗直径为20毫米的弹珠,这些弹珠放在指定的起始位置,并以相同的速率v向东或向西运动。

由于这些弹珠朝着相反方向运动,因此必然会发生碰撞。我们假设这些碰撞是完全弹性的,也就是说,弹珠相撞后立即向反方向运动且保持速率v不变。类似地,向西运动的弹珠如果撞到西侧封闭的末端,也会立即向东运动且保持速率v不变。反之,如果弹珠抵达了东侧开口的末端,它会离开管道,不再需要考虑。

这些弹珠的起始位置和最初的运动方向由如下伪随机数列rj确定:
r1=6 563 116
rj+1=rj2mod32 745 673
最靠西的弹珠最初被摆在其表面上最西侧的点距离管道被封闭的西侧末端(r1mod1000)+1毫米的位置上。随后继续从西到东摆放弹珠,对于2jN,第(j1)颗和第j颗弹珠表面之间最接近的两点距离恰好是(rjmod1000)+1毫米。此外,如果rj10 000 000,则第j颗弹珠向东运动,反之如果rj>10 000 000则向西运动。

例如,若N=3,弹珠间的距离分别是117432173毫米,也就是说,这些弹珠的球心分别位于距离管道西侧末端127579772毫米处。最靠西侧的弹珠一开始向东运动,而另外两颗弹珠则向西运动。

在上述设定下,如果管道的长度为五米(L=5000),那么中间那颗(第二颗)弹珠在其球心从东侧开口末端离开管道前,一共运动了5519毫米的距离。

d(L,N,j)为第j颗弹珠在其球心从东侧开口末端离开管道前所运动的距离(以毫米计),因此d(5000,3,2)=5519。已知d(10 000,11,6)=11 780d(100 000,101,51)=114 101

d(1 000 000 000,1 000 001,500 001)


Gitalking ...