cp's OEIS Frontend

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.

A359796 a(n) = Sum_{d|n} (2*d)^(d-1).

This page as a plain text file.
%I A359796 #12 Aug 14 2023 02:00:29
%S A359796 1,5,37,517,10001,248873,7529537,268435973,11019960613,512000010005,
%T A359796 26559922791425,1521681143418409,95428956661682177,
%U A359796 6502111422505477189,478296900000000010037,37778931862957430145541,3189059870763703892770817
%N A359796 a(n) = Sum_{d|n} (2*d)^(d-1).
%F A359796 G.f.: Sum_{k>0} (2 * k)^(k-1) * x^k / (1 - x^k).
%t A359796 a[n_] := DivisorSum[n, (2*#)^(# - 1) &]; Array[a, 20] (* _Amiram Eldar_, Aug 14 2023 *)
%o A359796 (PARI) a(n) = sumdiv(n, d, (2*d)^(d-1));
%o A359796 (PARI) my(N=20, x='x+O('x^N)); Vec(sum(k=1, N, (2*k)^(k-1)*x^k/(1-x^k)))
%Y A359796 Cf. A262843, A359731.
%K A359796 nonn,easy
%O A359796 1,2
%A A359796 _Seiichi Manyama_, Jan 13 2023