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.

User: Nico Mexis

Nico Mexis's wiki page.

Nico Mexis has authored 1 sequences.

A355667 Least number phi(k) such that n * phi(k) < k, where phi is Euler's totient function.

Original entry on oeis.org

1, 2, 8, 48, 5760, 36495360, 1854081073152000, 400440702414394285778534400000, 165062110921422523175104166476600499887194872217600000000
Offset: 1

Author

Nico Mexis, Jul 13 2022

Keywords

Comments

a(n) is the Euler totient of A091456(n). Useful for calculating a simple upper bound of the inverse phi function.

Examples

			If we know n=276, then all numbers k with phi(k)=n will satisfy k < 5*n since m=a(5) is the first number in the sequence with n < m.
		

Crossrefs

Totients of A091456 or A091439.

Programs

  • CoCoA
    // CoCoA 5
    define a(n) k := 1; p := 1; while k <= n*EulerTotient(k) do p := NextPrime(p); k := k*p; endwhile; return EulerTotient(k); enddefine;
  • Mathematica
    a[n_] := Module[{k = 1, p = 1, e}, While[k <= n*(e = EulerPhi[k]), p = NextPrime[p]; k *= p]; e]; Array[a, 9] (* Amiram Eldar, Jul 13 2022 *)
  • PARI
    a(n)=my(k=1); forprime(p=2, , if(n*eulerphi(k)
    				

Formula

a(n) = A000010(A091456(n)).
a(n) = A000010(A091439(n+1)).