Pow #2 locker vandalism
Long ago,Aptos wasn’t the nice,friendly school as we know of today.One day,these wicked adolescents decided to play a trick on the principal.They decided to vandalize the school’s 1,000 lockers by opening and closing them one after another.They had a love of mathematics,so they devised a plan to open and close the lockers in a systematic pattern.
Here was their plan:the lockers were numbered 1-1,000.The first student would start with locker #1 to open every locker.The second student would then go to locker #2 and close every other locker all the way to locker #1,000.The third student would then take her turn.Starting with locker #3,she would change the position of the door to every third locker all the way to #1,000.That is,if the door were open,she’d close it,and if it were closed,she’d open it.Then the fourth student could go to locker #4,change its position,and change its position,and change its position of every fourth locker through #1,000.This pattern continued until all 1,000 students had taken a turn.
When they finished,they looked over what they had done,hoping to see utter chaos… But they were shocked!
What did they see?
Which lockers were open and which lockers were closed?
人气:236 ℃ 时间:2019-10-19 06:44:29
解答
最后打开的锁为平方数:1,4,9,16,25 ,.
关闭的锁为其他锁
因为完全平方数的因子个数为奇数,相当于奇数次打开,最后为打开的状态
而非完全平方数的因子个数为偶数,相当于偶数次打开,最后为关闭的状态
推荐
猜你喜欢
- 急!如图算式中,每个汉字代表一个数字,不同的汉字代表不同的数字,已知“神”=3,那么被乘数是
- 已知M={(x,y)|x^2+2x+y^2=0},N={(x,y)| y=X+a},且M与N有公共点,求a取值范围
- near同义词
- EXCEL中 累计数 计算公式如何编写?
- be to blame 和only have yourself to blame 常用吗
- These books are very expensive.改为感叹句 ____ ___ ___ they are!
- 欧姆表中若表针指在两刻线中间怎么读数
- 如图,已知抛物线x^2-ax+a+2与x轴交于A,B两点,与y轴交于点D(0,8),直线CD平行于x轴,叫抛物线与另一点C,动点P以每秒2个单位长度的速度从C出发,沿C到D运动,同时,点Q以每秒1个单位长度的速度从点A出发,沿A到B运动.