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!)
A338639 a(0) = 1; for n > 0, a(n) = -Sum_{d|n, d < n} a(d - 1). 3
1, 0, -1, -1, -1, -1, 0, -1, 0, 0, 0, -1, 2, -1, -1, 1, 1, -1, 1, -1, 1, 0, -1, -1, 4, 0, -3, 0, 1, -1, 3, -1, 0, 0, -2, 0, 4, -1, -2, -2, 3, -1, 1, -1, 0, 2, 0, -1, 4, -1, -4, -1, -2, -1, 5, 0, 2, -1, -2, -1, 7, -1, -4, -1, 1, -2, 1, -1, -1, 1, 3, -1, 6, -1, -5, -2, 0, -1, 1, -1, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,13
LINKS
FORMULA
G.f. A(x) satisfies: A(x) = 1 - x^2 * A(x^2) - x^3 * A(x^3) - x^4 * A(x^4) - ...
MATHEMATICA
a[0] = 1; a[n_] := a[n] = -DivisorSum[n, a[# - 1] &, # < n &]; Table[a[n], {n, 0, 80}]
nmax = 80; A[_] = 0; Do[A[x_] = 1 - Sum[x^k A[x^k], {k, 2, nmax}] + O[x]^(nmax + 1) // Normal, nmax + 1]; CoefficientList[A[x], x]
CROSSREFS
Sequence in context: A005094 A121372 A359432 * A249351 A123706 A322817
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Nov 05 2020
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 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)