OFFSET
1,3
COMMENTS
a(n) = k (a selected constant) for only a finite number of values of n. The maximal value of n for a desired value of a(n) grows rapidly.
Thus for a(n)=2, n=2^1*3^1*5^5 is maximal.
For a(n)=3, n=2^1*3^1*5^1*7^11 is maximal.
EXAMPLE
21 = (3^1)(7^1), with 2 distinct prime factors. Floor(((3+1)+(7+1))/(2*2)) = 3, thus a(21) = 3.
PROG
(PARI) {for(k=2, 175,
M=factor(k); smt = 0; h = 0;
for(i=1, matsize(M)[1], for(j=1, matsize(M)[2], smt=smt+M[i, j]; h++));
print1( floor(smt/h), ", "))} \\\ Douglas Latimer, Apr 30 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
Douglas Latimer, May 01 2012
STATUS
approved