your function will never return 3 and 6.

hm... this is tricky. i think i could do it with some if() clauses but i didn't find an elegant solution yet.