login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A105570 Nonsquarefree numbers in place: a(n) = n if n is not squarefree, 0 otherwise. 1

%I

%S 0,0,0,0,4,0,0,0,8,9,0,0,12,0,0,0,16,0,18,0,20,0,0,0,24,25,0,27,28,0,

%T 0,0,32,0,0,0,36,0,0,0,40,0,0,0,44,45,0,0,48,49,50,0,52,0,54,0,56,0,0,

%U 0,60,0,0,63,64,0,0,0,68,0,0,0,72,0,0,75,76,0,0,0,80,81,0,0,84,0,0,0,88,0

%N Nonsquarefree numbers in place: a(n) = n if n is not squarefree, 0 otherwise.

%H Antti Karttunen, <a href="/A105570/b105570.txt">Table of n, a(n) for n = 0..65537</a>

%F a(n) = n - abs(mu(n))*n.

%t Table[If[SquareFreeQ[n],0,n],{n,0,100}] (* _Harvey P. Dale_, Aug 13 2016 *)

%o (PARI) A105570(n) = if(issquarefree(n),0,n); \\ _Antti Karttunen_, Jul 03 2018

%Y Cf. A005117, A008966, A305980.

%K easy,nonn

%O 0,5

%A _Paul Barry_, Apr 14 2005

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 5 04:30 EDT 2020. Contains 335459 sequences. (Running on oeis4.)