This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A382752 #16 Jun 09 2025 17:20:38 %S A382752 6,7,8,9,10,13,19,23,29,32,37,47,54,71,109,149,167,173,223,229,263, %T A382752 283,359,383,479,503,509,653,659,719,739,773,839,863,887,971,983,1229, %U A382752 1319,1367,1439,1487,1493,1637,1699,1823,1949,1997,2039,2063,2207,2309,2411,2447 %N A382752 Numbers k such that A000005(k) = A065295(k). %e A382752 6 is a term because the number of divisors of 6 is equal to 4 (1, 2, 3 and 6) and 1^1 = 1 (mod 6), 2^2 = 4 (mod 6), 3^3 = 27 == 3 (mod 6), 4^4 = 256 == 4 (mod 6), 5^5 + 3125 == 5 (mod 6). %o A382752 (Magma) [k: k in [2..2500] | #Divisors(k) eq #[s: s in [0..k-1] | s^s mod k eq s]]; %o A382752 (PARI) isok(k) = numdiv(k) == sum(s=1, k-1, Mod(s, k)^s == s); \\ _Michel Marcus_, Jun 03 2025 %Y A382752 Cf. A000005, A065295. %K A382752 nonn %O A382752 1,1 %A A382752 _Juri-Stepan Gerasimov_, Jun 02 2025