OFFSET
1,1
COMMENTS
Numbers whose prime factorization contains one exponent that equals 3, and all the others, if they exist, are equal to 2.
LINKS
FORMULA
Sum_{n>=1} 1/a(n) = (15/Pi^2) * Sum_{p prime} 1/((p-1)*(p^2+1))) = 0.40258439321745859629... .
MATHEMATICA
q[n_] := Module[{e = Sort[FactorInteger[n][[;; , 2]]]}, e[[-1]] > 2 && (Length[e] == 1 || e[[-2]] == 2)]; With[{max = 3000}, Select[Union@ Flatten@Table[i^2 * j^3, {j, 1, max^(1/3)}, {i, 1, Sqrt[max/j^3]}], q]]
PROG
(PARI) is(k) = if(k == 1, 0, my(e = vecsort(factor(k)[, 2])); e[1] > 1 && e[#e] > 2 && (#e == 1 || e[#e - 1] == 2));
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Nov 09 2024
STATUS
approved