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


Please Help Members By Posting Answers For Below Questions

There are 6 people W,H,M,C,G,F who are murderer , victim , judge , police, witness, hangman. There was no eye witness only circumtancial witness. The murderer was sentenced to death. Read following statement and determine who is who.

705


2. Why would you choose a database system instead of simply storing data in operating system files? Give and explain advantages of using DBMS.

1017


Find the distance when they meet from starting point.

725


500 men are arranged in an array of 10 rows and 50 columns . ALL tallest among each row are asked to fall out . And the shortest among THEM is A. Similarly after resuming that to their original positions that the shortest among each column are asked to fall out. And the longest among them is B . Now who is taller among A and B ?

838


Find the next number in the series 12,21,,112,121,122---

823






A motorcycle travels a certain length taking 7 hrs in the journey ahead, while returning, the increased speed of 12km/hr takes about 5 hrs. What was the length covered in this journey?

681


If POINT + ZERO = ENERGY, then E + N + E + R + G + Y = ?

2766


A sphere of 10.5 cm radius is melted. It is then casted into a cuboid of maximum volume. What will be the total surface area of such cuboid?

772


The time showed by the clock at a moment is 8 am then the respective time of after and before 42896 hours is :

1254


A man spending half of his salary for house hold expenses, 1/4th for rent, 1/5th for travel expenses, a man deposits the rest in a bank. If his monthly deposits in the bank amount 50. What is his monthly salary ?

876


perimeter of rectangle is s and the other side is x, then the other side

651


The area of the quadrilateral is 36 What is a*b

793


which questions are asked in pnb related tocomputer and marketing apptitude

3574


I bought a car with a peculiar 5 digit numbered licence plate which on reversing could still be read. On reversing value is increased by 78633. Whats the original number if all digits were different?

898


0.512 * 18902358 =?

683