OFFSET
1,1
COMMENTS
First differs from A301517 at n = 1213. A301517(1213) = 12500 = 2^2 * 5^5 is not an exponentially odd number.
Numbers whose exponents in their prime factorization are all odd and at least one of them is larger than 1.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
8 = 2^3 is a term since 3 is odd and larger than 1.
MATHEMATICA
q[n_] := Module[{e = FactorInteger[n][[;; , 2]]}, AllTrue[e, OddQ] && ! AllTrue[e, # == 1 &]]; Select[Range[1000], q]
PROG
(PARI) is(k) = {my(e = factor(k)[, 2]); for(i = 1, #e, if(!(e[i] %2), return(0))); for(i = 1, #e, if(e[i] >1, return(1))); 0; }
CROSSREFS
Subsequence of A301517.
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Jul 09 2024
STATUS
approved