<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Math on Adam Hacks</title><link>https://hackeradam.com/blog/math/</link><description>Recent content in Math on Adam Hacks</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Mon, 11 Jan 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://hackeradam.com/blog/math/index.xml" rel="self" type="application/rss+xml"/><item><title>A Brief Review of Set Theory</title><link>https://hackeradam.com/blog/a-brief-review-of-set-theory/</link><pubDate>Mon, 11 Jan 2021 00:00:00 +0000</pubDate><guid>https://hackeradam.com/blog/a-brief-review-of-set-theory/</guid><description>&lt;p&gt;Set theory is the branch of mathematics that, unsurprisingly, deals with sets. It’s an area of great importance in a number of fields, including computer science.&lt;/p&gt;
&lt;p&gt;In this post, I’ll go over a brief review of basic set theory as it pertains to those pursuing an interest in computer science. Let’s just jump right in!&lt;/p&gt;</description></item><item><title>Boolean Algebra Cheat Sheet</title><link>https://hackeradam.com/blog/boolean-algebra-cheat-sheet/</link><pubDate>Mon, 20 Apr 2020 00:00:00 +0000</pubDate><guid>https://hackeradam.com/blog/boolean-algebra-cheat-sheet/</guid><description>&lt;p&gt;I previously posted a &lt;a href="https://hackeradam.com/blog/logic-rules-cheat-sheet/"&gt;logic rules cheat sheet&lt;/a&gt; and figured it was about time that I do the same for boolean algebra.&lt;/p&gt;</description></item><item><title>Logic Rules Cheat Sheet</title><link>https://hackeradam.com/blog/logic-rules-cheat-sheet/</link><pubDate>Sun, 02 Feb 2020 00:00:00 +0000</pubDate><guid>https://hackeradam.com/blog/logic-rules-cheat-sheet/</guid><description>&lt;p&gt;When working with logic in discrete math appliations there are a plethora of rules you can use for working with the &lt;a href="https://en.wikipedia.org/wiki/Well-formed_formula"&gt;well formed formulas&lt;/a&gt;. Remembering them all can be a daunting task, which is why I like to have a cheat sheet available. As such, here’s a simple one that I like to use when working with these problems.&lt;/p&gt;</description></item><item><title>CS Review - Binary Numbers</title><link>https://hackeradam.com/blog/cs-review-binary-numbers/</link><pubDate>Tue, 19 Sep 2017 00:00:00 +0000</pubDate><guid>https://hackeradam.com/blog/cs-review-binary-numbers/</guid><description>&lt;p&gt;Welcome to what will be the first in an ongoing series aimed at reviewing computer science topics. Today we will be diving into binary number representation. Understanding binary is an important step in gaining a better understanding of how the computer works on a lower level.&lt;/p&gt;
&lt;p&gt;Recall that a computer is made up a whole bunch of integrated circuits, which are in turn made up of a bunch of transistors. These transistors can have one of two states: on or off. We represent these states as a 1 or a 0, respectively. This means that a computer can only work with two different values, 1s and 0s. This is where binary comes in.&lt;/p&gt;</description></item><item><title>Quickly Generating Primes Below n with the Sieve of Eratosthenes</title><link>https://hackeradam.com/blog/quickly-generating-primes-below-n-with-the-sieve-of-eratosthenes/</link><pubDate>Wed, 17 May 2017 00:00:00 +0000</pubDate><guid>https://hackeradam.com/blog/quickly-generating-primes-below-n-with-the-sieve-of-eratosthenes/</guid><description>&lt;p&gt;The uses for prime numbers in computer science are nearly endless. They are useful for everything from hashing, cryptology, factorization, and all sorts of applications in-between.&lt;/p&gt;
&lt;p&gt;There exists a great number of algorithms that allow us to quickly generate primes, but today we are going to take a look at a popular method known as a &lt;strong&gt;prime sieve&lt;/strong&gt;. There are a number of different implementations of prime sieves, but one of the simplest to implement is known as the &lt;a href="https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes"&gt;Sieve of Eratosthenes&lt;/a&gt;. This algorithm is great for quickly generating smaller prime numbers (but it may not be the best choice for generating very large primes).&lt;/p&gt;</description></item></channel></rss>