Mathematical Mysteries - Hailstone Sequences

  • Uploaded by: Le Ta Dang Khoa
  • 0
  • 0
  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Mathematical Mysteries - Hailstone Sequences as PDF for free.

More details

  • Words: 334
  • Pages: 2
Mathematical mysteries: Hailstone sequences

© 1997−2009, Millennium Mathematics Project, University of Cambridge. Permission is granted to print and copy this page on paper for non−commercial use. For other uses, including electronic redistribution, please contact us. January 1997 Regulars

Mathematical mysteries: Hailstone sequences

This problem is easy to describe but it is one of mathematics' unsolved problems. Starting with any positive integer n, form a sequence in the following way: • If n is even, divide it by 2 to give n' = n/2. • If n is odd, multiply it by 3 and add 1 to give n' = 3n + 1. Then take n' as the new starting number and repeat the process. For example: n = 5 gives the sequence 5, 16, 8, 4, 2, 1, 4, 2, 1,... n = 11 gives the sequence 11, 34, 17, 52, 26, 13, 40, 20, 10, 5, 16, 8, 4, 2, 1, 4, 2, 1,... These are sometimes called "Hailstone sequences" because they go up and down just like a hailstone in a cloud before crashing to Earth − the endless cycle 4, 2, 1, 4, 2, 1. It seems from experiment that such a sequence will always eventually end in this repeating cycle 4, 2, 1, 4, 2, 1,... and so on, but some values for N generate many values before the repeating cycle begins. For example, try starting with n = 27. See if you can find starting values that generate even longer sequences. An unsolved problem is, can it be proved that every starting value will generate a sequence that eventually settles to 4, 2, 1, 4, 2, 1,...? Could there be a sequence that never settles down to a repeating cycle at all?

Hailstone Evaluator Enter any positive integer, the Hailstone sequence will be returned.

Mathematical mysteries: Hailstone sequences

1

Mathematical mysteries: Hailstone sequences Plus is part of the family of activities in the Millennium Mathematics Project, which also includes the NRICH and MOTIVATE sites.

Mathematical mysteries: Hailstone sequences

2

Related Documents


More Documents from "Super Dila12"