wu :: forums
« wu :: forums - Functional Equation »

Welcome, Guest. Please Login or Register.
Nov 28th, 2024, 7:49am

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   easy
(Moderators: Eigenray, towr, Grimbal, Icarus, ThudnBlunder, SMQ, william wu)
   Functional Equation
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Functional Equation  (Read 338 times)
ThudnBlunder
wu::riddles Moderator
Uberpuzzler
*****




The dewdrop slides into the shining Sea

   


Gender: male
Posts: 4489
Functional Equation  
« on: Oct 15th, 2004, 6:41am »
Quote Quote Modify Modify

Consider a function which, for a given integer n, returns the number of 1s required to write out all of the integers between  
0 and n.
 
For example, f(13) = 6
 
After F(1) = 1, what is the next n such that f(n) = n?  
 
« Last Edit: Oct 15th, 2004, 6:42am by ThudnBlunder » IP Logged

THE MEEK SHALL INHERIT THE EARTH.....................................................................er, if that's all right with the rest of you.
Fresno_Bob
Newbie
*





   


Gender: male
Posts: 13
Re: Functional Equation  
« Reply #1 on: Oct 15th, 2004, 11:10am »
Quote Quote Modify Modify

Here's a shot at it

 
f(999,999,999) = 900,000,000
f(1,099,999,999) = f(999,999,999) + 100,000,000 + 80,000,000 = 1,080,000,000
f(1,109,999,999) = f(1,099,999,999) + 20,000,000 + 7,000,000 = 1,107,000,000
f(1,110,999,999) = f(1,109,999,999) + 3,000,000 + 600,000    = 1,110,600,000
f(1,111,099,999) = f(1,110,999,999) + 400,000 + 50,000  = 1,111,050,000
f(1,111,109,999) = f(1,111,099,999) + 50,000 + 4,000    = 1,111,104,000
f(1,111,110,999) = f(1,111,109,999) + 6,000 + 300  = 1,111,110,300
f(1,111,111,099) = f(1,111,110,999) + 700 + 20     = 1,111,111,020
f(1,111,111,109) = f(1,111,111,099) + 80 + 1       = 1,111,111,101
f(1,111,111,110) = f(1,111,111,109) + 9       = 1,111,111,110
 
1,111,111,110
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board