login
A295632
Write 1/Product_{n > 1}(1 - 1/n^s) in the form Product_{n > 1}(1 + a(n)/n^s).
5
1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1
OFFSET
2,3
COMMENTS
First negative entry is a(1024) = -4.
MATHEMATICA
nn=100;
facs[n_]:=If[n<=1, {{}}, Join@@Table[Map[Prepend[#, d]&, Select[facs[n/d], Min@@#>=d&]], {d, Rest[Divisors[n]]}]];
Solve[Table[Length[facs[n]]==Sum[Times@@a/@f, {f, Select[facs[n], UnsameQ@@#&]}], {n, 2, nn}], Table[a[n], {n, 2, nn}]][[1, All, 2]]
KEYWORD
sign
AUTHOR
Gus Wiseman, Nov 24 2017
STATUS
approved