OFFSET
1,5
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..1000
EXAMPLE
The positive integers that are <= 9 and are coprime to 9 are: 1,2,4,5, 7,8. 1 is coprime to each other member in S(9). While 2, 4, and 8 are non-coprime to each other. 5 is coprime to each other member of S(9). And 7 is also coprime to each other member. Since there are 3 integers in S(9) that are each non-coprime with at least one other member of S(9) -- these integers being 2, 4, and 8 -- then a(9) = 3.
PROG
(Haskell)
import Data.List ((\\))
a164297 n = length [m | let ts = a038566_row n, m <- ts,
any ((> 1) . gcd m) (ts \\ [m])]
-- Reinhard Zumkeller, May 28 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Aug 12 2009
EXTENSIONS
Extended by Ray Chandler, Mar 16 2010
STATUS
approved