The Beard Sage

  • Machine Learning
  • Computer Architecture
  • Theoretical Computer Science
  • About Me

Post Category → Theoretical Computer Science

Ternary representation of an integer that is a multiple of 5

posted in Theoretical Computer Science on February 4, 2020 by TheBeard 0 Comments

A step-by-step intuitive explanation for building a DFA to accept ternary numbers that are multiples of 5. A general formula is derived and using that, the transition table of the DFA is computed.

Continue reading →

Ternary representation of an integer that is a multiple of 3 but not a multiple of 9

posted in Theoretical Computer Science on February 1, 2020 by TheBeard 0 Comments

This article explores the problem of accepting strings in ternary format that are a multiple of 3 but not a multiple of 9. Listing out the ternary numbers brings out a pattern for such strings which is expressed as a regular expression and an NFA.

Continue reading →

Empty String vs Empty Set

posted in Theoretical Computer Science on January 28, 2020 by TheBeard 2 Comments

This article explores the differences between the empty string and the empty set. This is followed by few examples of regular operations on these concepts.

Continue reading →

Uncommon Deterministic Finite Automata

posted in Theoretical Computer Science on January 25, 2020 by TheBeard 0 Comments

Analyzing the formal definition of a deterministic finite automaton (DFA) more closely can result in some uncommon machines. This article explores some extreme cases and the resulting DFAs.

Continue reading →
Newer posts →
Copyright (C) 2021. All rights reserved.