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

A353473
a(n) = 1 if n is a number of the form p * q^2, where p and q are primes with p < q, otherwise 0.
3
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
OFFSET
1
COMMENTS
a(n) = 1 if n is not a cube of prime and A032742(n) is a square of prime, otherwise 0.
FORMULA
a(n) = A143731(n) * A302048(A032742(n)).
a(n) = A353472(n) - A353474(n).
PROG
(PARI)
A032742(n) = if(1==n, n, n/vecmin(factor(n)[, 1]));
A353473(n) = (!isprimepower(n) && 2==isprimepower(A032742(n)));
CROSSREFS
Characteristic function of A095990.
Sequence in context: A181837 A185709 A011732 * A378661 A011731 A085980
KEYWORD
nonn
AUTHOR
Antti Karttunen, Apr 21 2022
STATUS
approved