|
|
A134875
|
|
a(n)=the smallest sum of two nontrivial divisors of n, if any, whose product equals n; otherwise, a(n)=n.
|
|
0
|
|
|
1, 2, 3, 4, 5, 5, 7, 6, 6, 7, 11, 7, 13, 9, 8, 8, 17, 9, 19, 9, 10, 13, 23, 10, 10, 15, 12, 11, 29, 11, 31, 12, 14, 19, 12, 12, 37, 21, 16, 13, 41, 13, 43, 15, 14, 25, 47, 14, 14, 15, 20, 17, 53, 15, 16, 15, 22, 31, 59, 16, 61, 33, 16, 16, 18, 17, 67, 21, 26, 17, 71, 17, 73, 39, 20
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
A divisor of n other than 1 or n is called nontrivial.
|
|
LINKS
|
|
|
EXAMPLE
|
There are two ways to write 12 as a product of two nontrivial divisors, i.e., 6*2 and 4*3. Since 8=6+2>4+3=7, we have a(12)=7.
|
|
MATHEMATICA
|
Table[If[Length[Divisors[n]] > 2, Min[Table[Divisors[n][[j]] + n/Divisors[n][[j]], {j, 2, Length[Divisors[n]] - 1}]], n], {n, 1, 100}] (* Stefan Steinerberger, Feb 04 2008 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|