I got the equations from wikipedia. To get different settings, press one of the number keys. The zero key is equal to 10. If the number you press is even, the number of petals will be double that. If the number you press is odd, the number of petals will be the number you pressed.