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!)
A307781 a(1) = 1; a(n+1) = -Sum_{d|n} a(d)^(n/d). 2
1, -1, 0, -1, -1, 0, 0, -1, -2, 1, -2, 1, -2, 1, -1, 1, -5, 4, -8, 7, -10, 9, -13, 12, -15, 15, -19, 26, -28, 27, -30, 29, -34, 41, -66, 66, -100, 99, -163, 170, -223, 222, -323, 322, -420, 453, -622, 621, -771, 770, -997, 1121, -1363, 1362, -1851, 1883, -2562, 3073, -3857, 3856 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,9
LINKS
FORMULA
L.g.f.: log(Product_{n>=1} (1 - a(n)*x^n)^(1/n)) = Sum_{n>=1} a(n+1)*x^n/n.
MAPLE
f:= proc(n) option remember; local d;
-add(procname(d)^((n-1)/d), d = numtheory:-divisors(n-1))
end proc:
f(1):= 1:
map(f, [$1..100]); # Robert Israel, Apr 29 2019
MATHEMATICA
a[n_] := a[n] = -Sum[a[d]^((n - 1)/d), {d, Divisors[n - 1]}]; a[1] = 1; Table[a[n], {n, 1, 60}]
PROG
(PARI) lista(nn) = {my(va = vector(nn)); va[1] = 1; for (n=2, nn, va[n] = -sumdiv(n-1, d, va[d]^((n-1)/d)); ); va; } \\ Michel Marcus, Apr 30 2019
CROSSREFS
Sequence in context: A322869 A229344 A210501 * A356112 A232740 A188512
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Apr 28 2019
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 17 23:23 EDT 2024. Contains 371767 sequences. (Running on oeis4.)