title: populate 2d array with odd numbers java
body: <p>I need to populate a 2d array with odd numbers.</p>
  
  <p>I want it to look like this</p>
  
  <pre><code>13579
  13579
  13579
  13579
  </code></pre>
  
  <p>This is what I have so far:</p>
  
  <pre><code>    public static void twoDArray(){
  
      //http://stackoverflow.com/questions/11243774/how-to-automatically-populate-a-2d-array-with-numbers
      int twoDimention[][] = new int[5][3];
  
      for(int i=0; i&lt;twoDimention.length; i++){
          for(int j=0; j&lt;twoDimention[i].length; j++){
              twoDimention[i][j] = 2*i + 1;
  
  
              System.out.printf("%d5", twoDimention[i][j]);
          }
          System.out.println();
      }
  </code></pre>
  
  <p>It prints:</p>
  
  <pre><code>1515151515
  3535353535
  5555555555
  7575757575
  9595959595
  </code></pre>
  
  <p>Can someone help make this work? </p>