|
|
A210711
|
|
Semiprimes formed by concatenating n, n, and 1 for n = 1, 2, 3,....
|
|
1
|
|
|
111, 221, 551, 771, 11111, 14141, 15151, 16161, 19191, 23231, 24241, 29291, 30301, 34341, 36361, 37371, 38381, 39391, 42421, 44441, 47471, 50501, 53531, 55551, 56561, 59591, 62621, 68681, 70701, 74741, 75751, 77771, 79791, 81811, 83831, 84841, 87871, 91911, 95951, 96961, 1001001
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
EXAMPLE
|
a(1) = 11 because 111 = 3 * 37.
a(2) = 221 because 221 = 13 * 17.
331 is not in the sequence, because it is a prime.
a(5) = 11111 because "11" concatenated with "11" concatenated with "1" = 11111 = 41 * 271.
|
|
MAPLE
|
read("transforms"):
for n from 1 to 100 do
L := [n, n, 1] ;
p := digcatL(L) ;
if numtheory[bigomega](p) = 2 then
print(p) ;
end if;
|
|
PROG
|
(Magma)
IsSemiprime:=func<i|&+[d[2]: d in Factorization(i)] eq 2>;
[nn1: n in [1..100] | IsSemiprime(nn1) where nn1 is Seqint([1] cat Intseq(n) cat Intseq(n))]; // Bruno Berselli, Jan 30 2013
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|