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.

A124350 a(n) = 4*n*(floor(n^2/2)+1). For n >= 3, this is the number of directed Hamiltonian paths on the n-prism graph.

This page as a plain text file.
%I A124350 #37 Feb 16 2025 08:33:03
%S A124350 0,4,24,60,144,260,456,700,1056,1476,2040,2684,3504,4420,5544,6780,
%T A124350 8256,9860,11736,13756,16080,18564,21384,24380,27744,31300,35256,
%U A124350 39420,44016,48836,54120,59644,65664,71940,78744,85820,93456,101380,109896,118716
%N A124350 a(n) = 4*n*(floor(n^2/2)+1). For n >= 3, this is the number of directed Hamiltonian paths on the n-prism graph.
%H A124350 Stefano Spezia, <a href="/A124350/b124350.txt">Table of n, a(n) for n = 0..10000</a>
%H A124350 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/HamiltonianPath.html">Hamiltonian Path</a>.
%H A124350 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/PrismGraph.html">Prism Graph</a>.
%H A124350 <a href="/index/Rec#order_06">Index entries for linear recurrences with constant coefficients</a>, signature (2,1,-4,1,2,-1).
%F A124350 From _Colin Barker_, Sep 06 2013: (Start)
%F A124350 a(n) = n*(3 + (-1)^n + 2*n^2).
%F A124350 G.f.: 4*x*(x^2+1)*(x^2+4*x+1) / ((x-1)^4*(x+1)^2). (End)
%F A124350 a(n) = 4*n*A080827(n). - _R. J. Mathar_, Jan 25 2016
%F A124350 E.g.f.: 2*x*((2 + 3*x + x^2)*cosh(x) + (3 + 3*x + x^2)*sinh(x)). - _Stefano Spezia_, Jan 27 2024
%t A124350 LinearRecurrence[{2, 1, -4, 1, 2, -1}, {0, 4, 24, 60, 144, 260}, 60] (* _Vincenzo Librandi_, Jan 26 2016 *)
%o A124350 (PARI) Vec(4*x*(x^2+1)*(x^2+4*x+1)/((x-1)^4*(x+1)^2) + O(x^100)) \\ _Colin Barker_, Sep 06 2013
%Y A124350 Cf. A080827, A124349.
%K A124350 nonn,easy
%O A124350 0,2
%A A124350 _Eric W. Weisstein_, Oct 26 2006
%E A124350 Formula and further terms from _Max Alekseyev_, Feb 07 2008