The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A265675 Number of smaller squarefree numbers that are coprime to the n-th squarefree number. 4

%I #12 Mar 08 2020 21:48:04

%S 0,1,2,3,2,5,3,7,8,5,6,11,12,8,9,15,10,17,8,19,13,13,15,23,15,17,26,

%T 11,28,18,30,21,32,25,23,23,36,37,25,30,18,41,29,22,44,45,30,36,22,49,

%U 32,51,41,34,39,55,44,41,38,47,60,61,30,63,36,43,66,67

%N Number of smaller squarefree numbers that are coprime to the n-th squarefree number.

%C a(n) = number of A005117(k) such that A005117(k) and A005117(n) are coprime, k = 1..n-1.

%H Reinhard Zumkeller, <a href="/A265675/b265675.txt">Table of n, a(n) for n = 1..10000</a>

%F a(n) = Sum_{k=1..n-1} A008966(A005117(n)*A005117(k)).

%e A005117(7) = 10, A005117(1..6) = [1,2,3,5,6,7],

%e -> a(7) = #{1,3,7} = 3;

%e A005117(8) = 11, A005117(1..7) = [1,2,3,5,6,7,10],

%e -> a(8) = #{1,2,3,5,6,7,10} = 7;

%e A005117(9) = 13, A005117(1..8) = [1,2,3,5,6,7,10,11],

%e -> a(9) = #{1,2,3,5,6,7,10,11} = 8;

%e A005117(10) = 14, A005117(1..9) = [1,2,3,5,6,7,10,11,13],

%e -> a(10) = #{1,3,5,11,13} = 5;

%e A005117(11) = 15, A005117(1..10) = [1,2,3,5,6,7,10,11,13,14],

%e -> a(11) = #{1,2,7,11,13,14} = 6.

%o (Haskell)

%o import Data.List (inits)

%o a265675 n = a265675_list !! (n-1)

%o a265675_list = map (\(x:xs) -> length $ filter ((== 1) . gcd x) xs) $

%o map reverse $ tail $ inits a005117_list

%Y Cf. A005117, A008966.

%K nonn

%O 1,3

%A _Reinhard Zumkeller_, Dec 13 2015

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 21 22:16 EDT 2024. Contains 372741 sequences. (Running on oeis4.)