Recursive Function by Hendrik

def f(n:Int):BigInt=if(n>2)1+f(n-1)*f(n-3)else n
print(f(35))

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page