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!)
A354874 a(n) = 1 if A003415(n) is squarefree, otherwise 0. 4

%I #10 Jun 12 2022 15:38:51

%S 0,0,1,1,0,1,1,1,0,1,1,1,0,1,0,0,0,1,1,1,0,1,1,1,0,1,1,0,0,1,1,1,0,1,

%T 1,0,0,1,1,0,0,1,1,1,0,1,0,1,0,1,0,0,0,1,0,0,0,1,1,1,0,1,1,1,0,0,1,1,

%U 0,1,1,1,0,1,1,1,0,0,1,1,0,0,1,1,0,1,0,0,0,1,1,0,0,1,0,0,0,1,1,0,0,1,1,1,0,1,1,1,0,1,1,0,0,1,1,0,0,1,1,0,0,1

%N a(n) = 1 if A003415(n) is squarefree, otherwise 0.

%H Antti Karttunen, <a href="/A354874/b354874.txt">Table of n, a(n) for n = 0..100000</a>

%H <a href="/index/Ch#char_fns">Index entries for characteristic functions</a>

%F a(0) = a(1) = 0, for n > 1, a(n) = A008966(A003415(n)).

%F For n > 0, a(n) = A010051(n) + A341994(n), a(n) <= A212793(n).

%F For n > 1, a(n) = abs(A229343(n)).

%t d[0] = d[1] = 0; d[n_] := n * Plus @@ ((Last[#]/First[#]) & /@ FactorInteger[n]); a[n_] := If[SquareFreeQ[d[n]], 1, 0]; Array[a, 100, 0] (* _Amiram Eldar_, Jun 11 2022 *)

%o (PARI)

%o A003415(n) = if(n<=1, 0, my(f=factor(n)); n*sum(i=1, #f~, f[i, 2]/f[i, 1]));

%o A354874(n) = (issquarefree(A003415(n)));

%Y Characteristic function of A328393.

%Y Cf. A003415, A008966, A010051, A212793, A229343, A341994.

%K nonn

%O 0

%A _Antti Karttunen_, Jun 11 2022

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 5 15:44 EDT 2024. Contains 372275 sequences. (Running on oeis4.)