This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A338683 #19 Apr 24 2021 09:57:02 %S A338683 1,3,10,3,26,13,50,-177,352,-84,122,-996,170,-153,9704,-13313,290, %T A338683 -6518,362,-2771,107986,17073,530,-805070,394376,99984,1203580, %U A338683 1196313,842,-4500745,962,-13313025,14199222,2316234,33547310,-19898071,1370,10418613,168405072 %N A338683 a(n) = - Sum_{d|n} (-n/d)^d * binomial(d+n/d-1, d). %F A338683 G.f.: Sum_{k >= 1} (1 - 1/(1 + k * x^k)^k). %F A338683 If p is prime, a(p) = (-1)^(p-1) + p^2. %t A338683 a[n_] := -DivisorSum[n, (-n/#)^# * Binomial[# + n/# - 1, #] &]; Array[a, 40] (* _Amiram Eldar_, Apr 24 2021 *) %o A338683 (PARI) a(n) = -sumdiv(n, d, (-n/d)^d*binomial(d+n/d-1, d)); %o A338683 (PARI) N=66; x='x+O('x^N); Vec(sum(k=1, N, 1-1/(1+k*x^k)^k)) %Y A338683 Cf. A327238, A338662, A338682, A338684, A338688. %K A338683 sign %O A338683 1,2 %A A338683 _Seiichi Manyama_, Apr 23 2021