A382488 The number of unitary 3-smooth divisors of n.
1, 2, 2, 2, 1, 4, 1, 2, 2, 2, 1, 4, 1, 2, 2, 2, 1, 4, 1, 2, 2, 2, 1, 4, 1, 2, 2, 2, 1, 4, 1, 2, 2, 2, 1, 4, 1, 2, 2, 2, 1, 4, 1, 2, 2, 2, 1, 4, 1, 2, 2, 2, 1, 4, 1, 2, 2, 2, 1, 4, 1, 2, 2, 2, 1, 4, 1, 2, 2, 2, 1, 4, 1, 2, 2, 2, 1, 4, 1, 2, 2, 2, 1, 4, 1, 2, 2
Offset: 1
Links
- Amiram Eldar, Table of n, a(n) for n = 1..1000
- Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,1).
Crossrefs
Programs
-
Mathematica
Table[{1, 2, 2, 2, 1, 4}, {12}] // Flatten
-
PARI
a(n) = [1, 2, 2, 2, 1, 4][(n-1) % 6 + 1];
Formula
Multiplicative with a(p^e) = 2 if p <= 3, and 1 otherwise.
a(n) = abs(A181982(n+9)).
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = 2.
G.f.: -(4*x^6 + x^5 + 2*x^4 + 2*x^3 +2*x^2 + x)/(x^6 - 1).
Dirichlet g.f.: (1 + 1/2^s) * (1 + 1/3^s) * zeta(s).
Comments