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.

A096143 a(n) = ceiling(Sum_{i=1..n} 1/i).

This page as a plain text file.
%I A096143 #13 May 28 2021 13:38:59
%S A096143 1,2,2,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,
%T A096143 5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,
%U A096143 5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6
%N A096143 a(n) = ceiling(Sum_{i=1..n} 1/i).
%F A096143 a(n) = ceiling(A001008(n)/A002805(n)). - _Michel Marcus_, Jul 11 2013
%e A096143 a(4)=3 because the ceiling of 1 + 1/2 + 1/3 + 1/4 is 3.
%t A096143 Ceiling[HarmonicNumber[Range[110]]] (* _Harvey P. Dale_, Aug 27 2014 *)
%o A096143 (PARI) a(n) = ceil(sum(i=1, n, 1/i)) \\ _Michel Marcus_, Jul 11 2013
%Y A096143 Cf. A002387, A055980.
%K A096143 nonn,easy
%O A096143 1,2
%A A096143 _W. Neville Holmes_, Jul 24 2004