OFFSET
1,2
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
EXAMPLE
a(1) = 0*(1+2) = 0;
a(2) = 3*(2+2) = 12;
a(3) = 5*(2+3) = 25;
a(4) = 7*(2+3) = 35;
a(5) = 3*(2+2) = 12;
a(6) = 5*(11+2) = 65;
a(7) = 2*(3+13) = 32;
a(8) = 2*(7+3) = 20; etc.
MATHEMATICA
#1 (#2 + #3) & @@ # & /@ Partition[#, 3, 3] &@ Flatten[{0}~Join~Array[Map[If[Last@ # == 1, First@ #, #] &, FactorInteger@ #] &, 89]] (* Michael De Vlieger, Jan 01 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Oct 31 2008
EXTENSIONS
Entries checked by R. J. Mathar, Apr 25 2010
STATUS
approved