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 A362815 #21 Sep 28 2024 07:39:17 %S A362815 2,3,5,6,7,11,13,14,16,17,18,19,21,22,23,25,28,29,31,37,38,39,41,43, %T A362815 46,47,50,51,52,53,55,58,59,61,62,64,66,67,68,70,71,73,75,77,79,82,83, %U A362815 85,86,88,89,93,94,96,97,99,101,103,106,107,109,110,113,115 %N A362815 Start with 2. Then, numbers are added to the sequence if they do not form any arithmetic progression p with numbers in the sequence such that length(p) > min(p). %C A362815 All primes are in the sequence. %C A362815 Does the density of numbers in this sequence approach 0.5? %H A362815 Samuel Harkness, <a href="/A362815/b362815.txt">Table of n, a(n) for n = 1..10000</a> %H A362815 Samuel Harkness, <a href="/A362815/a362815.m.txt">MATLAB program</a> %e A362815 2 is in the sequence. %e A362815 For 3: the only arithmetic progression made with 3 is p = {2,3}. Here, length(p) = min(p), so 3 is a term. %e A362815 For 4: p = {2,3,4} can be made. Here, length(p) > min(p), so 4 is not a term. %e A362815 For 5: the only arithmetic progressions made with 5 are p = {2,5} and p = {3,5}. Neither of these have length(p) > min(p), so 5 is a term. %e A362815 ... %e A362815 For 9: p = {3,5,7,9} can be made. Here, length(p) > min(p), so 9 is not a term. %o A362815 (MATLAB) See Links section. %Y A362815 Cf. A362816, A363011. %K A362815 nonn %O A362815 1,1 %A A362815 _Samuel Harkness_, May 04 2023