login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A353471 a(n) = 1 if n is a prime or a squarefree semiprime, otherwise 0. 2
0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1
COMMENTS
a(n) = 1 if the number of the divisors of n, tau(n), is equal to the twice number of distinct prime factors of n, 2*omega(n), otherwise 0.
LINKS
FORMULA
a(n) = A010051(n) + A280710(n).
a(n) = [A000005(n) == 2*A001221(n)], where [ ] is the Iverson bracket.
PROG
(PARI) A353471(n) = (numdiv(n)==2*omega(n));
CROSSREFS
Characteristic function of A167171, the union of primes (A000040) and squarefree semiprimes (A006881).
Sequence in context: A323153 A288861 A030190 * A157658 A296211 A341642
KEYWORD
nonn
AUTHOR
Antti Karttunen, Apr 21 2022
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 9 22:30 EDT 2024. Contains 372354 sequences. (Running on oeis4.)