OFFSET
1,2
COMMENTS
The asymptotic density of this sequence is Product_{p prime} (1 - 1/p^3 + (1 - 1/p) * (Sum_{k>=3} 1/p^A051683(k))) = 0.87902453718626485582... .
a(n) = A096432(n-1) for 2<=n<380, but then the sequences start to differ: A096432 contains 432, 648, 1024, 1728, 2000, 2160,... which are not in this sequence. - R. J. Mathar, Oct 15 2024
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MATHEMATICA
expQ[n_] := expQ[n] = Module[{m = n, k = 2}, While[Divisible[m, k], m /= k; k++]; m < k]; q[n_] := AllTrue[FactorInteger[n][[;; , 2]], expQ]; Select[Range[100], q]
PROG
(PARI) isf(n) = {my(k = 2); while(!(n % k), n /= k; k++); n < k; }
is(k) = {my(e = factor(k)[, 2]); for(i = 1, #e, if(!isf(e[i]), return(0))); 1; }
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Oct 13 2024
STATUS
approved