login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A182471 If n = Product (p_j^k_j), j=1 to m, then a(n) = Floor( Sum (p_j + k_j) / 2m ) (a(1) = 0 by convention). 0
0, 1, 2, 2, 3, 1, 4, 2, 2, 2, 6, 2, 7, 2, 2, 3, 9, 2, 10, 2, 3, 3, 12, 2, 3, 4, 3, 3, 15, 2, 16, 3, 4, 5, 3, 2, 19, 5, 4, 2, 21, 2, 22, 4, 2, 6, 24, 2, 4, 2, 5, 4, 27, 2, 4, 3, 6, 8, 30, 2, 31, 8, 3, 4, 5, 3, 34, 5, 7, 2, 36, 2, 37, 10, 2, 6, 5, 3, 40, 3, 3 (list; graph; refs; listen; history; text; internal format)
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.
LINKS
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
Sequence in context: A072078 A322316 A260439 * A078378 A141197 A035207
KEYWORD
nonn
AUTHOR
Douglas Latimer, May 01 2012
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)