Arkadaşlar merhabalar,

Ben bilgisayar mühendisliği öğrencisiyim fakat bir sorum olacak, sorudan hiç bir şey anlamadım. Yardımlarınızı bekliyorum.

Soru : The following iterative sequence is defined for the set of positive integers:
n → n/2 (n is even)
n → 3n + 1 (n is odd)
Using the rule above and starting with 23, we generate the following
sequence with 15 numbers:
23->70->35->106->53->160->80->40->20->10->5->16->8->4->2->1
Write a program that takes a number (limit) and gives the number has the
longest chain under the given limit.

Teşekkürler Şimdiden.