OFFSET
1,1
COMMENTS
The asymptotic density of this sequence is 0.000379098586237504... (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
1374 is a term since 1374 = 2*3*229 and 1374 + 4 = 1378 = 2*13*53 are cubefree, and 1374 + 1 = 1375 = 5^3*11, 1374 + 2 = 1376 = 2^5*43 and 1374 + 3 = 1377 = 3^4*17 are not.
MATHEMATICA
cubeFreeQ[n_] := AllTrue[FactorInteger[n][[;; , 2]], # < 3 &]; Select[Range[10^5], Boole[cubeFreeQ /@ (# + Range[0, 4])] == {1, 0, 0, 0, 1} &]
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Nov 11 2021
STATUS
approved