OFFSET
1,1
COMMENTS
By the construction, for every N>1, the sequence does not contain a full residue system modulo N. The difference of any two primes greater than 3 in this sequence is a multiple of 6.
Conjectures: (1) the sequence contains infinitely many "twins" when such differences equal 6; (2) lim a(n)/prime(n)=1 as n goes to infinity.
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
Charles R Greathouse IV, PARI/GP code for computing terms of this sequence
EXAMPLE
All terms are odd, so {a(1), ...,} does not contain a complete residue system mod 2. All terms are 0 or 2 mod 3, so the sequence does not contain a complete residue system mod 3.
MATHEMATICA
s = {3}; Do[AppendTo[s, 2+Last@s]; While[r = 1+Range@Length@s; Max[Length /@ Union /@ (Mod[s, #]& /@ r) - r] == 0, s[[-1]]++], {87}]; s (* Giovanni Resta, Jan 29 2013 *)
PROG
(PARI) See Greathouse link.
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Shevelev and Peter J. C. Moses, Jan 29 2013
STATUS
approved