I am in 6th grade trying to do function rule problems. The problem is a pattern that is 1,4,9,16….

I am in 6th grade trying to do function rule problems. The problem is a pattern that is 1,4,9,16. I know that each increases 3,5,7ut don’t know how to write the function rule.