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”).

A374899
a(n) is the least semiprime that starts with n.
2
10, 21, 33, 4, 51, 6, 74, 82, 9, 10, 111, 121, 133, 14, 15, 161, 177, 183, 194, 201, 21, 22, 235, 247, 25, 26, 274, 287, 291, 301, 314, 321, 33, 34, 35, 361, 371, 38, 39, 403, 411, 422, 437, 445, 451, 46, 471, 481, 49, 501, 51, 526, 533, 542, 55, 562, 57, 58, 591, 6001, 611, 62, 633, 649, 65, 662
OFFSET
1,1
LINKS
EXAMPLE
a(5) = 51 because 51 = 3 * 17 is a semiprime that starts with 5, and is the least such semiprime.
MAPLE
f:= proc(n) local d, x;
if numtheory:-bigomega(n)=2 then return n fi;
for d from 1 do
for x from n*10^d to (n+1)*10^d-1 do
if numtheory:-bigomega(x)=2 then return x fi
od od
end proc:
map(f, [$1..100]);
CROSSREFS
KEYWORD
nonn,base,look
AUTHOR
Robert Israel, Jul 22 2024
STATUS
approved