login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A218442 a(n) = Sum_{k=0..n} floor(n/(3*k + 1)). 2
0, 1, 2, 3, 5, 6, 7, 9, 11, 12, 14, 15, 17, 19, 21, 22, 25, 26, 27, 29, 32, 34, 36, 37, 39, 41, 43, 44, 48, 49, 51, 53, 56, 57, 59, 61, 63, 65, 67, 69, 73, 74, 76, 78, 81, 82, 84, 85, 88, 91, 94, 95, 99, 100, 101, 103, 107, 109, 111, 112, 115, 117, 119, 121, 125, 127, 129, 131, 134, 135, 139, 140, 142, 144, 146, 148, 152 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

Partial sums of A001817.

LINKS

Table of n, a(n) for n=0..76.

PROG

(PARI) a(n)=sum(k=0, n\3, (n\(3*k+1)))

(Maxima) A218442[n]:=sum(floor(n/(3*k+1)), k, 0, n)$

makelist(A218442[n], n, 0, 80); /* Martin Ettl, Oct 29 2012 */

CROSSREFS

Sequence in context: A282131 A114148 A349690 * A255057 A349150 A354525

Adjacent sequences: A218439 A218440 A218441 * A218443 A218444 A218445

KEYWORD

nonn

AUTHOR

Benoit Cloitre, Oct 28 2012

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 27 22:52 EST 2023. Contains 360711 sequences. (Running on oeis4.)