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 / 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 |
Post New Answer View All Answers
A garrison of 3300 men has provisions for 32 days, when given at a rate of 850 grams per head. At the end of 7 days reinforcement arrives and it was found that now the provisions will last 8 days less, when given at the rate of 825 grams per head. How, many more men can it feed?
In an exam, a girl scores 85% in one subject and 88 % in another subject. What percentage does she score in the third subject to get an average of 88% marks?
modulo(373,7)+round(5.8)+truncat(7.2)-round(3.4) = ? i exactly don't remember the truncate function.but the function was where we skip the '.' part.
The ratio of no. of boys & girls in a school is 3:2 Out of these what % the boys & 25% of girls are scholarship holders. % of students who are not scholarship holders.?
a train runs first half of the distance at 40 km/hr and the remaining half at 60 km/hr. What is the average speed for the entire journey?
A ship went on a voyage.After it had travelled 180 miles a plane statrted with 10 times the speed of the ship. An army 50 miles long marches at a constant rate. A courier standing at the rear moves forward and delivers the message to the first person and then turns back and reaches the rear of the army as the army completes 50 miles. Find the distance travelled by the courier.
In a party man & his wife ,and there r 2 son with their wives, and every son has 4 children in his family .how manyperson r in party.
The equivalent compound ratio of 5:6::7:10::6:5
A person is 80 years old in 490 and only 70 years old in 500 in which year is he born?
A guy shows his friend a girl standing in front of her in a hotel and says that she is the daughter of my granny's only son. How are they two related?
One fast typist type some matter in 2hr and another slow typist type the same matter in 3hr. If both do combinedly in how much time they will finish.
how to learn aptitude quickly
In the 4 digits 1,2,3,4 how many 4 digited numbers are possible which are divisable by 4? Repetetions are allowed
Add a word in starting of SCAPE and at the end of Grass, u will get two different word
A can do a work in 8 days, B can do a work in 7 days, C can do a work in 6 days. A works on the first day, B works on the second day and C on the third day rely. that is they work on alternate days. When will they finish the work.(which day will they finish the work) (7+7/168)