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.

A055768 Number of distinct primes dividing phi of n-th primorial number.

Original entry on oeis.org

0, 1, 1, 2, 3, 3, 3, 3, 4, 5, 5, 5, 5, 5, 6, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 10, 11, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 13, 14, 15, 15, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 17, 17, 17, 18, 19, 19, 19, 19, 20, 21, 21, 22, 22, 23, 23, 23, 24, 24, 24, 25, 26, 26, 26, 27, 28, 28
Offset: 1

Views

Author

Labos Elemer, Jul 12 2000

Keywords

Examples

			For primorials with 10, 100, or 1000 prime factors, their totients have only 5, 32 or 241 prime divisors, corresponding to a(10), a(100), and a(1000).
		

Crossrefs

Programs

  • Haskell
    a055768 = a001221 . a005867  -- Reinhard Zumkeller, May 01 2013
    
  • Mathematica
    Table[PrimeNu@ EulerPhi[Product[Prime@ i, {i, n}]], {n, 78}] (* or *)
    With[{nn = 78}, PrimeNu@ FoldList[LCM @@ {#1, #2} &, Prime@ Range@ nn - 1]] (* Michael De Vlieger, Jul 14 2017 *)
  • PARI
    a(n)=omega(lcm(apply(p->p-1, primes(n)))) \\ Charles R Greathouse IV, Sep 02 2015

Formula

a(n) < n. - Charles R Greathouse IV, Sep 02 2015