Intuit interview question

Simple question to print a pattern given an integer.