Functional Python !
— download

reduce(lambda x,y: x*(n%y), range(1, int(n**.5)+1))

Can you guess what this piece of code does for a given n value ?