login

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”).

A283474
a(0) = 0, a(1) = 1, for n > 1, a(n) = a(n-1) + a(n-A002487(n)).
4
0, 1, 2, 3, 6, 8, 14, 20, 40, 48, 68, 82, 150, 190, 272, 354, 708, 858, 1130, 1280, 2138, 2328, 3186, 3894, 7080, 8210, 10538, 11818, 20028, 23214, 33752, 44290, 88580, 100398, 123612, 134150, 222730, 233268, 277558, 300772, 534040, 567792, 691404, 725156, 1025928, 1126326, 1427098, 1704656, 3131754, 3665794
OFFSET
0,3
LINKS
FORMULA
a(0) = 0, a(1) = 1, for n > 1, a(n) = a(n-1) + a(A284013(n)).
PROG
(Scheme, with memoization-macro definec)
(definec (A283474 n) (if (<= n 1) n (+ (A283474 (- n 1)) (A283474 (- n (A002487 n))))))
CROSSREFS
Cf. A283479 (first differences).
Sequence in context: A106182 A360621 A097097 * A206370 A297416 A304484
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 23 2017
STATUS
approved