login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A090333 Nonprimes with no divisors >1 that are prefixes of other divisors in binary representation. 2
1, 9, 25, 33, 35, 49, 65, 69, 77, 91, 121, 125, 129, 133, 141, 143, 145, 155, 161, 169, 209, 247, 259, 265, 267, 287, 289, 295, 299, 301, 305, 319, 323, 329, 341, 343, 361, 371, 377, 391, 395, 403, 407, 437, 451, 473, 481, 485, 493, 505, 515, 519, 527, 529, 533 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
A090332 without primes.
Includes all members of A001248 except 4. - Robert Israel, Jul 08 2020
LINKS
MAPLE
filter:= proc(n) local d, i, j;
if isprime(n) then return false fi;
d:= numtheory:-divisors(n);
for i in d do
for j from 1 to ilog2(i)-1 do
if member(floor(i/2^j), d) then return false fi
od od;
true
end proc:
select(filter, [seq(i, i=1..1000, 2)]); # Robert Israel, Jul 08 2020
MATHEMATICA
filterQ[n_] := If[PrimeQ[n], False, Catch@Module[{d = Divisors[n], j}, Do[For[j = 1, j <= Floor@Log[2, i]-1, j++, If[MemberQ[d, Floor[i/2^j]], Throw[False]]], {i, d}]; True]];
Select[Range[1000], filterQ] (* Jean-François Alcover, Dec 16 2021, after Robert Israel *)
CROSSREFS
Sequence in context: A246328 A065772 A305755 * A137190 A044070 A348234
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Nov 26 2003
EXTENSIONS
Missing term 121 inserted by Robert Israel, Jul 08 2020
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:06 EDT 2024. Contains 371963 sequences. (Running on oeis4.)