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.

A375187 Number of unitary square divisors of n!.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 4, 4, 2, 2, 8, 8, 4, 4, 4, 4, 4, 4, 8, 8, 16, 4, 4, 4, 16, 16, 16, 8, 16, 16, 32, 32, 16, 4, 16, 16, 16, 16, 16, 16, 16, 16, 8, 8, 16, 32, 128, 128, 256, 256, 128, 32, 64, 64, 256, 64, 16, 4, 16, 16, 64, 64, 64, 128, 128, 32, 64, 64, 128, 128
Offset: 0

Views

Author

Amiram Eldar, Aug 03 2024

Keywords

Comments

Unitary analog of A046951(n!) = A055993(n).

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := 2^(1 - Mod[e, 2]); a[n_] := Times @@ f @@@ FactorInteger[n!]; Array[a, 100, 0]
  • PARI
    a(n) = vecprod(apply(x -> 1 << (1 - x%2), factor(n!)[,2]));
    
  • Python
    from collections import Counter
    from sympy import factorint
    def A375187(n): return 1<Chai Wah Wu, Aug 03 2024

Formula

a(n) = A056624(n!).