OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
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
AUTHOR
Robert Israel, Jul 22 2024
STATUS
approved