ScratchData LogoScratchData
Back to abee's profile

Collatz conjecture コラッツの問題

ABabee•Created January 4, 2014
Collatz conjecture コラッツの問題
7
6
204 views
View on Scratch

Instructions

Take any natural number n. If n is even, divide it by 2 to get n / 2. If n is odd, multiply it by 3 and add 1 to obtain 3n + 1. 「任意の0でない自然数 n をとり、 n が偶数の場合、n を 2 で割る n が奇数の場合、n に 3 をかけて 1 を足す という操作を繰り返すと、どうなるか」

Description

http://en.wikipedia.org/wiki/Collatz_conjecture http://ja.wikipedia.org/wiki/%E3%82%B3%E3%83%A9%E3%83%83%E3%83%84%E3%81%AE%E5%95%8F%E9%A1%8C

Project Details

Project ID16194559
CreatedJanuary 4, 2014
Last ModifiedJanuary 5, 2014
SharedJanuary 4, 2014
Visibilityvisible
CommentsAllowed