OFFSET
1,1
COMMENTS
All terms are multiples of 216.
EXAMPLE
216 = 2^3 * 3^3 is a cube; 215 = 5 * 43 and 217 = 7 * 31 are squarefree, so 216 is a term.
1728 = 2^6 * 3^3 is a cube; 1727 = 11 * 157 and 1729 = 7 * 13 * 19 are squarefree, so 1728 is a term.
46656 = 2^6 * 3^6 is a cube; 46655 = 5 * 7 * 31 * 43 and 46657 = 13 * 37 * 97 are squarefree, so 46656 is a term.
MATHEMATICA
Select[Range[270]^3, And @@ SquareFreeQ /@ (# + {-1, 1}) &] (* Amiram Eldar, Feb 27 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Massimo Kofler, Feb 27 2024
STATUS
approved