let f function from z to z(integers)

and

f(n)=n - 3 at n > 999

f(n)= f(f(n+5) at n < 1000

find

f(84)

Results 1 to 3 of 3

- June 27th 2007, 10:07 AM #1

- Joined
- Nov 2006
- Posts
- 152

- June 27th 2007, 10:46 AM #2

- June 30th 2007, 05:46 PM #3

- Joined
- Nov 2005
- From
- New York City
- Posts
- 10,616
- Thanks
- 9

Note that,

for is determined by the parity of .

Meaning if is odd. And if is even.

We can show this by*Strong Induction*.

First,

Now, if and odd we have,

But by induction and the fact is even

And, if and even we have,

But by induction and the fact is odd

The above gives us an explicit formula for f(n).