cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A194116 a(n) = Sum_{j=1..n} floor(j*sqrt(13)); n-th partial sum of Beatty sequence for sqrt(13).

This page as a plain text file.
%I A194116 #10 Mar 17 2021 22:55:48
%S A194116 3,10,20,34,52,73,98,126,158,194,233,276,322,372,426,483,544,608,676,
%T A194116 748,823,902,984,1070,1160,1253,1350,1450,1554,1662,1773,1888,2006,
%U A194116 2128,2254,2383,2516,2653,2793,2937,3084,3235,3390,3548,3710,3875
%N A194116 a(n) = Sum_{j=1..n} floor(j*sqrt(13)); n-th partial sum of Beatty sequence for sqrt(13).
%t A194116 c[n_] := Sum[Floor[j*Sqrt[13]], {j, 1, n}];
%t A194116 c = Table[c[n], {n, 1, 90}]
%o A194116 (Python)
%o A194116 from sympy import integer_nthroot
%o A194116 def A194116(n): return sum(integer_nthroot(13*j**2,2)[0] for j in range(1,n+1)) # _Chai Wah Wu_, Mar 17 2021
%Y A194116 Cf. A171983 (Beatty sequence for sqrt(13)).
%K A194116 nonn
%O A194116 1,1
%A A194116 _Clark Kimberling_, Aug 16 2011