OFFSET
1,2
COMMENTS
LINKS
MATHEMATICA
Select[Range[1, 10^4, 2], Block[{s = DivisorSigma[1, #]}, BitAnd[2*#, s] == 2* BitAnd[#, s-#]] &] (* Paolo Xausa, Mar 11 2024 *)
PROG
(PARI) for(n=1, oo, if((n%2) && (bitand(2*n, sigma(n)) == 2*bitand(n, sigma(n)-n)), print1(n, ", ")));
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 14 2019
STATUS
approved