(If I understood the message correctly) I'd suggest to just create one sequence "Number of squares of the form k^2+n*k+1 where k>0." But first wait for comments from the heavy duty number theorists. * Bruno Berselli <berselli.bruno at yahoo.it> [Jan 18. 2011 17:10]: > [...]