login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A096143 Ceiling(sum(1/i, i=1..n)). 1

%I

%S 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 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 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 Ceiling(sum(1/i, i=1..n)).

%F a(n) = ceiling(A001008(n)/A002805(n)). - _Michel Marcus_, Jul 11 2013

%e a(4)=3 because the ceiling of 1 + 1/2 + 1/3 + 1/4 is 3.

%t Ceiling[HarmonicNumber[Range[110]]] (* _Harvey P. Dale_, Aug 27 2014 *)

%o (PARI) a(n) = ceil(sum(i=1, n, 1/i)) \\ _Michel Marcus_, Jul 11 2013

%Y Cf. A002387, A055980.

%K nonn,easy

%O 1,2

%A _W. Neville Holmes_, Jul 24 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 13 04:31 EDT 2020. Contains 335673 sequences. (Running on oeis4.)