> 1,2,3,7,8,12,13,14,19,24,30... is not in OEIS. > What is it? It's the lexically least sequence of distinct positive integers, such that for all j,k: 1+a(j)-a(k) is 0, 1, or not a square. Had you included the 0^2+k's in that table, you would have gotten A030193. -- Don Reble djr at nk.ca