OFFSET
1,1
COMMENTS
Without any restriction, trivially, a(n)=0 and, if to consider a(n) positive, then, again trivially, a(n)=1. Without the restriction k >= 5n, we have a(n)=4*n+1; on the other hand, if to require a(n)>=5*n and in addition a(n+1)>a(n), then we obtain sequence 5,12,16,20 and, beginning with n=5, we have progression 64+12*(n-5).
MATHEMATICA
Table[k = 5*n; While[! IntegerQ[Sqrt[n^2 + 2*n*k + k]], k++]; k, {n, 100}] (* T. D. Noe, May 18 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Shevelev and Peter J. C. Moses, May 13 2012
STATUS
approved