OFFSET
1,36
COMMENTS
In addition to A168645, -1's occur also in the following positions: 256, 512, 6561, 16384, 19683, 32768, 390625, 1048576, ...
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..20000
FORMULA
PROG
(PARI)
up_to = 65537;
DirInverseCorrect(v) = { my(u=vector(#v)); u[1] = (1/v[1]); for(n=2, #v, u[n] = (-u[1]*sumdiv(n, d, if(d<n, v[n/d]*u[d], 0)))); (u) }; \\ Compute the Dirichlet inverse of the sequence given in input vector v.
A005171(n) = (1-isprime(n));
v346482 = DirInverseCorrect(vector(up_to, n, A005171(n)));
A346482(n) = v346482[n];
CROSSREFS
KEYWORD
sign
AUTHOR
Mats Granvik and Antti Karttunen, Aug 17 2021
STATUS
approved