|
|
A214620
|
|
Numbers n such that at least one other integer m exists with the same smallest prime factor, same largest prime factor, and same set of binary digits as n.
|
|
3
|
|
|
18, 24, 36, 42, 48, 56, 70, 72, 84, 90, 96, 98, 112, 120, 135, 140, 144, 150, 154, 168, 170, 175, 180, 182, 186, 192, 196, 198, 204, 220, 224, 225, 234, 240, 242, 245, 248, 266, 270, 276, 279, 280, 286, 288, 294, 300, 304, 306, 308, 310, 312, 315, 322, 330, 336, 338
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Binary digits of m are a permutation of binary digits of n.
Conjecture: there is X such that among integers bigger than X more than 50% are in the sequence.
Since a set is an unordered collection of distinct elements, one should say "same multiset (or bag) of binary digits as n." - Daniel Forgues, Mar 31 2016
|
|
LINKS
|
|
|
EXAMPLE
|
18 and 24 have the same set of binary digits: 10010 and 11000, same smallest prime factor 2, and same largest prime factor 3, so both 18 and 24 are in the sequence.
|
|
MAPLE
|
N:= 10: # to get all terms < 2^N
H:= proc(n) local F, B;
F:= numtheory:-factorset(n);
B:= sort(convert(n, base, 2));
[min(F), max(F), op(B)];
end proc:
T:= {}:
for n from 1 to 2^N-1 do
h:= H(n);
if assigned(R[h]) then T:= T union {n, R[h]}
else R[h]:= n
fi
od:
|
|
MATHEMATICA
|
nn = 360; TakeWhile[Union@ Flatten@ Table[Select[Complement[Range[3 n], {n}], And[Length@ Union[DigitCount[#, 2] & /@ {#, n}] == 1, Length@ Union[{First@ #, Last@ #} &@ Map[First, FactorInteger@ #] & /@ {#, n}] == 1] &] /. i_ /; MissingQ@ i -> Nothing, {n, nn}], # <= nn &] (* Michael De Vlieger, Apr 01 2016, Version 10.2 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|