Skip to content

The Dummy Programmer

Stories of daily programming

  • Home
  • The Dummy Programmer Robot
    • Overview
    • Version history & downloads
    • Tutorials
      • TDP Robot – The basics
      • A simple SQL Server backup solution
      • A simple SQL Server backup solution – A next step
  • My other dummy projects
  • Games
    • Space Y: An Asteroids clone
  • Services
    • What’s my user agent
    • What’s my IP address
  • About
  • Toggle search form

Category: Mathematics

The Goldbach’s conjecture

Sometimes I like reading about (simple) mathematical problems and today I want to talk to you about a problem I encountered while reading a math book: the Goldbach’s conjecture. I admit that this is a topic that probably won’t be very useful in our life as programmers, but I find it fascinating and curious and…

Read More “The Goldbach’s conjecture” »

Mathematics

Sum the first N numbers in your program

Today I want to talk about a little math trick… sum the first N numbers, where N is an arbitrary number of your choice. To do the job, you may be tempted to use a loop, something similar to the code below (in C#): int result = 0; for (int i = 1; i <=…

Read More “Sum the first N numbers in your program” »

Mathematics

Copyright © 2023 The Dummy Programmer | Privacy Policy | Terms of use |

Powered by PressBook Masonry Dark