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 A242122 #12 Dec 12 2024 09:29:47 %S A242122 2,3,5,7,11,13,17,19,1,7,9,15,19,21,3,9,15,17,1,5,7,13,17,1,9,13,15, %T A242122 19,21,3,17,21,5,7,17,19,3,9,13,19,3,5,15,17,21,1,13,3,7,9,13,19,21,9, %U A242122 15,21,5,7,13,17,19,7,21,3,5,9,1,7,17,19,1,7,15 %N A242122 a(n) = n-th prime modulo 22. %H A242122 Vincenzo Librandi, <a href="/A242122/b242122.txt">Table of n, a(n) for n = 1..1000</a> %F A242122 Sum_k={1..n} a(k) ~ 11*n. - _Amiram Eldar_, Dec 12 2024 %t A242122 Mod[Prime[Range[100]], 22] %o A242122 (Magma) [p mod(22): p in PrimesUpTo(500)]; %o A242122 (Sage) [mod(p, 22) for p in primes(500)] # _Bruno Berselli_, May 05 2014 %Y A242122 Cf. similar sequences listed in A242119. %K A242122 nonn,easy %O A242122 1,1 %A A242122 _Vincenzo Librandi_, May 05 2014