From 1af94ccf6fe788e2c2f4ff3fa050a0008d81fff8 Mon Sep 17 00:00:00 2001 From: chestamittal <53469607+chestamittal@users.noreply.github.com> Date: Wed, 21 Oct 2020 22:15:06 +0530 Subject: [PATCH] Update math/lcm_sum.cpp Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com> --- math/lcm_sum.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/math/lcm_sum.cpp b/math/lcm_sum.cpp index d9c61fb95..60bac3283 100644 --- a/math/lcm_sum.cpp +++ b/math/lcm_sum.cpp @@ -1,6 +1,6 @@ /** * @file - * @brief An algorithm to calculate the sum of LCM: \f$\mathrm{LCM}(1,n) + \mathrm{LCM}(2,n) + .. + \mathrm{LCM}(n,n)\f$ + * @brief An algorithm to calculate the sum of LCM: \f$\mathrm{LCM}(1,n) + \mathrm{LCM}(2,n) + \ldots + \mathrm{LCM}(n,n)\f$ * @details An algorithm to calculate the sum of LCM: \f$\mathrm{LCM}(1,n) + \mathrm{LCM}(2,n) + .. + \mathrm{LCM}(n,n)\f$ where \f$\mathrm{LCM}(i,n)\f$ * denotes the Least Common Multiple of the integers i and n. For n greater than or equal to 1. * The value of the sum is calculated by formula: