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.

A077025 a(n) = Sum_{k=1..n} floor(n/(k + 1/2)).

Original entry on oeis.org

0, 1, 3, 4, 7, 9, 11, 14, 17, 19, 23, 25, 28, 32, 36, 37, 41, 46, 48, 52, 56, 58, 64, 66, 70, 74, 78, 82, 86, 90, 92, 97, 103, 105, 111, 114, 116, 122, 128, 130, 135, 139, 143, 147, 153, 157, 161, 165, 168, 175, 179, 181, 189, 193, 197, 201, 205, 209, 215, 221, 224
Offset: 1

Views

Author

Clark Kimberling, Oct 18 2002

Keywords

Comments

It appears that A077024(n) - a(n) = n.

Examples

			[4/(1 + 1/2)] + [4/(2 + 1/2)] + [4/(3 + 1/2)] + [4/(4 + 1/2)] = 2+1+1+0 = 4 = a(4).
		

Crossrefs

Cf. A077024.

Programs

  • PARI
    a(n) = sum(k=1, n, n\(k+1/2)); \\ Michel Marcus, Jan 14 2023