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

 

Logo

Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 5000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".

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 | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified December 10 00:24 EST 2016. Contains 278993 sequences.