A376538 Natural numbers whose iterated squaring modulo 1000 eventually settles at the attractor 1.
1, 57, 193, 249, 251, 307, 443, 499, 501, 557, 693, 749, 751, 807, 943, 999, 1001, 1057, 1193, 1249, 1251, 1307, 1443, 1499, 1501, 1557, 1693, 1749, 1751, 1807, 1943, 1999, 2001, 2057, 2193, 2249, 2251, 2307, 2443, 2499, 2501, 2557, 2693, 2749, 2751, 2807
Offset: 1
Examples
57^2 = 249 -> 249^2 = 1 -> 1^2 = 1 -> ... (mod 1000).
Links
- Index entries for linear recurrences with constant coefficients, signature (1, 0, 0, 1, -1).
Comments