login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A362561
Sphenic numbers k such that none of k-2, k-1, k+1 and k+2 is squarefree.
0
170, 530, 638, 874, 962, 1826, 2526, 2674, 2726, 2782, 2874, 3178, 3970, 4490, 4526, 4654, 5930, 6026, 6254, 7138, 7174, 8074, 8126, 8426, 8723, 8958, 8974, 9926, 10286, 10526, 10610, 11222, 11494, 11674, 11710, 11998, 12338, 12626, 12770, 12986, 13574, 15238, 15274, 15326, 15826
OFFSET
1,1
EXAMPLE
168 = 2^3 * 3 * 7, 169 = 13^2, 170 = 2 * 5 * 17, 171 = 3^2 *19, 172 = 2^2 * 43, so 170 is a term.
528 = 2^4 * 3 * 11, 529 = 23^2, 530 = 2 * 5 * 53, 531 = 3^2 * 59, 532 = 2^2 * 7 * 19, so 532 is a term.
MATHEMATICA
Select[Range[17000], FactorInteger[#][[;; , 2]] == {1, 1, 1} && ! AnyTrue[# + {-2, -1, 1, 2}, SquareFreeQ] &] (* Amiram Eldar, Sep 07 2023 *)
CROSSREFS
Cf. A007304, A013929, A153215, A364010. Subsequence of A364905.
Sequence in context: A045041 A063943 A364905 * A045089 A114078 A031704
KEYWORD
nonn
AUTHOR
Massimo Kofler, Sep 07 2023
STATUS
approved