OFFSET
1,2
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..19683
FORMULA
a(1) = 1, and for n > 1, a(n) = -Sum_{d|n, d<n} A263273(n/d) * a(d).
PROG
(PARI)
A030102(n) = { my(r=[n%3]); while(0<n\=3, r=concat(n%3, r)); subst(Polrev(r), x, 3); };
memoA365803 = Map();
CROSSREFS
KEYWORD
sign
AUTHOR
Antti Karttunen, Sep 19 2023
STATUS
approved