- Mar 30, 2013It seems the correct formula is:

A[0] = 0;

A[1] = 1;

A[n] = 3*A[n - 1] - A[n - 2] + 2;

--

"Mathematics is the queen of the sciences and number theory is the queen of

mathematics."

--Gauss

[Non-text portions of this message have been removed] - << Previous post in topic Next post in topic >>