title: How to write a program that produces the following output: 3, 7, 15, 31, 63, 127 in java
body: <p>Write a program that produces the following output: 
  3, 7, 15, 31, 63, 127</p>
  
  <p>I don't know how to frame it .</p>