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.

A178186 Sum 3^((k^2+3k)/2) from k=1 to n.

Original entry on oeis.org

9, 252, 19935, 4802904, 3491587305, 7629089072292, 50039174188071999, 984820941357799304880, 58150721823981417489695049, 10301109611599361435391036962892, 5474411390529830981438591324606714655
Offset: 1

Views

Author

Artur Jasinski, May 21 2010

Keywords

Comments

Series of the kind m^((k^2+3k)/2) from k=1 to n was studied by Bernoulli and Euler.

Crossrefs

Programs

  • Mathematica
    aa = {}; m = 3; sum = 0; Do[sum = sum + m^((n + 3) n/2); AppendTo[aa, sum], {n, 1, 20}]; aa (*Artur Jasinski*)
    Table[Sum[3^((k^2+3k)/2),{k,n}],{n,20}] (* Harvey P. Dale, Jul 10 2020 *)
    Accumulate[Table[3^((k^2+3k)/2),{k,15}]] (* Harvey P. Dale, Mar 25 2023 *)
  • PARI
    a(n) = sum(k=1, n, 3^((k^2+3*k)/2)); \\ Michel Marcus, Sep 09 2013