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.

Showing 1-2 of 2 results.

A056627 a(n) = A056622(n!).

Original entry on oeis.org

1, 1, 1, 1, 1, 12, 12, 12, 36, 720, 720, 480, 480, 1680, 3024, 12096, 12096, 145152, 145152, 7257600, 345600, 1900800, 1900800, 136857600, 684288000, 4447872000, 4447872000, 435891456000, 435891456000, 3138418483200, 3138418483200, 6276836966400, 190207180800
Offset: 1

Views

Author

Labos Elemer, Aug 08 2000

Keywords

Comments

Previous name "Square root of largest unitary square divisor of n!" was incorrect. See A374989 for the correct sequence with this name. - Amiram Eldar, Jul 26 2024

Examples

			a(12) = A056622(12!) = A000188(12!)/A055229(12!) = 1440/3 = 480.
		

Crossrefs

Programs

Formula

a(n) = A055772(n)/A055230(n) = A000188(n!)/A055229(n!).
a(n) = A056622(n!). - Michel Marcus, Aug 16 2020
a(n) = sqrt(A056628(n)). - Amiram Eldar, Jul 08 2024

Extensions

More terms from Michel Marcus, Aug 16 2020
Incorrect name replaced with a formula by Amiram Eldar, Jul 26 2024

A374988 Largest unitary square divisor of n!.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 144, 144, 9, 81, 518400, 518400, 25600, 25600, 1225, 35721, 35721, 35721, 21069103104, 21069103104, 52672757760000, 163840000, 75625, 75625, 18730002677760000, 468250066944000000, 18867078140625, 319515625, 767157015625, 767157015625, 15759472921106221891584
Offset: 0

Views

Author

Amiram Eldar, Jul 26 2024

Keywords

Comments

Unitary analog of A055071.
a(n) is even if and only if n > 1 and is in A006364.

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := If[EvenQ[e], p^e, 1]; a[0] = a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n!]; Array[a, 30, 0]
  • PARI
    a(n) = {my(f = factor(n!)); prod(i = 1, #f~, if(f[i, 2]%2, 1, f[i, 1]^f[i, 2]));}
    
  • Python
    from math import prod
    from itertools import count, islice
    from collections import Counter
    from sympy import factorint
    def A374988_gen(): # generator of terms
        c = Counter()
        for i in count(0):
            c += Counter(factorint(i))
            yield prod(p**e for p, e in c.items() if e&1^1)
    A374988_list = list(islice(A374988_gen(),30)) # Chai Wah Wu, Jul 27 2024

Formula

a(n) = A350388(n!).
a(n) = A374989(n)^2.
Showing 1-2 of 2 results.