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.

A368369 AGM transform of odd numbers.

This page as a plain text file.
%I A368369 #20 Jan 29 2024 10:50:18
%S A368369 0,4,324,38656,6812500,1691793216,566933589544,247467140448256,
%T A368369 136744348012840296,93452709250000000000,77479910616937022101996,
%U A368369 76677271817228569527975936,89338843947334074736463717884,121104748419604219251183463776256,189040371972603446582336425781250000,336742459165125951045187297509382291456
%N A368369 AGM transform of odd numbers.
%C A368369 See A368366 for further information.
%H A368369 Paolo Xausa, <a href="/A368369/b368369.txt">Table of n, a(n) for n = 1..210</a>
%t A368369 A368369[n_] := With[{m = n^n}, m*(m-(2*n-1)!!)];
%t A368369 Array[A368369, 20] (* _Paolo Xausa_, Jan 29 2024 *)
%o A368369 (PARI) a368369(n) = {my(v=vector(n, i, i+i-1)); vecsum(v)^n - n^n*vecprod(v)}; \\ _Hugo Pfoertner_, Jan 24 2024
%o A368369 (Python)
%o A368369 from sympy import factorial2
%o A368369 def A368369(n): return (m:=n**n)*(m-factorial2((n<<1)-1)) # _Chai Wah Wu_, Jan 25 2024
%Y A368369 Cf. A005408, A368366.
%K A368369 nonn
%O A368369 1,2
%A A368369 _N. J. A. Sloane_, Jan 24 2024