GLAT # 17.
While I do lack 7/3 of a life, I have enough of a life to know that trying to find a formula to solve this one is not worth it (although, In my combinatorial studies next year I will… [<–written next year]), so I just used another brute force program….
Consider a function for which f(n) returns the number of ones required to count from 1 to n. f(13)=6, notice that f(1)=1. Find the Next largest number that satisfies f(n)=n.
The program is comprised of a loop that iterates until it finds something, then it exits.
199981
Query took 7.47828507423 seconds.
The php source can be found here.
October 25th, 2004 at 2021:30
hey well that is interesting, very. f(199981) =199981? is that what that means
Greg: Correct.
October 26th, 2004 at 0843:46
i’m in school….i can’t find starbucks on firefox…you liar
October 26th, 2004 at 1832:49
Yeah, well I can find it in firefox…same version as you.