Stirling Number of First Kind.

Explanation is in chat with xorfire.
Also here: http://chasethered.com/2014/06/hackerrank-weekly-challenge-5-problem-4/