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-5 of 5 results.

A322483 The number of semi-unitary divisors of n.

Original entry on oeis.org

1, 2, 2, 2, 2, 4, 2, 3, 2, 4, 2, 4, 2, 4, 4, 3, 2, 4, 2, 4, 4, 4, 2, 6, 2, 4, 3, 4, 2, 8, 2, 4, 4, 4, 4, 4, 2, 4, 4, 6, 2, 8, 2, 4, 4, 4, 2, 6, 2, 4, 4, 4, 2, 6, 4, 6, 4, 4, 2, 8, 2, 4, 4, 4, 4, 8, 2, 4, 4, 8, 2, 6, 2, 4, 4, 4, 4, 8, 2, 6, 3, 4, 2, 8, 4, 4, 4
Offset: 1

Views

Author

Amiram Eldar, Dec 11 2018

Keywords

Comments

The notion of semi-unitary divisor was introduced by Chidambaraswamy in 1967.
A semi-unitary divisor of n is defined as the largest divisor d of n such that the largest divisor of d that is a unitary divisor of n/d is 1. In terms of the relation defined in A322482, d is the largest divisor of n such that T(d, n/d) = 1 (the largest divisor d that is semiprime to n/d).
The number of divisors of n that are exponentially odd numbers (A268335). - Amiram Eldar, Sep 08 2023

Examples

			The semi-unitary divisors of 8 are 1, 2, 8 (4 is not semi-unitary divisor since the largest divisor of 4 that is a unitary divisor of 8/4 = 2 is 2 > 1), and their number is 3, thus a(8) = 3.
		

References

  • J. Chidambaraswamy, Sum functions of unitary and semi-unitary divisors, J. Indian Math. Soc., Vol. 31 (1967), pp. 117-126.

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := Floor[(e+3)/2]; sud[n_] := If[n==1, 1, Times @@ (f @@@ FactorInteger[n])]; Array[sud, 100]
  • PARI
    a(n) = {my(f = factor(n)); for (k=1, #f~, f[k,1] = (f[k,2]+3)\2; f[k,2] = 1;); factorback(f);} \\ Michel Marcus, Dec 14 2018
    
  • PARI
    for(n=1, 100, print1(direuler(p=2, n, 1/(1-X) * 1/(1-X^2) * (1 + X - X^2))[n], ", ")) \\ Vaclav Kotesovec, Sep 06 2023

Formula

Multiplicative with a(p^e) = floor((e+3)/2).
a(n) <= A000005(n) with equality if and only if n is squarefree (A005117).
a(n) = Sum_{d|n} mu(d/gcd(d, n/d))^2. - Ilya Gutkovskiy, Feb 21 2020
a(n) = A000005(A019554(n)) (the number of divisors of the smallest number whose square is divisible by n). - Amiram Eldar, Sep 02 2023
From Vaclav Kotesovec, Sep 06 2023: (Start)
Dirichlet g.f.: zeta(s) * zeta(2*s) * Product_{p prime} (1 + 1/p^s - 1/p^(2*s)).
Dirichlet g.f.: zeta(s)^2 * zeta(2*s) * Product_{p prime} (1 - 2/p^(2*s) + 1/p^(3*s)).
Let f(s) = Product_{p prime} (1 - 2/p^(2*s) + 1/p^(3*s)).
Sum_{k=1..n} a(k) ~ Pi^2 * f(1) * n / 6 * (log(n) + 2*gamma - 1 + 12*zeta'(2)/Pi^2 + f'(1)/f(1)), where
f(1) = Product_{p prime} (1 - 2/p^2 + 1/p^3) = A065464 = 0.42824950567709444...,
f'(1) = f(1) * Sum_{p prime} (4*p-3) * log(p) / (p^3 - 2*p + 1) = 0.808661108949590913395... and gamma is the Euler-Mascheroni constant A001620. (End)

A365498 Dirichlet g.f.: zeta(s) * Product_{p prime} (1 + 1/p^s - 1/p^(3*s)).

Original entry on oeis.org

1, 2, 2, 2, 2, 4, 2, 1, 2, 4, 2, 4, 2, 4, 4, 1, 2, 4, 2, 4, 4, 4, 2, 2, 2, 4, 1, 4, 2, 8, 2, 1, 4, 4, 4, 4, 2, 4, 4, 2, 2, 8, 2, 4, 4, 4, 2, 2, 2, 4, 4, 4, 2, 2, 4, 2, 4, 4, 2, 8, 2, 4, 4, 1, 4, 8, 2, 4, 4, 8, 2, 2, 2, 4, 4, 4, 4, 8, 2, 2, 1, 4, 2, 8, 4, 4, 4
Offset: 1

Views

Author

Vaclav Kotesovec, Sep 06 2023

Keywords

Comments

The number of unitary divisors of n that are cubefree numbers (A004709). - Amiram Eldar, Sep 06 2023

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := If[e <= 2, 2, 1]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Sep 06 2023 *)
  • PARI
    for(n=1, 100, print1(direuler(p=2, n, 1/(1-X) * (1 + X - X^3))[n], ", "))

Formula

Dirichlet g.f.: zeta(s)^2 * Product_{p prime} (1 - 1/p^(2*s) - 1/p^(3*s) + 1/p^(4*s)).
Let f(s) = Product_{p prime} (1 - 1/p^(2*s) - 1/p^(3*s) + 1/p^(4*s)).
Sum_{k=1..n} a(k) ~ f(1) * n * (log(n) + 2*gamma - 1 + f'(1)/f(1)), where
f(1) = Product_{p prime} (1 - 1/p^2 - 1/p^3 + 1/p^4) = 0.5358961538283379998085026313185459506482223745141452711510108346133288...,
f'(1) = f(1) * Sum_{p prime} (-4 + 3*p + 2*p^2) * log(p) / (1 - p - p^2 + p^4) = f(1) * 1.4525924794451595590371439593828547341482465114411929136723476679...
and gamma is the Euler-Mascheroni constant A001620.
Multiplicative with a(p^e) = 2 if e <= 2, and 1 otherwise. - Amiram Eldar, Sep 06 2023
From Vaclav Kotesovec, Jan 27 2025: (Start)
Following formulas have been conjectured for this sequence by Sequence Machine, with each one giving the first 1000000 terms correctly:
a(n) = A056671(n) * A368885(n).
a(n) = A034444(n) / A368248(n).
a(n) = A158522(n) / A307428(n).
a(n) = A369310(n) / A190867(n).
a(n) = A286324(n) / A368172(n). (End)

A369310 The number of divisors d of n such that gcd(d, n/d) is a powerful number.

Original entry on oeis.org

1, 2, 2, 2, 2, 4, 2, 2, 2, 4, 2, 4, 2, 4, 4, 3, 2, 4, 2, 4, 4, 4, 2, 4, 2, 4, 2, 4, 2, 8, 2, 4, 4, 4, 4, 4, 2, 4, 4, 4, 2, 8, 2, 4, 4, 4, 2, 6, 2, 4, 4, 4, 2, 4, 4, 4, 4, 4, 2, 8, 2, 4, 4, 5, 4, 8, 2, 4, 4, 8, 2, 4, 2, 4, 4, 4, 4, 8, 2, 6, 3, 4, 2, 8, 4, 4, 4
Offset: 1

Views

Author

Amiram Eldar, Jan 19 2024

Keywords

Comments

First differs from A365488 at n = 32, and from A365171 at n = 64.

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := If[e <= 3, 2, e - 1]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
  • PARI
    a(n) = vecprod(apply(x -> if(x <= 3, 2, x-1), factor(n)[, 2]));
    
  • Python
    from math import prod
    from sympy import factorint
    def A369310(n): return prod(2 if e<=2 else e-1 for e in factorint(n).values()) # Chai Wah Wu, Jan 19 2024

Formula

Multiplicative with a(p^e) = 2 if e <= 3, and e-1 otherwise.
a(n) >= A034444(n), with equality if and only if n is biquadratefree (A046100).
a(n) <= A000005(n), with equality if and only if n is squarefree (A005117).
Dirichlet g.f.: zeta(s)^2 * f(s), where f(s) = Product_{p prime} (1 - 1/p^(2*s) + 1/p^(4*s)).
Sum_{k=1..n} a(k) ~ f(1) * n * (log(n) + 2*gamma - 1 + f'(1)/f(1)), where
f(1) = Product_{p prime} (1 - 2/p^2 + 1/p^4) = 0.66922021803510257394...,
f'(1)/f(1) = 2 * Sum_{p prime} (p^2-2) * log(p) / (p^4 - p^2 + 1) = 0.81150060034711480230..., and gamma is Euler's constant (A001620).

A365489 The number of divisors of the smallest cube divisible by n.

Original entry on oeis.org

1, 4, 4, 4, 4, 16, 4, 4, 4, 16, 4, 16, 4, 16, 16, 7, 4, 16, 4, 16, 16, 16, 4, 16, 4, 16, 4, 16, 4, 64, 4, 7, 16, 16, 16, 16, 4, 16, 16, 16, 4, 64, 4, 16, 16, 16, 4, 28, 4, 16, 16, 16, 4, 16, 16, 16, 16, 16, 4, 64, 4, 16, 16, 7, 16, 64, 4, 16, 16, 64, 4, 16, 4
Offset: 1

Views

Author

Amiram Eldar, Sep 05 2023

Keywords

Comments

The number of divisors of the cube root of the smallest cube divisible by n, A019555(n), is A365488(n).

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := 3*Ceiling[e/3] + 1; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
  • PARI
    a(n) = vecprod(apply(x -> 3*((x-1)\3) + 4, factor(n)[, 2]));

Formula

a(n) = A000005(A053149(n)).
Multiplicative with a(p^e) = 3*ceiling(e/3) + 1.
Dirichlet g.f.: zeta(s) * zeta(3*s) * Product_{p prime} (1 + 3/p^s - 1/p^(3*s)).

A386470 The number of divisors of n whose exponents in their prime factorization are squares.

Original entry on oeis.org

1, 2, 2, 2, 2, 4, 2, 2, 2, 4, 2, 4, 2, 4, 4, 3, 2, 4, 2, 4, 4, 4, 2, 4, 2, 4, 2, 4, 2, 8, 2, 3, 4, 4, 4, 4, 2, 4, 4, 4, 2, 8, 2, 4, 4, 4, 2, 6, 2, 4, 4, 4, 2, 4, 4, 4, 4, 4, 2, 8, 2, 4, 4, 3, 4, 8, 2, 4, 4, 8, 2, 4, 2, 4, 4, 4, 4, 8, 2, 6, 3, 4, 2, 8, 4, 4, 4
Offset: 1

Views

Author

Amiram Eldar, Jul 22 2025

Keywords

Comments

First differs from A365171 and A369310 at n = 32.
First differs from A365488 at n = 128.
The number of terms in A197680 that divide n.
The sum of these divisors is A386471(n) and the largest of them is A386469(n).

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := Floor[Sqrt[e]] + 1; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
  • PARI
    a(n) = vecprod(apply(x -> sqrtint(x) + 1, factor(n)[, 2]));

Formula

Multiplicative with a(p^e) = A048760(e) + 1.
a(n) <= A000005(n), with equality if and only if n is squarefree (A005117).
Showing 1-5 of 5 results.