OFFSET
1,3
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
EXAMPLE
-> a(7) = #{1,3,7} = 3;
-> a(8) = #{1,2,3,5,6,7,10} = 7;
-> a(9) = #{1,2,3,5,6,7,10,11} = 8;
-> a(10) = #{1,3,5,11,13} = 5;
-> a(11) = #{1,2,7,11,13,14} = 6.
MATHEMATICA
With[{sf=Select[Range[200], SquareFreeQ]}, Table[Total[Boole[CoprimeQ[sf[[n]], sf[[Range[1, n-1]]]]]], {n, 70}]] (* Harvey P. Dale, Oct 12 2024 *)
PROG
(Haskell)
import Data.List (inits)
a265675 n = a265675_list !! (n-1)
a265675_list = map (\(x:xs) -> length $ filter ((== 1) . gcd x) xs) $
map reverse $ tail $ inits a005117_list
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Dec 13 2015
STATUS
approved