OFFSET
1,1
LINKS
Hugo Pfoertner, Table of n, a(n) for n = 1..10000
FORMULA
From Amiram Eldar, Jun 25 2022: (Start)
Sum_{n>=1} 1/a(n) = Pi^2/6 - (15/Pi^2) * (1 + Sum_{k>=2} (-1)^k * P(2*k)) = 0.029082273527998239268... . (End)
EXAMPLE
a(1) = 64 because 16^2 is divisible by 2^3 and by 4^3.
MATHEMATICA
Select[Range[225]^2, Max[(e = FactorInteger[#][[;; , 2]])] > 4 || (Length[e] > 1 && Sort[e, Greater][[2]] > 2) &] (* Amiram Eldar, Jun 25 2022 *)
PROG
(PARI) iscubes(n) = {my(nb = 0); fordiv(n, d, if ((d>1) && ispower(d, 3), nb++; if (nb > 1, return(1))); ); }
isok(n) = issquare(n) && iscubes(n); \\ Michel Marcus, Oct 27 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Oct 27 2018
STATUS
approved