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 A333340 #4 Apr 15 2020 00:12:57 %S A333340 1,2,1,4,6,4,2,8,4,6,14,4,22,2,16,16,21,4,25,16,4,14,26,16,19,22,13,4, %T A333340 16,16,33,32,82,50,36,4,84,62,22,16,18,4,16,100,49,26,122,16,65,46,52, %U A333340 68,7,40,26,88,25,16,19,16,3,66,4,64,66,82,127,52,94,36 %N A333340 a(n) is the smallest positive number k such that n divides 4^k - k. %F A333340 a(4^m) = 4^m for m >= 0. %o A333340 (PARI) a(n) = for(k=1, oo, if(Mod(4, n)^k==k, return(k))); %Y A333340 Cf. A072872, A333335, A333339, A333341. %K A333340 nonn %O A333340 1,2 %A A333340 _Jinyuan Wang_, Apr 14 2020