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!)
A373136 a(n) = 1 if n is of the form 2^i * 3^j * k, i+j even, gcd(k,6)=1, otherwise 0. 2
1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1
LINKS
FORMULA
a(n) = [A007814(n)+A007949(n) == 0 (mod 2)], where [ ] is the Iverson bracket.
Sum_{k=1..n} a(k) ~ (7/12) * n. - Amiram Eldar, May 29 2024
MATHEMATICA
a[n_] := If[EvenQ[Plus @@ IntegerExponent[n, {2, 3}]], 1, 0]; Array[a, 100] (* Amiram Eldar, May 29 2024 *)
PROG
(PARI) A373136(n) = !((valuation(n, 2)+valuation(n, 3))%2); \\ After function "is" in A036668
CROSSREFS
Characteristic function of Hati numbers, A036668.
Sequence in context: A090172 A284369 A194661 * A285427 A285621 A204435
KEYWORD
nonn,easy
AUTHOR
Antti Karttunen, May 28 2024
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 July 11 16:02 EDT 2024. Contains 374234 sequences. (Running on oeis4.)