計算機編程題 - 找最小偶數位對稱平方數

本帖於 2010-10-22 17:24:19 時間, 由超管 論壇管理 編輯

對稱數是指12321之類的、顛倒書寫順序仍不變的自然數。對稱平方數是指它是對稱數同時還是某個自然數的平方。有人證實698896是最小偶數位對稱平方數(=836^2)。請各位高手編一程序,找出另外兩個最小偶數位對稱平方數。

所有跟帖: 

forget 1^2=1, 2^2=4.11^2=121,22^2=484.they are smallest.Why did -jinjing- 給 jinjing 發送悄悄話 (0 bytes) () 10/12/2010 postreply 16:15:30

偶數位。 -皆兄弟也- 給 皆兄弟也 發送悄悄話 皆兄弟也 的博客首頁 (0 bytes) () 10/12/2010 postreply 20:20:16

Thanks. I'm too old to be fast and right. -jinjing- 給 jinjing 發送悄悄話 (0 bytes) () 10/12/2010 postreply 20:59:11

I have proved that there is only 698896 in 6-digit number. -jinjing- 給 jinjing 發送悄悄話 (112 bytes) () 10/12/2010 postreply 20:56:19

回複:計算機編程題 - 找最小偶數位對稱平方數 -巡天劍客- 給 巡天劍客 發送悄悄話 (145 bytes) () 10/14/2010 postreply 04:49:41

A SAS solution -巡天劍客- 給 巡天劍客 發送悄悄話 (835 bytes) () 10/26/2010 postreply 05:19:44

請您先登陸,再發跟帖!