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.

A166743 a(n) = (2^p - p^2 - 1)/6 where p = prime(n).

Original entry on oeis.org

1, 13, 321, 1337, 21797, 87321, 1398013, 89478345, 357913781, 22906492017, 366503875645, 1466015503393, 23456248058853, 1501199875789697, 96076792050570001, 384307168202281705, 24595658764946068073
Offset: 3

Views

Author

Tanin (Mirza Sabbir Hossain Beg) (mirzasabbirhossainbeg(AT)yahoo.com), Oct 21 2009

Keywords

Crossrefs

Programs

  • Maple
    A166743 := proc(n) p := ithprime(n) ; (2^p-p^2-1)/6 ; end: seq(A166743(n),n=3..20) ; # R. J. Mathar, Oct 25 2009
  • Mathematica
    Table[(2^p-p^2-1)/6,{p,Prime[Range[3,20]]}] (* Harvey P. Dale, May 16 2020 *)

Formula

a(n) = (A034785(n) - A066872(n))/6. - R. J. Mathar, Oct 25 2009

Extensions

Missing exponentiation signs inserted in the definition by R. J. Mathar, Oct 25 2009
Corrected by D. S. McNeil, Aug 20 2010