---
title: "Discussion on \"Three effective ways to create modulo n integer sequences\" | Hashnode"
description: "Discussion on \"Three effective ways to create modulo n integer sequences\". This post compare 3 different ways of generating modulo n integer sequences: modulo operator, comparison, bitwise and operator."
url: "https://hashnode.com/posts/three-effective-ways-to-create-modulo-n-integer-sequences/612aad4cfd0bf8636d76c6ca"
---

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

Discussion

# [Three effective ways to create modulo n integer sequences](https://blog.francofernando.com/three-effective-ways-to-create-modulo-n-integer-sequences?utm_source=hashnode&utm_medium=feed)

This post compare 3 different ways of generating modulo n integer sequences: modulo operator, comparison, bitwise and operator.

Aug 28, 2021 · 3 min read · blog.francofernando.com  
Updated Aug 30, 2021  
Read the article

-   [#programming](https://hashnode.com/tag/programming)
-   [#math](https://hashnode.com/tag/math)
-   [#cpp](https://hashnode.com/tag/cpp)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)
-   [#mathematics](https://hashnode.com/tag/mathematics)

## Written by

[Franco Fernando](https://hashnode.com/@franc0fernand0)

@franc0fernand0 · Zurich, Switzerland

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

PhD Sr. Software Engineer

I am a senior software engineer with more than 10 years of experience and a PhD in computer vision. I currently work in the healthcare industry developing software for cancer diagnosis and treatment. My tech stack is includes: C/C++, Python, C# and many frameworks and libraries. I love continuously learning new things, creating content and helping other developers to get better.

## Responses 1

Markdown supported · ⌘↵ to post

[Code Igniter](https://hashnode.com/@coder1s)

[Sep 1, 2021](https://hashnode.com/posts/three-effective-ways-to-create-modulo-n-integer-sequences/612aad4cfd0bf8636d76c6ca/comment/612f062a4e9d8114f8ae05f4)

This is an amazing post , welldone!

[Franco Fernando](https://hashnode.com/@franc0fernand0)

[Sep 3, 2021](https://hashnode.com/posts/three-effective-ways-to-create-modulo-n-integer-sequences/612aad4cfd0bf8636d76c6ca/comment/612f062a4e9d8114f8ae05f4#reply-6131ea96c5cdaa5000fb6cac)

Thank you 🙏

I'm happy you've found the post valuable!
