A236856 Partial sums of A003418 starting summing from A003418(1), with a(0) = 0.
0, 1, 3, 9, 21, 81, 141, 561, 1401, 3921, 6441, 34161, 61881, 422241, 782601, 1142961, 1863681, 14115921, 26368161, 259160721, 491953281, 724745841, 957538401, 6311767281, 11665996161, 38437140561, 65208284961, 145521718161, 225835151361, 2554924714161
Offset: 0
Keywords
Links
- Antti Karttunen, Table of n, a(n) for n = 0..250
Programs
-
Mathematica
Prepend[Accumulate @ Table[LCM @@ Range[n], {n, 1, 30}], 0] (* Amiram Eldar, Sep 19 2022 *)
-
Scheme
(define (A236856 n) (if (< n 2) n (+ (A236856 (- n 1)) (A003418 n))))
Formula
a(n) = A173185(n)-1.
Comments