RAM interview question

Write a pattern program and Fibonacci sequence print