login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A055679
Number of distinct prime factors of phi(n!).
1
0, 0, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14
OFFSET
1,6
COMMENTS
Number of distinct prime factors of n! and phi(n!) are respectively pi(n) and pi(floor(n/2)).
LINKS
FORMULA
a(n) = pi(floor(n/2)).
MATHEMATICA
PrimeNu[EulerPhi[Range[90]!]] (* Harvey P. Dale, Sep 27 2011 *)
PROG
(PARI) for(n=1, 50, print1(omega(eulerphi(n!)), ", ")) \\ G. C. Greubel, May 19 2017
(PARI) a(n) = primepi(n\2); \\ Michel Marcus, Aug 13 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Labos Elemer, Jul 11 2000
STATUS
approved