|
|
A105991
|
|
Semiprimes consisting of digits 0 and 1 only.
|
|
1
|
|
|
10, 111, 1011, 1101, 1111, 10001, 11101, 11111, 100001, 101011, 110101, 110111, 111001, 111011, 111101, 1000001, 1000011, 1000101, 1000111, 1001001, 1001101, 1001111, 1010001, 1010111, 1100111, 1101011, 1110001, 1110011, 1110101, 1111001, 1111111, 10000001
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
This includes repunit semiprimes also.
|
|
LINKS
|
|
|
EXAMPLE
|
a(3)=1011 is a term because 1011 is a semiprime and contain digits 0 and 1 only.
|
|
MAPLE
|
N:= 12: # to get all terms with at most N digits
cands[1]:= {1}:
for d from 2 to N do
cands[d]:= map(t -> (10*t, 10*t+1), cands[d-1])
od:
select(numtheory:-bigomega = 2, `union`(seq(cands[d], d=1..N)));
# if using Maple 11 or lower, uncomment the next line
|
|
PROG
|
(PARI) isok(n) = (bigomega(n)==2) && (vecmax(digits(n)) <= 1); \\ Michel Marcus, Jan 27 2015
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|