OFFSET
1,1
COMMENTS
All primes are in the sequence.
Does the density of numbers in this sequence approach 0.5?
LINKS
Samuel Harkness, Table of n, a(n) for n = 1..10000
Samuel Harkness, MATLAB program
EXAMPLE
2 is in the sequence.
For 3: the only arithmetic progression made with 3 is p = {2,3}. Here, length(p) = min(p), so 3 is a term.
For 4: p = {2,3,4} can be made. Here, length(p) > min(p), so 4 is not a term.
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.
...
For 9: p = {3,5,7,9} can be made. Here, length(p) > min(p), so 9 is not a term.
PROG
(MATLAB) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Samuel Harkness, May 04 2023
STATUS
approved