> Following the definition of the above sequence [A024812], > I generate terms that are very different from the terms provided. > Harvey Do you get the terms of A024813? BTW, I'd write "f(n) = floor(cot(pi/(2n)))".... -- Don Reble djr at nk.ca