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”).

A378172
Numbers m such that k = 4*m is powerful while both 4*m-1 and 4*m+1 are squarefree.
1
1, 4, 8, 9, 18, 27, 32, 36, 49, 50, 54, 64, 98, 100, 108, 121, 125, 162, 216, 225, 242, 243, 288, 289, 324, 338, 343, 392, 400, 432, 441, 450, 486, 500, 512, 648, 675, 676, 729, 784, 800, 841, 864, 882, 900, 1000, 1058, 1089, 1125, 1152, 1250, 1296, 1323, 1350
OFFSET
1,2
LINKS
EXAMPLE
a(1) = 1, k = 4, since both 3 and 5 are prime and thus squarefree.
2 is not in the sequence since 4*2+1 = 9 is not squarefree.
a(2) = 4, k = 16 since both 15 and 17 are squarefree.
a(3) = 8, k = 32, since both 31 and 33 are squarefree.
a(4) = 9, k = 36, since both 35 and 37 are squarefree.
16 is not in the sequence since 16*4-1 = 63 = 3^2*7 is not squarefree, etc.
MATHEMATICA
With[{nn = 6000}, 1/4 * Select[Rest@ Union@ Flatten@ Table[a^2*b^3, {b, Surd[nn, 3]}, {a, Sqrt[nn/b^3]}], AllTrue[# + {-1, 1}, SquareFreeQ] &] ]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michael De Vlieger, Nov 24 2024
STATUS
approved