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.

A057640 a(n) = floor(H(n) + exp(H(n))*log(H(n))), where H(n) = Sum_{k=1..n} 1/k.

Original entry on oeis.org

1, 3, 5, 7, 10, 12, 15, 17, 20, 23, 25, 28, 31, 33, 36, 39, 41, 44, 47, 50, 53, 56, 58, 61, 64, 67, 70, 73, 76, 79, 82, 85, 88, 91, 94, 97, 100, 103, 106, 109, 112, 115, 118, 121, 124, 127, 130, 133, 136, 139, 142, 145, 149, 152, 155, 158, 161
Offset: 1

Views

Author

N. J. A. Sloane, Oct 12 2000

Keywords

Crossrefs

Programs

  • Mathematica
    hn[n_]:=Module[{h=HarmonicNumber[n]},Floor[h+Exp[h]Log[h]]]; Array[hn,60] (* Harvey P. Dale, Aug 02 2013 *)
  • PARI
    first(n) = { my(h = 0, res = vector(n)); for(i = 1, n, print1(i", "); h+=1/i; res[i] = floor(h+exp(h)*log(h)) ); res } \\ David A. Corneth, Apr 28 2022