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.

A071629 Number of terms in the set InvPhi(4*prime(n)), where prime(n) is the n-th prime.

Original entry on oeis.org

5, 6, 5, 2, 3, 2, 0, 0, 3, 3, 0, 2, 3, 2, 0, 3, 0, 0, 2, 0, 2, 2, 3, 3, 2, 0, 0, 0, 0, 3, 2, 3, 0, 2, 0, 0, 0, 2, 0, 3, 3, 0, 3, 2, 0, 2, 0, 0, 0, 0, 3, 3, 0, 3, 0, 0, 0, 0, 2, 3, 0, 3, 2, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 2, 0, 0, 0, 0, 0, 2, 3, 0, 3, 2, 0, 3, 0, 0, 0, 0, 0, 0, 2, 3, 2, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0
Offset: 1

Views

Author

Labos Elemer, May 30 2002

Keywords

Examples

			For n=5: invphi(4*11) = [69,92,138], a(5) = 3.
		

Crossrefs

Programs

  • Maple
    [seq(nops(invphi(4*ithprime(i))),i=1..128)];
  • PARI
    a(n) = invphiNum(4*prime(n)); \\ Amiram Eldar, Nov 07 2024, using Max Alekseyev's invphi.gp