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

A380396 a(n) is the sum of the unitary divisors of n that are cubes.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 1, 1, 28, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 28, 1, 9, 1, 1, 1, 1, 1, 1, 1, 65, 1, 1, 1, 1, 1, 1, 1, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
Offset: 1

Views

Author

Amiram Eldar, Jan 23 2025

Keywords

Comments

The number of unitary divisors of n that are cubes is A380395(n).

Examples

			a(8) = 9 since 8 has 2 unitary divisors that are cubes, 1 = 1^3 and 8 = 2^3, and 1 + 8 = 9.
a(216) = 252 since 216 has 4 unitary divisors that are cubes, 1 = 1^3, 8 = 2^3, 27 = 3^3 and 216 = 6^3, and 1 + 8 + 27 + 216 = 252.
		

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := If[Divisible[e, 3], p^e + 1, 1]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
  • PARI
    a(n) = {my(f = factor(n)); prod(i = 1, #f~, if(f[i, 2]%3, 1, f[i, 1]^f[i, 2] + 1));}

Formula

a(n) = Sum_{d|n, gcd(d, n/d) = 1} d * [d is cube], where [] is the Iverson bracket.
a(n) >= 1, with equality if and only if n is not in A366761.
a(n) <= A113061(n), with equality if and only if n is biquadratefree (A046100).
Multiplicative with a(p^e) = p^e + 1 if e is divisible by 3, and 1 otherwise.
Sum_{k=1..n} a(k) ~ c * n^(4/3) / 4, where c = zeta(4/3)/zeta(7/3) = 2.54455250463133711749... .
Dirichlet g.f.: zeta(s) * zeta(3*s-3) / zeta(4*s-3).
In general, the average order of the sum of the unitary divisors that are m-powers is c * n^(1+1/m) / (m+1), where c = zeta(1+1/m)/zeta(2+1/m), and its Dirichlet g.f. is zeta(s) * zeta(m*s-m) / zeta((m+1)*s-m), both for m >= 2.

A366762 Numbers whose canonical prime factorization contains only exponents which are congruent to 1 modulo 3.

Original entry on oeis.org

1, 2, 3, 5, 6, 7, 10, 11, 13, 14, 15, 16, 17, 19, 21, 22, 23, 26, 29, 30, 31, 33, 34, 35, 37, 38, 39, 41, 42, 43, 46, 47, 48, 51, 53, 55, 57, 58, 59, 61, 62, 65, 66, 67, 69, 70, 71, 73, 74, 77, 78, 79, 80, 81, 82, 83, 85, 86, 87, 89, 91, 93, 94, 95, 97, 101, 102
Offset: 1

Views

Author

Amiram Eldar, Oct 21 2023

Keywords

Comments

First differs from A274034 at n = 42, and from A197680 and A361177 at n = 84.
The asymptotic density of this sequence is zeta(3) * Product_{p prime} (1 - 1/p^2 - 1/p^3 + 1/p^4) = A002117 * A330523 = A253905 * A065465 = 0.644177671086029533405... .

Crossrefs

Similar sequences with exponents of a given form: A000290 (2*k), A268335 (2*k+1), A000578 (3*k), A182120 (3*k+2).

Programs

  • Mathematica
    q[n_] := AllTrue[FactorInteger[n][[;; , 2]], Mod[#, 3] == 1 &]; Select[Range[120], q]
  • PARI
    is(n) = {my(f = factor(n)); for(i = 1, #f~, if(f[i, 2]%3 != 1, return(0))); 1;}

Formula

Sum_{n>=1} 1/a(n)^s = zeta(3*s) * Product_{p prime} (1 + 1/p^s - 1/p^(3*s)), for s > 1.

A380395 The number of unitary divisors of n that are cubes.

Original entry on oeis.org

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

Views

Author

Amiram Eldar, Jan 23 2025

Keywords

Comments

First differs from A318672 at n = 64.
The sum of unitary divisors of n that are cubes is A380396(n).

Examples

			a(8) = 2 since 8 has 2 unitary divisors that are cubes, 1 = 1^3 and 8 = 2^3.
a(216) = 4 since 216 has 4 unitary divisors that are cubes, 1 = 1^3, 8 = 2^3, 27 = 3^3 and 216 = 6^3.
		

Crossrefs

Programs

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

Formula

a(n) = Sum_{d|n, gcd(d, n/d) = 1} [d is cube], where [] is the Iverson bracket.
Multiplicative with a(p^e) = 2 is e is divisible by 3, and 1 otherwise.
a(n) = abs(A307427(n)).
a(n) = A061704(n) - A380397(n).
a(n) >= 1, with equality if and only if n is not in A366761.
a(n) <= A061704(n), with equality if and only if n is biquadratefree (A046100).
Dirichlet g.f.: zeta(s)*zeta(3*s)/zeta(4*s).
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = zeta(3)/zeta(4) = 1.11062653532614811717... .
In general, the asymptotic mean of the number of unitary divisors of n that are m-th powers is zeta(m)/zeta(m+1), for m >= 2.
Showing 1-3 of 3 results.