OFFSET
0,5
COMMENTS
a(2p) = 1 for any prime p implies p,p+2 form a twin prime pair. - Kevin J. Gomez, Aug 29 2017
LINKS
T. D. Noe and Alois P. Heinz, Table of n, a(n) for n = 0..10000 (first 2000 terms from T. D. Noe)
Victor Ufnarovski and Bo Ã…hlander, How to Differentiate a Number, J. Integer Seqs., Vol. 6, 2003.
FORMULA
MAPLE
d:= n-> n*add(i[2]/i[1], i=ifactors(n)[2]):
a:= n-> d(d(n));
seq(a(n), n=0..100); # Alois P. Heinz, Aug 29 2017
MATHEMATICA
dn[0]=0; dn[1]=0; dn[n_]:=Module[{f=Transpose[FactorInteger[n]]}, If[PrimeQ[n], 1, Plus@@(n*f[[2]]/f[[1]])]]; Table[dn[dn[n]], {n, 100}] (T. D. Noe)
f[n_] := If[ Abs@ n < 2, 0, n*Total[#2/#1 & @@@ FactorInteger[Abs@ n]]]; Table[ f[ f[ n]], {n, 81}] (* Robert G. Wilson v, May 12 2012 *)
PROG
(Haskell)
a068346 = a003415 . a003415 -- Reinhard Zumkeller, Nov 10 2013
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Reinhard Zumkeller, Feb 28 2002
EXTENSIONS
More terms from T. D. Noe, Oct 12 2004
STATUS
editing