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!)
A106846 Sum {k + l*m <= n} (k + l*m), with 0 <= k,l,m <= n. 4
0, 4, 22, 64, 144, 269, 461, 720, 1072, 1522, 2092, 2774, 3626, 4614, 5776, 7126, 8694, 10445, 12461, 14684, 17204, 19997, 23077, 26412, 30156, 34206, 38600, 43352, 48532, 54042, 60072, 66458, 73338, 80664, 88450, 96710, 105638, 114999 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

R. J. Mathar, Table of n, a(n) for n = 0..1000

MAPLE

A106846 := proc(n)

    local a, k, l, m ;

    a := 0 ;

    for k from 0 to n do

        for l from 0 to n do

            if l = 0 then

                m := n ;

            else

                m := floor((n-k)/l) ;

            end if;

            if m >=0 then

                m := min(m, n) ;

                a := a+(m+1)*k+l*m*(m+1)/2 ;

            end if;

        end do:

    end do:

    a ;

end proc: # R. J. Mathar, Oct 17 2012

CROSSREFS

Cf. A106633, A106634, A106847.

Sequence in context: A130015 A189953 A174814 * A086863 A241689 A052149

Adjacent sequences:  A106843 A106844 A106845 * A106847 A106848 A106849

KEYWORD

nonn

AUTHOR

Ralf Stephan, May 06 2005

STATUS

approved

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 October 22 01:48 EDT 2021. Contains 348160 sequences. (Running on oeis4.)