OFFSET
1,1
COMMENTS
Differs from A390440 by having the terms 512, 864, 1536, 1944, 2560, ..., and not having the terms 1, 128, 384, 640, 896, ... .
The asymptotic density of this sequence is A065463 - Sum_{k>=1} d(2*k)-d(2*k-1) = 0.62431637346181000188..., where d(k) = Product_{p prime} (1 - Sum_{i = 2..2*k} (-1)^i/p^i).
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MATHEMATICA
q[k_] := Module[{e = FactorInteger[k][[;; , 2]]}, AllTrue[e, OddQ] && Mod[Max[e], 4] == 1]; q[1] = False; Select[Range[120], q]
PROG
(PARI) isok(k) = if(k == 1, 0, my(e = factor(k)[, 2]); for(i = 1, #e, if(!(e[i] % 2), return(0))); vecmax(e) % 4 == 1);
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Mar 14 2026
STATUS
approved
