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.

A131993 1 + prime(n) + prime(n)^2 + prime(n)^3 + prime(n)^4 + prime(n)^5.

Original entry on oeis.org

63, 364, 3906, 19608, 177156, 402234, 1508598, 2613660, 6728904, 21243690, 29583456, 71270178, 118752606, 150508644, 234330768, 426237714, 727250580, 858672906, 1370581548, 1830004056, 2101864254, 3116505840, 3987077724
Offset: 1

Views

Author

Reinhard Zumkeller, Aug 06 2007

Keywords

Comments

a(n) = 1 + A131992(n)*A000040(n).

Crossrefs

Programs

  • Magma
    [1+(&+[NthPrime(n)^(k): k in [1..5]]): n in [1..100]]; // Berselli - Librandi, Apr 20 2011
  • Mathematica
    Total[#^Range[0,5]]&/@Prime[Range[30]]  (* Harvey P. Dale, Apr 20 2011 *)

Formula

a(n) = (A030516(n) - 1)/A006093(n).