login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A349790
a(1) = 1; a(n) = -Sum_{d|n, d < n} lpf(n/d) * a(d).
1
1, -2, -3, 2, -5, 10, -7, -2, 6, 18, -11, -18, -13, 26, 27, 2, -17, -32, -19, -34, 39, 42, -23, 26, 20, 50, -12, -50, -29, -138, -31, -2, 63, 66, 65, 88, -37, 74, 75, 50, -41, -202, -43, -82, -90, 90, -47, -34, 42, -112, 99, -98, -53, 88, 105, 74, 111, 114, -59, 370
OFFSET
1,2
COMMENTS
Dirichlet inverse of A020639.
LINKS
Eric Weisstein's World of Mathematics, Least Prime Factor
MATHEMATICA
a[1] = 1; a[n_] := a[n] = -Sum[(FactorInteger[n/d][[1, 1]]) a[d], {d, Most @ Divisors[n]}]; Table[a[n], {n, 1, 60}]
CROSSREFS
Sequence in context: A147294 A296662 A353299 * A335362 A371395 A059098
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Nov 30 2021
STATUS
approved