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?
Answer Posted / 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 |
Post New Answer View All Answers
If A=Z, B=Y, C=X, .......... Z=A, Then SOUR = ?
what is the sum of 7 consecutive odd numbers with 27 as the fourth number
There are 19 red balls and one black ball . Ten balls are put in one jar and the remaining 10 are put in another jar. what is the possibility that the black in the right jar.
What annual payment will discharge a debt of rs. 6,450 Due in 4 years at 5% per annum simple interest?
There are some 20 Basketball players & 30 Football players, and 25 cricket players. 1 of them plays all the three games. 8 of them plays at least two games. They are 50 altogether. How many of them plays none of the games.
The minimum number of digits required to form every number which is greater than 900 and less than 9,000 is:
Refer to the figure below.A ship started from P and moves at a speed of I miles per hour and another ship starts from L and moving with H miles per hour simultaneously.Where do the two ships meet? ||---g---||---h---||---i---||---j---||---k---||---l---|| PG H I J K L are the various stops in between denoted by || . The values g, h, i, j, k, l denote the distance between the ports.
how to learn aptitude quickly
If m-4 is 7 more than n then m+9 is how much more than n+2
if the area of square increases by 69% then side of the square increases by:
the bucket size is 10KB.it takes 0.0001 KB/milisec to fill bucket.the bucket takes 100 or 1000 milisec to reach to destination.it takes 100 milisec to pass acknowledgement from dest to source.so calculate how much time will it take to pass N KB ,write formula. i don't remember the exact figures of bucket transmission time from source to dest
What is your objeective in career ?
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.
02: 1/3 of girls , 1/2 of boys go to canteen .What factor and total number of classmates go to canteen?
Ravi's salary was reduced by 25%.Percentage increase to be effected to bring the salary to the original level is