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.

Previous Showing 11-12 of 12 results.

A365551 The number of exponentially odd divisors of the smallest exponentially odd number divisible by n.

Original entry on oeis.org

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

Views

Author

Amiram Eldar, Sep 08 2023

Keywords

Comments

First differs from A049599 and A282446 at n = 32, and from A353898 at n = 64.

Crossrefs

Programs

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

Formula

a(n) = A322483(A356191(n)).
Multiplicative with a(p^e) = ceiling((e+3)/2).
Dirichlet g.f.: zeta(s) * zeta(2*s) * Product_{p prime} (1 + 1/p^s - 1/p^(3*s)).
From Vaclav Kotesovec, Sep 09 2023: (Start)
Let f(s) = Product_{p prime} (1 - 1/p^(2*s) - 1/p^(3*s) + 1/p^(4*s)).
Dirichlet g.f.: zeta(s)^2 * zeta(2*s) * f(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 - 1/p^2 - 1/p^3 + 1/p^4) = 0.5358961538283379998085026313185459506482223745141452711510108346133288119...,
f'(1) = f(1) * Sum_{p prime} (-4 + 3*p + 2*p^2) * log(p) / (1 - p - p^2 + p^4) = f(1) * 1.452592479445159559037143959382854734148246511441192913672347667991...
and gamma is the Euler-Mascheroni constant A001620. (End)

A333267 If n = Product (p_j^k_j) then a(n) = Product (a(pi(p_j)) * k_j), where pi = A000720.

Original entry on oeis.org

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

Views

Author

Ilya Gutkovskiy, Mar 13 2020

Keywords

Examples

			a(36) = a(2^2 * 3^2) = a(prime(1)^2 * prime(2)^2) = a(1) * 2 * a(2) * 2 = 4.
		

Crossrefs

Programs

  • Maple
    a:= proc(n) option remember;
          mul(a(numtheory[pi](i[1]))*i[2], i=ifactors(n)[2])
        end:
    seq(a(n), n=1..120);  # Alois P. Heinz, Mar 13 2020
  • Mathematica
    a[1] = 1; a[n_] := a[n] = Times @@ (a[PrimePi[#[[1]]]] #[[2]] & /@ FactorInteger[n]); Table[a[n], {n, 1, 100}]

Formula

a(n) = A005361(n) * Product_{p|n, p prime} a(pi(p)).
a(n) = a(prime(n)).
a(p^k) = k * a(p), where p is prime.
a(A002110(n)) = Product_{k=1..n} a(k).
Previous Showing 11-12 of 12 results.