title: Hash function for specific set of Integers
body: <p>I have a specific set of Integers which are: 2, 10, 13, 15, 23, 34, 43, 58, 100, 123, 199, 200 and 348. The task is to create a 1 line hash function that could at least map 9 values in the indexes 0 to 12.</p>
  
  <p>So far the hash functions I've made are: </p>
  
  <ol>
  <li><code>hash = value%13</code></li>
  <li><code>hash = (value+array[indexOfValue])%13</code></li>
  <li><code>hash = array[indexOfValue]</code></li>
  </ol>
  
  <p>Number 3 is something that might get me scold at but it seems acceptable to me so I might as well give it as an answer. Oh and I'm not supposed to use any collision resolution method. </p>
  
  <p>EDIT: So any suggestions on what hash function should I make? </p>
  
  <p>EDIT: I found a function that would map all the values from 0 to 12 and it's :<code>((((x*7)+x)%7)+x)%13</code></p>