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 |
find the next number in the series 1,2,5,10,17,26
A helicopter drops two trains, each on a parachute, onto a straight infinite railway line. There is an undefined distance between the two trains. Each faces the same direction, and upon landing, the parachute attached to each train falls to the ground next to the train and detaches. Each train has a microchip that controls its motion. The chips are identical. There is no way for the trains to know where they are. You need to write the code in the chip to make the trains bump into each other. Each line of code takes a single clock cycle to execute. You can use the following commands (and only these); MF - moves the train forward MB - moves the train backward IF (P) - conditional that's satisfied if the train is next to a parachute. There is no "then" to this IF statement. GOTO
7 Answers ASD Lab, HP, Micro Labs, Microsoft,
can any one give me paper pattern of SBI Spelcialist officer paper i m pooja info@porwalduniya.com
can anybody solve this series 0,6,24,60,120,210,?,? please give answer with the solution
Please Send Previous year question of sbi clerical post my email id is jasleen1982@gmail.com
0 Answers State Bank Of India SBI,
find missing no 5 12 23 30 17 8 ? 3
Age of Grandfather is the ages of 4 grandchildren where their ages are in consecutive.Find the age of Grandfather.
a student got 70% in one subject,80% in other.to get overall 75% how much he should get in third subject
G(0)=-1, G(1)=1, G(N)=G(N-1) - G(N-2), G(5)= ?
how to calculate three digit number multiplication? send me any shortcut? 235*235
8 persons A,B,C,D,E,F,G,H are sitting in a round dining table.some arrangement was given and position of H was asked.I don't remember the question exactly.
In China, Mao-Tse-Tung was responsible for organizing its people and taking China into success path. It evolved into a great economic power by improved industrial and economical statistics. China prospered in those years, but _________________