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!)
A293665 a(0) = 1; a(n) = -Sum_{d|n} a(n-d). 1
1, -1, 0, -1, 0, -1, 1, -2, 0, -2, 2, -3, 1, -2, 2, -6, 2, -3, 7, -8, 2, -12, 12, -13, 0, -3, 4, -12, 17, -18, 19, -20, -19, -13, 34, -71, 54, -55, 8, -67, 73, -74, 79, -80, -72, -154, 238, -239, 39, -119, 163, -237, 97, -98, 310, -402, -22, -297, 336, -337, 271, -272, 20, -659, 369, -738 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,8
LINKS
FORMULA
a(p) = -a(p-1) - 1, for p is a prime.
MATHEMATICA
a[n_] := a[n] = -Sum[a[n - d], {d, Divisors[n]}]; a[0] = 1; Table[a[n], {n, 0, 65}]
CROSSREFS
Sequence in context: A352965 A103615 A308167 * A159632 A164733 A288311
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Oct 14 2017
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 March 28 14:38 EDT 2024. Contains 371254 sequences. (Running on oeis4.)