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!)
A049799 a(n) = Sum_{k = 3..n} T(n,k), where the array T is A049801. 4
0, 0, 0, 0, 2, 0, 3, 2, 9, 0, 8, 12, 12, 5, 18, 15, 29, 12, 18, 29, 48, 21, 26, 42, 54, 38, 63, 39, 65, 51, 69, 92, 87, 45, 77, 105, 129, 77, 114, 96, 134, 123, 111, 146, 189, 126, 149, 144, 180, 170, 219, 207, 209, 156, 198, 245 (list; graph; refs; listen; history; text; internal format)
OFFSET

3,5

LINKS

G. C. Greubel, Table of n, a(n) for n = 3..1000

MAPLE

seq(add(n mod floor(k/3), k = 3 .. n), n = 3..60); # Petros Hadjicostas, Nov 20 2019

MATHEMATICA

Table[Sum[Mod[n, Floor[k/3]], {k, 3, n}], {n, 3, 60}] (* G. C. Greubel, Dec 09 2019 *)

PROG

(PARI) vector(60, n, sum(k=3, n+2, (n+2)%(k\3)) ) \\ G. C. Greubel, Dec 09 2019

(MAGMA) [ (&+[n mod Floor(k/2): k in [3..n]]): n in [3..60]]; // G. C. Greubel, Dec 09 2019

(Sage) [sum( n%floor(k/3)  for k in (3..n)) for n in (3..60)] # G. C. Greubel, Dec 09 2019

(GAP) List([3..60], n-> Sum([3..n], k-> n mod Int(k/3)) ); # G. C. Greubel, Dec 09 2019

CROSSREFS

Cf. A049798, A049800.

Row sums of triangle A049801.

Sequence in context: A135351 A079451 A219187 * A087985 A200927 A258817

Adjacent sequences:  A049796 A049797 A049798 * A049800 A049801 A049802

KEYWORD

nonn

AUTHOR

Clark Kimberling

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 July 12 10:34 EDT 2020. Contains 335657 sequences. (Running on oeis4.)