8/29/2011

f(N) counts number of '1'. For example f(13) = 6. So f(1)=1. What next number do satisfy the rule?



f(N) counts number of '1'. For example f(13) = 6. So f(1)=1. What next number do satisfy the rule?


---------------------------------------------------


μ–‘μˆ˜ n에 λŒ€ν•΄μ„œ 1κ³Ό n 사이에 1이 λ‚˜μ˜€λŠ” 횟수λ₯Ό λ‚˜νƒ€λ‚΄λŠ” ν•¨μˆ˜λ₯Ό f(n)이라고 ν•œλ‹€. 예λ₯Ό λ“€μ–΄ f(13)=6이닀. f(n)=n이 λ˜λŠ” 첫번째 μ–‘μˆ˜λŠ” 1이닀. λ‘λ²ˆμ§Έ μ–‘μˆ˜λŠ” 무엇인가?