OFFSET
1,5
COMMENTS
A coprime chain is a nonempty set of integers greater than 1 such that all primes <= the largest member divide exactly one term of the set. - Charles R Greathouse IV, Apr 24 2013
REFERENCES
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
Charlie Neder, Table of n, a(n) for n = 1..299
R. C. Entringer, The number of coprime chains with largest member n, Proc. Amer. Math. Soc., 16 (1965), 806-810.
R. C. Entringer, The number of coprime chains with largest member n, Proc. Amer. Math. Soc., 16 (1965), 806-810. [Annotated scanned copy]
R. C. Entringer, Some properties of certain sets of coprime integers, Proc. Amer. Math. Soc. 16 (1965), 515-521.
FORMULA
Entringer proves that log a(n) ~ sqrt(n). - Charles R Greathouse IV, Apr 24 2013
If p and q are consecutive primes with q > p, then a(q) = a(q-1) + a(q-2) + ... + a(p). - Charlie Neder, Dec 15 2018
EXAMPLE
The a(11) = 9 coprime chains with largest element 11 are {2,3,5,7,11}, {2,5,7,9,11}, {3,4,5,7,11}, {3,5,7,8,11}, {3,7,10,11}, {4,5,7,9,11}, {5,6,7,11}, {5,7,8,9,11}, and {7,9,10,11}. - Charlie Neder, Dec 15 2018
PROG
(PARI) isCC(v)=forprime(p=2, vecmax(v), if(sum(i=1, #v, v[i]%p==0)!=1, return(0))); 1
a(n)=my(v=vector(n-1, i, i+1)); sum(i=2^(n-2), 2^(n-1)-1, isCC(vecextract(v, i))) \\ Charles R Greathouse IV, Apr 24 2013
CROSSREFS
KEYWORD
nonn,nice
AUTHOR
EXTENSIONS
a(56)-a(71) from Charlie Neder, Dec 15 2018
STATUS
approved