print sequences of k length recursion