title: How to print specific numbers from a for loop using Kotlin
body: <p>So I am fairly new to Kotlin and I need to generate specific numbers from a for loop of 1 to 13.</p>
  
  <p>For the first output I need only odd numbers</p>
  
  <p>For the second output I need numbers 2, 5, 8, 11, 14, 19 and 20 from a for loop of 0 to 20</p>
  
  <p>For starters I can print an entire list using:</p>
  
  <pre><code>class MainActivity : AppCompatActivity() {
  
  override fun onCreate(savedInstanceState: Bundle?) {
      super.onCreate(savedInstanceState)
      setContentView(R.layout.activity_main)
  
      for (i in 1..13){
  
          println(i)
      }
  
  
  }
  }
  </code></pre>
  
  <p>But that's it. What do I need to print the other required outputs?</p>