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 A143801 #12 Jul 19 2025 11:57:06 %S A143801 223,359,383,449,503,547,701,797,881,1049,1097,1229,1307,1439,1627, %T A143801 1733,1759,1987,1997,2027,2221,2287,2309,2437,2477,2579,2617,2647, %U A143801 2801,2861,2903,2999,3023,3067,3167,3191,3329,3467,3581,3697,3761,3911,3947,4057 %N A143801 Primes with sum of remainders modulo all smaller primes which is smaller than this sum for the preceding prime. %C A143801 These are the k-th primes, where A033955(k) < A033955(k-1) %H A143801 Harvey P. Dale, <a href="/A143801/b143801.txt">Table of n, a(n) for n = 1..1000</a> %e A143801 When divided by 2,3,5,7,11,...., the number 211 gives remainders 1,1,1,1,2, etc., which sum to 1615 and the number 223 gives remainders 1,1,3,6,3, etc., which sum to 1573. 1573 is smaller than 1615, so 223 is in the sequence. %t A143801 Prime[#]&/@(Flatten[Position[Differences[Table[Total[Mod[p,Prime[Range[PrimePi[p]]]]],{p,Prime[Range[600]]}]],_?(#<0&)]]+1) (* _Harvey P. Dale_, Jul 18 2025 *) %K A143801 nonn %O A143801 1,1 %A A143801 _Neil Fernandez_, Sep 01 2008