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.

A362852 The number of divisors of n that are both bi-unitary and exponential.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1
Offset: 1

Views

Author

Amiram Eldar, May 05 2023

Keywords

Comments

First differs from A061704 at n = 128, and from A304327 and abs(A307428) at n = 64.
If e > 0 is the exponent of the highest power of p dividing n (where p is a prime), then for each divisor d of n that is both a bi-unitary and an exponential divisor, the exponent of the highest power of p dividing d is a number k such that k | e but k != e/2.
The least term that is higher than 2 is a(64) = 3.
This sequence is unbounded. E.g., a(2^(2^prime(n))) = prime(n).

Examples

			a(8) = 2 since 8 has 2 divisors that are both bi-unitary and exponential: 2 and 8.
		

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := DivisorSigma[0, e] - If[OddQ[e], 0, 1]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
  • PARI
    a(n) = {my(f = factor(n)); prod(i = 1, #f~, numdiv(f[i, 2]) - !(f[i, 2] % 2));}

Formula

Multiplicative with a(p^e) = d(e) if e is odd, and d(e)-1 if e is even, where d(k) is the number of divisors of k (A000005).
a(n) = 1 if and only if n is cubefree (A004709).
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = Product_{p prime} (1 + Sum_{k>=1} (d(k)+(k mod 2)-1)/p^k) = 1.1951330849... .