- for i in range(22,0,-1):
- print(232792559%i,end=',')
- print()
- import sympy
- print(sympy.divisors(232792559+1))
21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0,
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 26, 28, 30, 33, 34, 35, 36, 38, 39, 40, 42, 44, 45, 48, 51, 52, 55, 56, 57, 60, 63, 65, 66, 68, 70, 72, 76, 77, 78, 80, 84, 85, 88, 90, 91, 95, 99, 102, 104, 105, 110, 112, 114, 117, 119, 120, 126, 130, 132, 133, 136, 140, 143, 144, 152, 153, 154, 156, 165, 168, 170, 171, 176, 180, 182, 187, 190, 195, 198, 204, 208, 209, 210, 220, 221, 228, 231, 234, 238, 240, 247, 252, 255, 260, 264, 266, 272, 273, 280, 285, 286, 304, 306, 308, 312, 315, 323, 330, 336, 340, 342, 357, 360, 364, 374, 380, 385, 390, 396, 399, 408, 418, 420, 429, 440, 442, 455, 456, 462, 468, 476, 494, 495, 504, 510, 520, 528, 532, 546, 560, 561, 570, 572, 585, 595, 612, 616, 624, 627, 630, 646, 660, 663, 665, 680, 684, 693, 714, 715, 720, 728, 741, 748, 760, 765,
(以下略)
232792559は1から22までの全ての自然数で割ると、余りはその自然数-1になります。232792559+1が1から22までの試しに232792559を20で割って余りを計算してみましょう。なお、232792559は素数です。