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.

A180418 a(n) = ( A000111(p) -(-1)^((p-1)/2) )/p, where p = prime(n).

Original entry on oeis.org

1, 3, 39, 32163, 1720635, 12345020175, 1530993953307, 44148864630732711, 797213247855503373843915, 281095572810489332134542303, 26242778669866462496740532647355475
Offset: 2

Views

Author

Vladimir Shevelev, Sep 03 2010

Keywords

Crossrefs

Programs

  • Mathematica
    t = Range[0, 60]! CoefficientList[Series[Sec@x + Tan@x, {x, 0, 60}], x]; f[n_] := (Rest[t][[Prime@n]] - (-1)^((Prime@n - 1)/2))/Prime@n; Array[f, 11, 2] (* Robert G. Wilson v, Sep 04 2010 *)

Formula

a(n) = ( A000111(A000040(n)) -A070750(n) )/A000040(n). - R. J. Mathar, Sep 19 2010

Extensions

Extended by R. J. Mathar, Sep 19 2010
a(8) onwards from Robert G. Wilson v, Sep 04 2010