對稱數是指12321之類的、顛倒書寫順序仍不變的自然數。對稱平方數是指它是對稱數同時還是某個自然數的平方。有人證實698896是最小偶數位對稱平方數(=836^2)。請各位高手編一程序,找出另外兩個最小偶數位對稱平方數。
計算機編程題 - 找最小偶數位對稱平方數
所有跟帖:
• forget 1^2=1, 2^2=4.11^2=121,22^2=484.they are smallest.Why did -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- ♀ (0 bytes) () 10/12/2010 postreply 20:59:11
• I have proved that there is only 698896 in 6-digit number. -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