OFFSET
1,3
EXAMPLE
For A139317(7) we check: 7*1 +1= 8, which is not coprime to A139317(1)=2. 7*2 +1= 15, which is not coprime to either A139317(2)=3 or to A139317(4)=5. 7*3 +1 = 22, which is not coprime to either A139317(1)=2 or to A139317(5)=11. But 7*4+1 = 29, which is coprime to terms A139317(1) through A139317(6). So a(7) = 4.
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Apr 13 2008
EXTENSIONS
More terms from Max Alekseyev, Apr 29 2011
STATUS
approved