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
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, 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, 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 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,5

LINKS

Antti Karttunen, Table of n, a(n) for n = 0..65537

FORMULA

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

MATHEMATICA

Table[If[SquareFreeQ[n], 0, n], {n, 0, 100}] (* Harvey P. Dale, Aug 13 2016 *)

PROG

(PARI) A105570(n) = if(issquarefree(n), 0, n); \\ Antti Karttunen, Jul 03 2018

CROSSREFS

Cf. A005117, A008966, A305980.

Sequence in context: A169766 A003194 A286875 * A327054 A101419 A060278

Adjacent sequences:  A105567 A105568 A105569 * A105571 A105572 A105573

KEYWORD

easy,nonn

AUTHOR

Paul Barry, Apr 14 2005

STATUS

approved

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 May 29 20:42 EDT 2020. Contains 334710 sequences. (Running on oeis4.)