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!)
A359836 Parity of A353418, where A353418 is Dirichlet inverse of the characteristic function for numbers k where A156552(k) is a multiple of 3. 4
1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1
LINKS
FORMULA
a(n) = A353418(n) mod 2.
a(n) = a(A003961(n)) = a(A348717(n)), for all n >= 1.
a(n) <= A359835(n).
a(n) <= A353269(n). [Conjectured. Note that as A329609 is not a multiplicative semigroup, the proof cannot be similar to that given in A353348 for A359826. See also A359835]
PROG
(PARI)
A156552(n) = { my(f = factor(n), p, p2 = 1, res = 0); for(i = 1, #f~, p = 1 << (primepi(f[i, 1]) - 1); res += (p * p2 * (2^(f[i, 2]) - 1)); p2 <<= f[i, 2]); res };
A353269(n) = (!(A156552(n)%3));
memoA353418 = Map();
A353418(n) = if(1==n, 1, my(v); if(mapisdefined(memoA353418, n, &v), v, v = -sumdiv(n, d, if(d<n, A353269(n/d)*A353418(d), 0)); mapput(memoA353418, n, v); (v)));
A359836(n) = (A353418(n)%2);
CROSSREFS
Cf. also A353348 and A359826.
Sequence in context: A368997 A330682 A230135 * A359835 A353331 A353269
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 17 2023
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 April 23 16:40 EDT 2024. Contains 371916 sequences. (Running on oeis4.)