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!)
A365711 Dirichlet inverse of balanced ternary enumeration of integers (A117966). 8
1, 1, -3, -3, -2, -3, 2, -3, 0, -14, -8, 9, -13, -7, 6, 6, -5, 0, 8, 0, -6, -11, 7, 9, 15, -13, 0, -60, -26, 42, -31, -30, 24, -35, -31, 0, -37, -19, 39, 54, -38, 21, -34, 18, 0, -5, -17, -18, -18, 54, 15, 75, -14, 0, 58, 3, -24, -29, 25, 0, 29, -31, 0, -57, 71, 33, 14, -9, -21, -46, 22, 0, 35, -37, -45, -78, 2, 39 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(1) = 1, and for n > 1, a(n) = -Sum_{d|n, d<n} A117966(n/d) * a(d).
A011655(abs(a(n))) = A359377(n).
PROG
(PARI)
A117966(n) = subst(Pol(apply(x->if(x == 2, -1, x), digits(n, 3)), 'x), 'x, 3); \\ From A117966 by Gheorghe Coserea
memoA365711 = Map();
A365711(n) = if(1==n, 1, my(v); if(mapisdefined(memoA365711, n, &v), v, v = -sumdiv(n, d, if(d<n, A117966(n/d)*A365711(d), 0)); mapput(memoA365711, n, v); (v)));
CROSSREFS
Cf. also A365713, A365803.
Sequence in context: A129979 A274709 A260896 * A237347 A075017 A060586
KEYWORD
sign
AUTHOR
Antti Karttunen, Sep 19 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 September 4 20:04 EDT 2024. Contains 375685 sequences. (Running on oeis4.)