Using your hail.html page, answer the following questions: What is the length of the hailstone sequence
Question:
• What is the length of the hailstone sequence starting at 100? Starting at 200? Starting at 400?
• What is the smallest starting number that generates a hailstone sequence with a length of at least 15?
• Identify a starting number for which the hailstone sequence is at least 30 numbers long. What is the length of the sequence? If you add or subtract 1 from this starting number, how long are the hailstone sequences associated with the new starting numbers?
• In general, if the hailstone sequence starting at some number N has length L, how long would the hailstone sequence starting at 2N be? Explain your reasoning.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Question Posted: