login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Odd numbers k such that gcd(k, A007088(k)) != 1.
2

%I #16 Jul 02 2022 14:43:07

%S 21,33,63,69,81,99,111,123,159,165,183,189,203,207,219,231,237,243,

%T 249,259,261,273,297,303,315,321,363,399,411,423,429,435,441,459,483,

%U 489,495,513,543,561,567,573,585,591,603,615,621,627,633,663,669,693,707,711

%N Odd numbers k such that gcd(k, A007088(k)) != 1.

%e k = 33; gcd(33,A007088(33)) = gcd(33, 100001) = 11, thus k = 33 is a term.

%t Select[Range[1, 700, 2], ! CoprimeQ[#, FromDigits[IntegerDigits[#, 2]]] &] (* _Amiram Eldar_, Jun 08 2022 *)

%o (PARI) isok(k) = (k%2) && (gcd(k, fromdigits(binary(k))) != 1); \\ _Michel Marcus_, Jun 09 2022

%Y Cf. A007088, A354838.

%K nonn,base

%O 1,1

%A _Ctibor O. Zizka_, Jun 08 2022