login
a(0)=5; a(n) = a(n-1) + floor(sqrt(a(n-1))), n > 0.
1

%I #17 Nov 26 2020 19:25:19

%S 5,7,9,12,15,18,22,26,31,36,42,48,54,61,68,76,84,93,102,112,122,133,

%T 144,156,168,180,193,206,220,234,249,264,280,296,313,330,348,366,385,

%U 404,424,444,465,486,508,530,553,576,600,624,648,673,698,724,750,777,804,832,860,889,918,948,978

%N a(0)=5; a(n) = a(n-1) + floor(sqrt(a(n-1))), n > 0.

%C Row 1 in square array A159016.

%C This sequence contains an infinity of squares. - _Philippe Deléham_, Apr 04 2009

%C Intersection of the sequence with A000290 generates A002063. - _Vincenzo Librandi_, Apr 10 2009, clarified by _R. J. Mathar_, Dec 03 2010

%H Robert Israel, <a href="/A159018/b159018.txt">Table of n, a(n) for n = 0..10000</a>

%p A:= Array(0..100):

%p A[0]:= 5:

%p for n from 1 to 100 do A[n]:= A[n-1]+floor(sqrt(A[n-1])) od:

%p convert(A,list); # _Robert Israel_, Nov 26 2020

%Y Cf. A028392.

%K nonn

%O 0,1

%A _Philippe Deléham_, Apr 02 2009