Need help with Hailstone Sequence program please Help

Hello i am a comp sci major writing a Hailstone Sequence program if you have
one or can help
email me at
vwer...@hotmail.com