|
|
A071187
|
|
Smallest prime factor of number of divisors of n; a(1) = 1.
|
|
7
|
|
|
1, 2, 2, 3, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 5, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 7, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = 2. - Amiram Eldar, Jan 15 2024
|
|
EXAMPLE
|
324 = 18^2 = 2^2 * 3^4 has (2+1)*(4+1) = 3 * 5 = 15 divisors, thus a(324) = A020639(15) = 3. - Antti Karttunen, Nov 18 2019
|
|
MATHEMATICA
|
a[n_] := FactorInteger[DivisorSigma[0, n]][[1, 1]]; Array[a, 90] (* Jean-François Alcover, Oct 01 2016 *)
|
|
PROG
|
(PARI) first(n) = my(v = vector(n, i, 2)); for(i=1, sqrtint(n), v[i^2] = numdiv(i^2)); v
|
|
CROSSREFS
|
Differs from A329614 for the first time at n=324, where a(324) = 3, while A329614(324) = 5. A329613 gives the positions of differences.
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|