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.

A339217 a(n) = Sum_{k=1..n} floor((2*n-k)/k).

This page as a plain text file.
%I A339217 #23 Dec 23 2020 04:04:51
%S A339217 0,1,4,8,12,17,23,27,34,40,46,52,60,65,73,81,87,93,104,108,118,126,
%T A339217 132,140,150,157,165,173,183,189,201,205,216,226,232,242,254,258,268,
%U A339217 278,288,295,307,313,323,335,343,349,363,369,382,390,398,408,420,428,440,448,456,464,482
%N A339217 a(n) = Sum_{k=1..n} floor((2*n-k)/k).
%F A339217 From _Vaclav Kotesovec_, Dec 23 2020: (Start)
%F A339217 For n>0, a(n) = 2*A006218(n) + A075989(n) - n.
%F A339217 a(n) ~ 2*n * (log(2*n) + 2*gamma - 2), where gamma is the Euler-Mascheroni constant A001620. (End)
%t A339217 Table[Sum[Floor[(2 n - i)/i], {i, n}], {n, 0, 60}]
%o A339217 (PARI) a(n) = sum(k=1, n, (2*n-k)\k); \\ _Michel Marcus_, Dec 22 2020
%Y A339217 Cf. A002541, A153485, A279847, A338991, A339370.
%K A339217 nonn,easy
%O A339217 0,3
%A A339217 _Wesley Ivan Hurt_, Dec 22 2020