reviewed
approved
Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
reviewed
approved
proposed
reviewed
editing
proposed
(PARI) alist(N) = my(r, d); vector(N, n, r+=if(2<#d=divisors(n), d[#d-1], d[#d])); \\ _Ruud H.G. van Tol_, Jul 11 2024
(PARI) alist(N) = my(r, d); vector(N, n, r+=if(2<#d=divisors(n), d[#d-1], d[#d]));
approved
editing
James C. McMahon, <a href="/A373083/b373083_1.txt">Table of n, a(n) for n = 1..1000</a>
proposed
approved
editing
proposed
a(n) = a(n-1) + A117818(n) for n > 1. - Michael De Vlieger, Jun 23 2024
From Michael De Vlieger, Jun 23 2024: (Start)
Let lpf = A020639(n).
a(2) = 3 since 2 is prime, therefore a(1) + 2 = 3.
a(3) = 6 since 3 is prime, therefore a(2) + 3 = 6.
a(4) = 8 since 4 is not prime, therefore a(3) + 4/lpf(4) = 6 + 2 = 8.
a(5) = 13 since 5 is prime, therefore a(4) + 5 = 13.
a(6) = 16 since 6 is not prime, hence a(5) + 6/lpf(6) = 13 + 3 = 16, etc. (End)
nonn,easy,changed
proposed
editing
editing
proposed