OFFSET
1,1
LINKS
Arkadiusz Wesolowski, Table of n, a(n) for n = 1..10000
EXAMPLE
7429 = 17*19*23 -> 10001*10011*10111, therefore 7429 is a term.
7430 = 2*5*743 -> 10*101*1011100111, therefore 7430 is not a term.
MATHEMATICA
lst = {}; Do[b = IntegerDigits[FactorInteger[n], 2]; If[! PrimeQ[n] && Length[b[[-1, 1]]] == Length[b[[1, 1]]], AppendTo[lst, n]], {n, 4, 6!}]; lst (* Arkadiusz Wesolowski, Dec 03 2011 *)
Select[Range[800], CompositeQ[#]&&Length[Union[IntegerLength[ #, 2]&/@ FactorInteger[ #][[All, 1]]]]==1&] (* Harvey P. Dale, Oct 11 2021 *)
PROG
(PARI) is(n)=my(f=factor(n)[, 1]); #binary(f[1])==#binary(f[#f])&&!isprime(n) \\ Charles R Greathouse IV, Dec 23 2011
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Arkadiusz Wesolowski, Nov 23 2011
STATUS
approved