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.

A024586 a(n) = floor(Sum_{k=1..n} of 1/{k*Pi}) where { } denotes fractional part.

This page as a plain text file.
%I A024586 #12 Apr 11 2021 16:13:19
%S A024586 7,10,12,14,16,17,18,25,29,31,33,35,36,37,45,49,51,53,54,56,57,65,69,
%T A024586 72,74,75,76,77,87,91,93,95,97,98,99,109,113,116,118,119,121,122,133,
%U A024586 137,140,142,144,145,146,158,163,166,168,169,171,172,186,190,193,195,197,198,199,215
%N A024586 a(n) = floor(Sum_{k=1..n} of 1/{k*Pi}) where { } denotes fractional part.
%H A024586 Clark Kimberling, <a href="/A024586/b024586.txt">Table of n, a(n) for n = 1..1000</a>
%t A024586 Table[Floor[Sum[1/FractionalPart[k*Pi], {k, 1, n}]], {n, 1, 100}] (* _Clark Kimberling_, Aug 18 2012 *)
%Y A024586 Cf. A024585.
%K A024586 nonn
%O A024586 1,1
%A A024586 _Clark Kimberling_