OFFSET
1,2
COMMENTS
Replace the Fibonacci rule a(n) = a(n-2) + a(n-1) by a(n) = a(n-2) + (sum of prime factors with repetition of a(n-1)).
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3)=a(1)+A001414(2) = 1+2 = 3. a(4)=2+3=5, a(5)=3+5=8, a(6)=5+6=11; etc.
MATHEMATICA
a[n_]:= a[n] = If[n < 3, n, a[n-2] + Plus @@ Times @@@ FactorInteger@ a[n-1]]; Array[a, 50] (* Giovanni Resta, Apr 24 2016 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
David James Sycamore, Apr 21 2016
EXTENSIONS
a(41)-a(51) from Giovanni Resta, Apr 24 2016
STATUS
approved