So i just got assigned two assignments, but i will just start on one for now. Anyways, the assignment is "Bruckners Formula for pi". We need to make a program that solves this equation for pi:

pi= 4/( 1 + (1^2/(2+3^2)/(2+5^2)/(2+n^2)) Sorry it was hard to write this o the computer. But we can assume the n input is odd and is non-negative. So, like the 1^2 is divided by 2+(3^2) and that part(3^2ONLY) is divided by 2+5^2 and 5^2 is divided by 2+n^2.... and so on.

Anyways, I am so confused as to where to start... i try to start on it but i just get stuck. Can someone help me conceptualize this program?