A233929 Smallest x such that sigma(x) == n-1 (mod n).
1, 1, 7, 2, 3, 2401, 5, 4, 7, 18, 21, 9604, 6, 9, 13, 8, 44, 21609, 10, 18, 19, 289, 36, 9604, 14, 162, 57, 72, 12, 2614689, 29, 16, 21, 625, 63, 38416, 22, 4608, 37, 18, 27, 21609, 20, 289, 43, 36, 50, 38416, 33, 196, 111, 162, 157, 28561, 34, 1296, 28, 49
Offset: 1
Keywords
Links
- Michel Marcus and Donovan Johnson, Table of n, a(n) for n = 1..3000 (first 800 terms from Michel Marcus)
Programs
-
PARI
a(n) = {x = 1; while ((sigma(x) % n) != (n - 1), x++); x;} \\ Michel Marcus, Dec 18 2013
Comments