OFFSET
1,2
COMMENTS
Described in this form, A090252 would be "lexically first sequence of positive integers such that a(n) is coprime to the next n elements".
(And A247665 would be "lexically first sequence of integers >= 2 such that a(n) is coprime to the next n elements". - N. J. A. Sloane, Nov 01 2014)
All values up to a(1000000) are either prime powers or semiprimes, except when n is in (868, 947, 993, 1069, 1205, 1431, 854300) with values respectively (172, 45, 75, 135, 225, 375, 9475). This suggests the sequence is unlikely to be a permutation of the integers.
If, mimicking A247665, one starts with a(1)=2 and uses the same rule (always using distinct numbers >= 2) one obtains A249064 again, without the leading 1. - N. J. A. Sloane, Nov 01 2014
LINKS
Hugo van der Sanden, Table of n, a(n) for n = 1..1001
Hugo van der Sanden, Perl program to calculate this sequence and A090252 (requires Math::Pari)
Hugo van der Sanden, Faster Perl program on github.
CROSSREFS
KEYWORD
nonn
AUTHOR
Hugo van der Sanden, Oct 20 2014
EXTENSIONS
Added "distinct" to the definition. - Hugo van der Sanden, Oct 28 2014
STATUS
approved