cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A349231 Numbers k such that k and k+4 are consecutive squarefree numbers.

Original entry on oeis.org

47, 97, 123, 341, 349, 422, 474, 547, 602, 723, 773, 1023, 1249, 1273, 1322, 1374, 1419, 1447, 1518, 1663, 1673, 1847, 1861, 1923, 2006, 2022, 2055, 2105, 2149, 2222, 2274, 2347, 2365, 2522, 2526, 2573, 2643, 2823, 2870, 3049, 3122, 3183, 3210, 3247, 3282, 3427
Offset: 1

Views

Author

Amiram Eldar, Nov 11 2021

Keywords

Comments

The asymptotic density of this sequence is 0.0149788175410999... (Mossinghoff et al., 2021).

Examples

			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.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[3500], Boole[SquareFreeQ /@ (# + Range[0, 4])] == {1, 0, 0, 0, 1} &]
Showing 1-1 of 1 results.