login
A077025
a(n) = Sum_{k=1..n} floor(n/(k + 1/2)).
1
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,3
COMMENTS
It appears that A077024(n) - a(n) = n.
EXAMPLE
[4/(1 + 1/2)] + [4/(2 + 1/2)] + [4/(3 + 1/2)] + [4/(4 + 1/2)] = 2+1+1+0 = 4 = a(4).
PROG
(PARI) a(n) = sum(k=1, n, n\(k+1/2)); \\ Michel Marcus, Jan 14 2023
CROSSREFS
Cf. A077024.
Sequence in context: A191978 A187477 A111499 * A280493 A032729 A035270
KEYWORD
nonn
AUTHOR
Clark Kimberling, Oct 18 2002
STATUS
approved