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

 


A340373
a(n) = 1 if n is of the form of 2^i * p^j, with p an odd prime, and i>=0, j>=1, otherwise 0.
5
0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0
OFFSET
1
COMMENTS
a(n) = 1 if the odd part of n has exactly one distinct prime divisor, and 0 otherwise.
FORMULA
a(n) = A069513(A000265(n)).
a(n) = [A005087(n) == 1], where [ ] is the Iverson bracket, and A005087(n) = A001221(A000265(n)).
a(n) = A340363(n) - A209229(n).
PROG
(PARI) A340373(n) = (1==omega(n>>valuation(n, 2)));
CROSSREFS
Characteristic function of A336101.
Sequence in context: A295309 A353670 A252744 * A043545 A094754 A321694
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 06 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 23 21:52 EDT 2024. Contains 376183 sequences. (Running on oeis4.)