Formula - Sum of N Natural numbers https://www.intellectualpedia.org/ en Formula - Sum of N Natural numbers https://www.intellectualpedia.org/ryanjbridglal-formula-sum-n-natural-numbers <span>Formula - Sum of N Natural numbers</span> <span><span>RyanJBridglal</span></span> <span><time datetime="2023-10-04T04:03:58+00:00" title="Wednesday, October 4, 2023 - 04:03">Wed, 10/04/2023 - 04:03</time> </span> <div class="text-content clearfix field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Formula - Sum of N Natural numbers.</p><p>Defined as a form of arithmetic progression where the sum of n terms are arranged in a sequence with the first term being 1, n being the number of terms along with the nth term. The sum of n natural numbers is represented as <strong>[n(n+1)]/2</strong>.</p><p> </p><p>Using R in Statistical Programming.</p><p>Assign N a # , THEN apply the formula:</p><p>n &lt;- 25</p><p>n*(n+1)/2</p><p>OUTPUT</p><p>325</p><p> </p><p> </p><p>----</p><p>325 is the sum of the first 25 integers.</p><p> </p></div> <section data-drupal-selector="comments" class="comments"> <h2 class="comments__title">Blog comments</h2> </section> <div class="field field--name-field-blog-tags field--type-entity-reference field--label-above"> <div class="field__label">Blog tags</div> <div class="field__items"> <div class="field__item"><a href="/taxonomy/term/12" hreflang="en">R Programming</a></div> <div class="field__item"><a href="/taxonomy/term/16" hreflang="en">Formula - Sum of N Natural numbers</a></div> </div> </div> Wed, 04 Oct 2023 04:03:58 +0000 RyanJBridglal 169 at https://www.intellectualpedia.org