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!)
A341698 a(1) = a(2) = 1; a(n+1) = -Sum_{d|n, d < n} a(n/d) * a(d). 2
1, 1, -1, 1, -2, 2, 0, 0, -2, 1, 3, -3, 1, -1, 1, -5, 4, -4, 12, -12, 14, -14, 8, -8, 10, -14, 12, -16, 18, -18, 26, -26, 36, -30, 22, -22, 24, -24, 0, 2, 20, -20, -10, 10, 12, -18, 2, -2, 14, -14, -2, 10, 16, -16, -8, 20, 14, 10, -46, 46, -52, 52, -104, 132, -70, 74, -186, 186, -134, 150 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
LINKS
MATHEMATICA
a[1] = a[2] = 1; a[n_] := a[n] = -Sum[If[d < (n - 1), a[(n - 1)/d] a[d], 0], {d, Divisors[n - 1]}]; Table[a[n], {n, 70}]
PROG
(PARI) A341698(n) = if(n<3, 1, sumdiv(n-1, d, if(d<(n-1), -A341698((n-1)/d)*A341698(d), 0))); \\ Antti Karttunen, Feb 17 2021
CROSSREFS
Sequence in context: A113406 A151851 A321447 * A357069 A033461 A143432
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Feb 17 2021
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 23 15:20 EDT 2024. Contains 371916 sequences. (Running on oeis4.)