OFFSET
1,1
COMMENTS
The asymptotic density of this sequence is 0.0149788175410999... (Mossinghoff et al., 2021).
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Michael J. Mossinghoff, Tomás Oliveira e Silva, and Tim Trudgian, The distribution of k-free numbers, Mathematics of Computation, Vol. 90, No. 328 (2021), pp. 907-929; arXiv preprint, arXiv:1912.04972 [math.NT], 2019-2020.
EXAMPLE
47 is a term since 47 and 47 + 4 = 51 = 3*17 are squarefree, and 47 + 1 = 48 = 2^4*3, 47 + 2 = 49 = 7^2 and 47 + 3 = 50 = 2*5^2 are not.
MATHEMATICA
Select[Range[3500], Boole[SquareFreeQ /@ (# + Range[0, 4])] == {1, 0, 0, 0, 1} &]
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Nov 11 2021
STATUS
approved
