login
A099248
Numbers such that length in binary representation and number of ones have a common divisor greater than 1.
3
3, 7, 9, 10, 12, 15, 31, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 48, 49, 50, 51, 52, 53, 54, 56, 57, 58, 60, 63, 127, 129, 130, 132, 135, 136, 139, 141, 142, 144, 147, 149, 150, 153, 154, 156, 159, 160, 163, 165, 166, 169, 170, 172, 175, 177, 178, 180
OFFSET
1,1
LINKS
FORMULA
A099244(a(n)) > 1.
MATHEMATICA
Select[Range[200], !CoprimeQ[BitLength[#], DigitCount[#, 2, 1]] &] (* Amiram Eldar, Jul 16 2023 *)
PROG
(Haskell)
a099248 n = a099248_list !! (n-1)
a099248_list = filter ((> 1) . a099244) [1..]
-- Reinhard Zumkeller, Oct 10 2013
CROSSREFS
Complement of A099247.
Sequence in context: A063551 A160800 A354616 * A082575 A284526 A344413
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Oct 08 2004
EXTENSIONS
Corrected by Leroy Quet, Sep 04 2008
a(34) and beyond from Diana L. Mecum, Jan 04 2009
STATUS
approved