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.

Showing 1-2 of 2 results.

A048848 a(n) = prime(phi(n)).

Original entry on oeis.org

2, 2, 3, 3, 7, 3, 13, 7, 13, 7, 29, 7, 37, 13, 19, 19, 53, 13, 61, 19, 37, 29, 79, 19, 71, 37, 61, 37, 107, 19, 113, 53, 71, 53, 89, 37, 151, 61, 89, 53, 173, 37, 181, 71, 89, 79, 199, 53, 181, 71, 131, 89, 239, 61, 173, 89, 151, 107, 271, 53, 281
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Magma
    [NthPrime(EulerPhi(n)): n in [1..100]]; // G. C. Greubel, Feb 22 2024
    
  • Maple
    with(numtheory); [ seq(ithprime(phi(i)),i=1..80) ];
  • Mathematica
    Prime[EulerPhi[Range[70]]] (* Harvey P. Dale, Nov 24 2022 *)
  • PARI
    A048848(n) = prime(eulerphi(n)); \\ Antti Karttunen, Dec 05 2017
    
  • SageMath
    [nth_prime(euler_phi(n)) for n in range(1,101)] # G. C. Greubel, Feb 22 2024

Formula

a(n) = A000040(A000010(n)).

Extensions

Offset corrected by Antti Karttunen, Dec 05 2017

A036553 a(n) = phi(prime(n)) - prime(phi(n)).

Original entry on oeis.org

-1, 0, 1, 3, 3, 9, 3, 11, 9, 21, 1, 29, 3, 29, 27, 33, 5, 47, 5, 51, 35, 49, 3, 69, 25, 63, 41, 69, 1, 93, 13, 77, 65, 85, 59, 113, 5, 101, 77, 119, 5, 143, 9, 121, 107, 119, 11, 169, 45, 157, 101, 149, 1, 189, 83, 173, 117, 163, 5, 227, 1, 179, 155
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    Table[EulerPhi[Prime[n]]-Prime[EulerPhi[n]],{n,70}] (* Harvey P. Dale, May 16 2014 *)
Showing 1-2 of 2 results.