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.

A247087 a(n) = pi(phi(p(P(n)))) = A000720(A000010(A000041(A000040(n)))).

Original entry on oeis.org

0, 1, 3, 4, 9, 25, 41, 39, 168, 462, 442, 1939, 2571, 3998, 5123, 17040, 24853, 38887, 195022, 183430, 404386, 381060, 1162366, 2105509, 1799881, 5966593, 5380661, 14184985, 10473967, 22631261, 135452589, 109540327, 244730051, 487610708, 604467085, 671043205, 3350187738
Offset: 1

Views

Author

Alois P. Heinz, Mar 14 2015

Keywords

Crossrefs

Programs

  • Maple
    with(numtheory): with(combinat): p:=numbpart: P:=ithprime:
    a:= n-> pi(phi(p(P(n)))):
    seq(a(n), n=1..20);
  • Mathematica
    a[n_] := PrimePi @ EulerPhi @ PartitionsP @ Prime @ n;
    Table[a[n], {n, 1, 30}] (* Jean-François Alcover, Mar 25 2017 *)

Formula

Extensions

a(31)-a(37) from Amiram Eldar, Sep 03 2024