|
|
A260624
|
|
a(n) = arithmetic derivative of the n-th composite number.
|
|
3
|
|
|
4, 5, 12, 6, 7, 16, 9, 8, 32, 21, 24, 10, 13, 44, 10, 15, 27, 32, 31, 80, 14, 19, 12, 60, 21, 16, 68, 41, 48, 39, 25, 112, 14, 45, 20, 56, 81, 16, 92, 22, 31, 92, 33, 51, 192, 18, 61, 72, 26, 59, 156, 39, 55, 80, 18, 71, 176, 108, 43, 124, 22, 45, 32, 140, 123
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
The second composite number is 6. 6 = 2 * 3. 6' = 2*3' + 3*2' = 3 * 1 + 2 * 1 = 3 + 2 = 5, so a(2) = 5.
|
|
MATHEMATICA
|
lim = 120; f[n_] := If[Abs@ n < 2, 0, n Total[#2/#1 & @@@ FactorInteger[Abs@ n]]]; f /@ Rest@ Complement[Range@ lim, Prime@ Range@ PrimePi@ lim] (* Michael De Vlieger, Oct 07 2015, after Michael Somos at A003415 *)
|
|
PROG
|
(PARI) forcomposite(n=1, 100, if((a(n) = local(fac); if(n<1, 0, fac=factor(n); sum(i=1, matsize(fac)[1], n*fac[i, 2]/fac[i, 1]))), print1(a(n)", "))); \\ Altug Alkan, Oct 06 2015
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|