OFFSET
1,2
COMMENTS
Starting with sequence 1 and adding increasing numbers coprime to sum of previous elements yields periodic sequence A001651.
By starting with 1,2,3, you get this sequence, apparently non-periodic with sporadic periodic runs of varied length.
Sequence appears to have density of about 0.6 with respect to the positive integers.
Not all primes are in this sequence, 19 being the first missing prime.
LINKS
David W. Wilson, Table of n, a(n) for n = 1..10000
EXAMPLE
1,2,3 are in the sequence by fiat.
The element smaller than 4 are 1,2,3 with sum 6. 4 is not coprime to 6, so 4 is excluded.
The elements smaller than 5 are 1,2,3 with sum 6. 5 is coprime to 6, so 5 is included.
The elements smaller than 6 are 1,2,3,5 with sum 11. 6 is coprime to 11, so 6 is included.
CROSSREFS
KEYWORD
nonn
AUTHOR
David W. Wilson, Oct 21 2011
STATUS
approved