A048656 a(n) is the number of unitary (and also of squarefree) divisors of n!.
1, 2, 4, 4, 8, 8, 16, 16, 16, 16, 32, 32, 64, 64, 64, 64, 128, 128, 256, 256, 256, 256, 512, 512, 512, 512, 512, 512, 1024, 1024, 2048, 2048, 2048, 2048, 2048, 2048, 4096, 4096, 4096, 4096, 8192, 8192, 16384, 16384, 16384, 16384, 32768, 32768, 32768, 32768
Offset: 1
Keywords
Examples
For n = 7, n! = 5040 = 16*9*5*7 with 4 distinct prime factors, so a(7) = A034444(7!) = 16. The subsets S of {1, 2, 3, 4} such that every number in S is a prime are these: {}, {2}, {3}, {2, 3}; thus, a(4) = 4. - _Clark Kimberling_, Sep 17 2022
Links
- Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
- International Mathematical Olympiad 2001, Hong Kong Preliminary Selection Contest, Problem 2.
- Index to divisibility sequences.
- Index to sequences related to Olympiads.
Programs
-
Mathematica
Table[2^PrimePi[n], {n, 1, 70}] (* Clark Kimberling, Sep 17 2022 *)
-
PARI
a(n)=2^primepi(n) \\ Charles R Greathouse IV, Apr 07 2012
Comments