%I #13 Oct 20 2021 08:03:04
%S 10,17,27,38,51,66,83,103,124,147,172,199,229,260,293,328,365,405,446,
%T 489,534,581,631,682,735,790,847,907,968,1031,1096,1163,1233,1304,
%U 1377,1452,1529,1609,1690,1773,1858,1945,2035,2126,2219,2314,2411,2511,2612
%N Fractional part of square root of a(n) starts with 1: first term of runs.
%o (Python)
%o from math import sqrt
%o def a(n):
%o k = (n + 2)**2
%o while int(10*sqrt(k))%10 != 1: k += 1
%o return k
%o print([a(n) for n in range(1, 50)]) # _Michael S. Branicky_, Oct 17 2021
%Y Cf. A034097.
%K nonn,base
%O 1,1
%A _Patrick De Geest_, Sep 15 1998
%E Offset 1 from _Alois P. Heinz_, Aug 05 2020
|