2026.01/08 アプデのため再共有 双子素数(※1)関係を追加! (↓↓English) ◆日本語◆ 旗を押すと素数の判定の始まり! リストを見たいときは赤いボタンを押すとよい。(リストはリセットされないよ) ・コマンドについて Cキーで入力を求められる r・・・リストをリセット d数字・・・その数字は素数であるか判別 n数字・・・数字番目の素数は何か調べる いずれのコマンドも半角で打ってね。また、スペースやカッコなどは不要! 追加してほしいコマンドはコメントまで プロジェクトを最初に開いたときにすでにリストに素数が入っているけど、それはたまに増やしていくから要チェック! 12/09 改良 ・この数の判定具合はスペースキーで出したり消したりできる。 ・素数でないとわかったらすぐに次の数の判定に移れるように修正。 ・素数リストを2時間30分ぶん更新 ●双子素数とは? Nを素数とするとき、N+2も素数であるとき、それらを双子素数という。 同様に、N,N+2,N+6またはN,N+4,N+6が素数であるとき、これらは三つ子素数である。 これらは無限にあることが予想されているが、証明はされていない。 ◆English◆ Press the flag to start checking for prime numbers! If you want to see the list, press the red button. (The list will not be reset.) About the commands Press the C key to be prompted for input. r … reset the list d<number> … check whether that number is a prime n<number> … find what the nth prime number is All commands must be typed in half-width characters. Also, do not use spaces or mark"<,>" If there are any commands you’d like to be added, please leave a comment. When you first open the project, the list already contains some prime numbers. I will add more from time to time, so be sure to check! You can now show or hide how the number is being tested by pressing the space key. The prime number list has been updated with about 2 hours and 30 minutes’ worth of data. What are twin primes? If N is a prime number and N+2 is also prime, they are called twin primes. Similarly, if N,N+2,N+6 or N,N+4,N+6 are all prime, they are called prime triplets. It is conjectured that there are infinitely many of these, but this has not been proven. #素数 #all