Consider a function which, for a given whole number n,
returns the number of ones required when writing out all
numbers between 0 and n. For example, f(13)=6. Notice that
f(1)=1. What is the next largest n such that f(n)=n?
Answers were Sorted based on User's Feedback
Answer / blahblahblah
#1: N = 1, f(N) = 1
#2: N = 199981, f(N) = 199981
#3: N = 199982, f(N) = 199982
#4: N = 199983, f(N) = 199983
#5: N = 199984, f(N) = 199984
#6: N = 199985, f(N) = 199985
#7: N = 199986, f(N) = 199986
#8: N = 199987, f(N) = 199987
#9: N = 199988, f(N) = 199988
#10: N = 199989, f(N) = 199989
#11: N = 199990, f(N) = 199990
#12: N = 200000, f(N) = 200000
#13: N = 200001, f(N) = 200001
#14: N = 1599981, f(N) = 1599981
#15: N = 1599982, f(N) = 1599982
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / suman
f(2) = 1
f(20)= 12
f(200) = 140
f(2000) = 1600
f(20000) = 18000
f(200000) = 200000
200,000 is the answere
Is This Answer Correct ? | 0 Yes | 6 No |
if PQRSTU implies QRSTUV then ABCDEFG implies what?
if a man byes 1 lt of milk for 12 Rupees and mixes with 20% of water and sells it for Rs. 15 then what is percentage of gain
11 Answers Agile Software, Global Tech, MBT,
A man owns 2/3 of the market research beauro business and sells 3/4 of his shares for Rs. 75000. What is the value of Business.
4 Answers Cap Gemini, IBM, TCS,
A CLOCK SHOWED 5 MIN PAST 3'0 CLOCK ON SUNDAY EVENING WHEN THE CORRECT TIME WAS 3'0 CLOCK IT LOOSES UNIFORMLY AND WAS OBSERVED TO BE 10 MIN SLOW ON THE SUBSEQUENT TUESDAY AT 9PM . WHEN DID THE CLOCK SHOW THE CORRECT TIME(** PLEASE GIVE THE EXPLANATION ALSO***)
There are five thieves, each loot a bakery one after the other such that the first one takes 1/2 of the total no. of the breads plus 1/2 of a bread. Similarly 2nd, 3rd,4th and 5th also did the same. After the fifth one no. of breads remained are 3. Initially how many breads were there?
If A/B = 3/5,then 15A = ?
0 Answers 3i Infotech, Canara Bank, Geodesic, Mu Sigma,
1. 2 containers labeled A and B are filled with red and blue marbles in given quantities: - Container RED BLUE A 6 4 B 60 40 Each container is shaken vigorously. After choosing 1 of the container, without looking, draw out a marble. From which container you have the max probability of choosing a blue marble?
16,8,12,30,105,?
4 cows are there at the four corners of a square. if the radius of the rope is 1 and lenth of one side of the square is 14, find the area along the square which the cow cannot gaze.
You are driving along in your car on a wild, stormy night, it's raining heavily, when suddenly you pass by a bus stop, and you see three people waiting for a bus: An old lady who looks as if she is about to die. An old friend who once saved your life. The perfect partner you have been dreaming about. Which one would you choose to offer a ride to, knowing very well that there could only be one passenger in your car? This is a moral/ethical dilemma that was once actually used as part of a job application. * You could pick up the old lady, because she is going to die, and thus you should save her first; * or you could take the old friend because he once saved your life, and this would be the perfect chance to ! pay him back. * However, you may never be able to find your perfect mate again.
a number of subsets of a set s is 128, then s has
Write a C Program to declare an array for 2 0 floats. Accept the values from the user sort the two arrays in descending order. Merge the two arrays into a new array and display the new array.