wu :: forums
« wu :: forums - Evaluate f(1,000,000,000,000) »

Welcome, Guest. Please Login or Register.
Dec 22nd, 2024, 10:10pm

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





   
Email

Gender: male
Posts: 647
Evaluate f(1,000,000,000,000)  
« on: Nov 18th, 2005, 9:02am »
Quote Quote Modify Modify

If f(0) = 0,
 
and for n>0,  f(n) = n - f(f(n-1)),
 
what is the value of f(1,000,000,000,000)?
« Last Edit: Nov 18th, 2005, 9:03am by pcbouhid » IP Logged

Don´t follow me, I´m lost too.
JocK
Uberpuzzler
*****






   


Gender: male
Posts: 877
Re: Evaluate f(1,000,000,000,000)  
« Reply #1 on: Nov 18th, 2005, 9:49am »
Quote Quote Modify Modify

My first guess would be:
 
f(n) = round( phi *n + phi2/(2 + phi) ) with  round(..) denoting rounding to the nearest integer and phi = (-1+sqrt(5))/2,  the golden ratio)...
 
but need to think a bit further (after all, a hard problem is unlikely to be solved within an hour...  Undecided )
 
 
 
 
« Last Edit: Nov 18th, 2005, 9:52am by JocK » IP Logged

solving abstract problems is like sex: it may occasionally have some practical use, but that is not why we do it.

xy - y = x5 - y4 - y3 = 20; x>0, y>0.
Barukh
Uberpuzzler
*****






   


Gender: male
Posts: 2276
Re: Evaluate f(1,000,000,000,000)  
« Reply #2 on: Nov 18th, 2005, 12:23pm »
Quote Quote Modify Modify

I remember seeing it somewhere...
 
Aha! It's under Strange Recursion thread.
IP Logged
Deedlit
Senior Riddler
****





   


Posts: 476
Re: Evaluate f(1,000,000,000,000)  
« Reply #3 on: Nov 26th, 2005, 3:16pm »
Quote Quote Modify Modify

on Nov 18th, 2005, 9:49am, JocK wrote:
My first guess would be:
 
f(n) = round( phi *n + phi2/(2 + phi) ) with  round(..) denoting rounding to the nearest integer and phi = (-1+sqrt(5))/2,  the golden ratio)...
 
but need to think a bit further (after all, a hard problem is unlikely to be solved within an hour...  Undecided )

 
It's actually simpler than that - it's just  
f(n) = [phi (n + 1)], although I think the reciprical definition of phi is more common, in which case it's f(n) = [(n + 1) / phi]
IP Logged
JocK
Uberpuzzler
*****






   


Gender: male
Posts: 877
Re: Evaluate f(1,000,000,000,000)  
« Reply #4 on: Nov 26th, 2005, 11:37pm »
Quote Quote Modify Modify

You're right, although for the answer it doesn't matter:
 
Round(618,033,988,750.041) = [618,033,988,750.513] = 618,033,988,750
 
IP Logged

solving abstract problems is like sex: it may occasionally have some practical use, but that is not why we do it.

xy - y = x5 - y4 - y3 = 20; x>0, y>0.
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