login
This site is supported by donations to The OEIS Foundation.

 

Logo

Many excellent designs for a new banner were submitted. We will use the best of them in rotation.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A080733 Smallest distance from n to a squarefree number. 1
0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 2, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 2, 1, 0, 0, 0, 1, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,49

COMMENTS

a(n)=min (abs(n-k) : where k runs through the squarefree numbers )

The sequence is unbounded.

LINKS

Table of n, a(n) for n=1..105.

FORMULA

a(A005117(n))=0

MATHEMATICA

nn=110; With[{sqfr=Select[Range[nn+10], SquareFreeQ]}, Flatten[Table[ Union[ Abs[ Nearest[ sqfr, n]-n]], {n, nn}]]] (* Harvey P. Dale, Jun 01 2012 *)

CROSSREFS

Cf. A051699.

Cf. A005117, A081221.

Sequence in context: A144961 A144627 A135929 * A080732 A215036 A088568

Adjacent sequences:  A080730 A080731 A080732 * A080734 A080735 A080736

KEYWORD

nonn

AUTHOR

Benoit Cloitre, Mar 08 2003

STATUS

approved

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

Content is available under The OEIS End-User License Agreement .

Last modified April 20 23:07 EDT 2014. Contains 240824 sequences.