This document discusses gene motifs and algorithms for finding motifs in DNA sequences. It defines a gene as a segment of DNA that encodes a protein, and a motif as a conserved element in a protein sequence alignment that correlates with a function. It describes exact and non-exact matching algorithms for finding motifs, including brute force searching all possible motif positions and planted motif search (PMS) algorithms. PMS works by generating all possible short subsequences (l-mers) from each input sequence and finding the common motif.