|
|
A307546
|
|
Prime indices of A195685.
|
|
1
|
|
|
7, 14, 15, 20, 26, 28, 29, 36, 45, 48, 66, 70, 89, 98, 104, 115, 122, 126, 142, 152, 157, 161, 164, 167, 177, 182, 186, 191, 194, 199, 202, 205, 216, 218, 219, 244, 264, 279, 283, 295, 297, 299, 324, 329, 336, 342, 362, 408, 416, 423, 430, 440, 457, 498, 500
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Since only the indices are listed, this sequence is more compact than A195685. As described there, all elements of the triples (2*prime(a(n))-1, 2*prime(a(n)), 2*prime(a(n))+1) are products of exactly two distinct primes. Such values are called "squarefree semiprimes" in A006881.
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
|
|
MAPLE
|
with(numtheory):
q:= n-> (p-> tau(2*p-1)=4 and tau(2*p+1)=4)(ithprime(n)):
|
|
PROG
|
(PARI) isok(k) = my(p=prime(k)); (numdiv(2*p-1) == 4) && (numdiv(2*p+1) == 4); \\ Michel Marcus, Nov 30 2022
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|