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!)
A072906 Least k >=1 such that floor(n/k) is squarefree. 1
1, 1, 1, 2, 1, 1, 1, 3, 3, 1, 1, 2, 1, 1, 1, 3, 1, 3, 1, 2, 1, 1, 1, 4, 4, 1, 2, 2, 1, 1, 1, 3, 1, 1, 1, 5, 1, 1, 1, 3, 1, 1, 1, 2, 2, 1, 1, 7, 7, 5, 1, 2, 1, 4, 1, 4, 1, 1, 1, 2, 1, 1, 2, 3, 1, 1, 1, 2, 1, 1, 1, 5, 1, 1, 2, 2, 1, 1, 1, 3, 6, 1, 1, 2, 1, 1, 1, 3, 1, 3, 1, 2, 1, 1, 1, 5, 1, 5, 3, 3, 1, 1, 1, 3, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
sum(k=1, a(k)) is asymptotic to C*n with C=1.9091.....
MATHEMATICA
Array[Block[{k = 1}, While[! SquareFreeQ@ Floor[#/k], k++]; k] &, 120] (* Michael De Vlieger, Nov 20 2017 *)
PROG
(PARI) a(n)=if(n<0, 0, s=1; while(issquarefree(floor(n/s))==0, s++); s)
CROSSREFS
Sequence in context: A185812 A152798 A079115 * A239062 A341052 A201160
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Aug 10 2002
STATUS
approved

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 March 28 22:04 EDT 2024. Contains 371254 sequences. (Running on oeis4.)