OFFSET
1,2
COMMENTS
Equivalently, numbers that are products of "Fermi-Dirac primes" that are powers of primes with exponents that are powers of 2 with odd exponents.
Products of distinct numbers of the form p^(2^(2*k-1)), where p is prime and k >= 1.
Numbers whose prime factorization has exponents that are positive terms of A062880.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
Sum_{n>=1} 1/a(n) = Product_{k>=0} zeta(2^(2*k+1))/zeta(2^(2*k+2)) = 1.52599127273749217982... (this is the constant c in A366242).
MATHEMATICA
mdQ[n_] := AllTrue[IntegerDigits[n, 4], # < 2 &]; q[e_] := EvenQ[e] && mdQ[e/2]; Select[Range[6000], # == 1 || AllTrue[FactorInteger[#][[;; , 2]], q] &]
PROG
(PARI) ismd(n) = {my(d = digits(n, 4)); for(i = 1, #d, if(d[i] > 1, return(0))); 1; }
is(n) = {my(e = factor(n)[ , 2]); for(i = 1, #e, if(e[i]%2 || !ismd(e[i]/2), return(0))); 1; }
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Oct 05 2023
STATUS
approved