24h購物| | PChome| 登入
與好友分享這篇文章

[UVA] 11332 - Summing Digits

Problem J: Summing DigitsFor a positive integer n, let f(n) denote the sum of the digitsof n when represented in base 10. It is easy to see that the sequence ofnumbers n, f(n), f(f(n)), f(f(f(n))), ... eventually becomes a single digitnumber that repeats forever. Let this singl...

新聞台: Morris' Blog | 台長:Morris
收件者E-mail:

請以分號區隔每個E-mail
例如:john@pchome.com.tw;mary@pchome.com.tw
信件標題:
與你分享這篇文章
訊息內容:
很精采的好文章!
如果你也喜歡,請轉寄給好友幫忙增加人氣吧!
您的名字:
Morris
TOP