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!)
A374043 a(n) = 1 if n is a non-multiple of 3 whose 2-adic valuation is a multiple of 3, otherwise 0. 3
1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1
LINKS
FORMULA
Multiplicative with a(2^e) = A079978(e), a(3^e) = 0 for e >= 1, and a(p^e) = 1 for all primes p > 3, and e >= 1.
a(n) = A011655(n) * A373157(n).
From Amiram Eldar, Jun 28 2024: (Start)
Dirichlet g.f.: zeta(s) * (1 - 1/3^s) / (1 + 1/2^s + 1/4^s).
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = 8/21. (End)
MATHEMATICA
a[n_] := If[!Divisible[n, 3] && Divisible[IntegerExponent[n, 2], 3], 1, 0]; Array[a, 100] (* Amiram Eldar, Jun 28 2024 *)
PROG
(PARI) A374043(n) = (n%3 && !(valuation(n, 2)%3));
CROSSREFS
Characteristic function of A374044.
Sequence in context: A266444 A267679 A267868 * A374041 A288733 A095111
KEYWORD
nonn,mult,easy,new
AUTHOR
Antti Karttunen, Jun 27 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 9 02:21 EDT 2024. Contains 374171 sequences. (Running on oeis4.)