---
title: "Discussion on \"The Sum of the first n positive integers in Nasm x86_64\" | Hashnode"
description: "Discussion on \"The Sum of the first n positive integers in Nasm x86_64\". In this mini project, we code the sum of the first n integers using Gauss’ formula.\nShort Preview of Gauss’ formula\nSay, we need to sum the first 20 positive integers. The sum, S is given as;\n\\(S = 1+2+3+…+20\\) —————- (1)\nNote also that the sum can b..."
url: "https://hashnode.com/posts/the-sum-of-the-first-n-positive-integers-in-nasm-x8664/6937e502bf2a6fa7c5460f4d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The Sum of the first n positive integers in Nasm x86\_64](https://baremetal-bytes.hashnode.dev/the-sum-of-the-first-n-positive-integers-in-nasm-x8664?utm_source=hashnode&utm_medium=feed)

In this mini project, we code the sum of the first n integers using Gauss’ formula. Short Preview of Gauss’ formula Say, we need to sum the first 20 positive integers. The sum, S is given as; \\(S = 1+2+3+…+20\\) —————- (1) Note also that the sum can b...

Dec 9, 2025 · 4 min read · baremetal-bytes.hashnode.dev  
Read the article

-   [#nasm-x64](https://hashnode.com/tag/nasm-x64)

## Written by

[Rawley Amankwah](https://hashnode.com/@rawleyperetz)

@rawleyperetz · DE

  
[View profile](https://hashnode.com/@rawleyperetz)

A Curious Mathematician

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
