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.

A214647 a(n) = (n^n + n^2)/2.

Original entry on oeis.org

1, 4, 18, 136, 1575, 23346, 411796, 8388640, 193710285, 5000000050, 142655835366, 4458050224200, 151437553296211, 5556003412779106, 218946945190429800, 9223372036854775936, 413620130943168382233, 19673204037648268787874, 989209827830156794562170, 52428800000000000000000200
Offset: 1

Views

Author

Alex Ratushnyak, Jul 24 2012

Keywords

Examples

			a(3) = (3^3 + 3^2)/2 = (27+9)/2 = 18.
		

Crossrefs

Programs

  • Mathematica
    a[n_]:=(n^n + n^2)/2; Array[a,20] (* Stefano Spezia, Aug 19 2024 *)
  • Python
    print([int((n**n+n**2)/2) for n in range(1,20)])