login
A353478
a(n) = 1 if n is an even semiprime (2*prime), otherwise 0.
7
0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1
OFFSET
1
FORMULA
If A000035(n) = 0, then a(n) = A010051(n/2), otherwise 0.
a(n) = A059841(n) * A064911(n).
a(n) = A064911(n) - A353480(n).
PROG
(PARI) A353478(n) = ((0==(n%2)) && isprime(n/2));
CROSSREFS
Characteristic function of A100484, the primes doubled.
Sequence in context: A234577 A038189 A072783 * A353555 A353476 A288377
KEYWORD
nonn
AUTHOR
Antti Karttunen, Apr 22 2022
STATUS
approved