# Need Some Math Help

**URL:** <https://forum.kirupa.com/t/need-some-math-help/223340>\
**Category:** random\
**Created:** [April 21, 2007, 1:38pm UTC](https://forum.kirupa.com/t/need-some-math-help/223340 "2007-04-21T13:38:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hybrid101](https://avatars.discourse-cdn.com/v4/letter/h/7993a0/32.png) [@hybrid101](https://forum.kirupa.com/u/hybrid101)\
**Post date:** [April 21, 2007, 1:38pm UTC](https://forum.kirupa.com/t/need-some-math-help/223340/1 "2007-04-21T13:38:53Z")

</div>

So to all math geniuses here, could you help me a bit? i’m stuck on some problems a college prof gave us on a seminar and need some answers by monday. 72/72 of us failed to get any answer as of now:P

so yeah. only in third year high school and know no \*\*\*\* about this. any help dudes?

> 

Question 1

Let N = {1,2,3,4…}

f(N) = N satisfying:

a.f(1) = 1  
b.f(2n) = f(n)  
c.f(2n+1) = f(2n)+1

find an algorithm to solve for f(n)

Question 2

Prove that a+b = c+d

btw, those are all right triangles.

i’ll give a cookie to someone who can explain it to me:D  
thanks dudes!
