3*n^2-3*n+1 for n=7,13,19,25,31