Try starting the k loop at n instead of 1.