Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: notesfiles
Path: utzoo!linus!philabs!cmcl2!seismo!lll-crg!dual!qantel!hplabs!hp-pcd!hp-dcd!perry
From: perry@hp-dcd.UUCP (perry)
Newsgroups: net.bizarre
Subject: Re: Orphaned Response
Message-ID: <41400002@hp-dcde.UUCP>
Date: Tue, 30-Jul-85 22:13:00 EDT
Article-I.D.: hp-dcde.41400002
Posted: Tue Jul 30 22:13:00 1985
Date-Received: Mon, 12-Aug-85 04:49:09 EDT
References: <4062@alice.UUCP>
Organization: Hewlett-Packard - Fort Collins, CO
Lines: 22
Nf-ID: #R:alice:4062:hp-dcde:41400002:37777777600:579
Nf-From: hp-dcde!perry    Jul 30 18:13:00 1985

Ah, you sly devil, you won't get me to buy a Cray this easily !

/********************************************************************/
int fv[N];	/* initialize to a UNIQUE value */

f(n)
register int n;
{
	if (n <= 1)
		return(1);
	if (fv[n] == UNIQUE)
		fv[n] = f(n - f(n-1)) + f(n - f(n-2));
		
	return(fv[n]);
}
/********************************************************************/

Wetware will always be better than hardware.  Bizarreness aside, what is
the order of this function, done recursively without the lookup table ?

Perry Scott
...{ihnp4|hplabs}!hpfcla!perry-s