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 A126951 #10 Sep 08 2022 08:45:29 %S A126951 1,1,2,8,3,27,4,64,5,125,6,216,7,343,8,512,9,729,10,1000,11,1331,12, %T A126951 1728,13,2197,14,2744,15,3375,16,4096,17,4913,18,5832,19,6859,20,8000, %U A126951 21,9261,22,10648,23,12167,24,13824,25,15625,26,17576,27,19683,28,21952 %N A126951 List of pairs: k followed by k^3. %H A126951 <a href="/index/Rec#order_08">Index entries for linear recurrences with constant coefficients</a>, signature (0, 4, 0, -6, 0, 4, 0, -1). %F A126951 a(n) = (n+1)/2 if n is odd, a(n) = (n/2)^3 otherwise; %F A126951 a(n) = ((((-1)^(n+1))+1)/4)*(n+1) - ((((-1)^(n+1))-1)/16)*n^3; %F A126951 g.f.: (x + x^2 - 2*x^3 + 4*x^4 + x^5 + x^6)/(1 - x^2)^4. %t A126951 Table[((((-1)^(n+1))+1)/4)(n+1)- ((((-1)^(n+1))-1)/16)n^3,{n,64}] %t A126951 Flatten[Table[{n,n^3},{n,30}]] (* or *) LinearRecurrence[{0,4,0,-6,0,4,0,-1},{1,1,2,8,3,27,4,64},60] (* _Harvey P. Dale_, Mar 11 2018 *) %o A126951 (Magma) &cat[ [ n, n^3 ]: n in [1..40] ]; // _Vincenzo Librandi_, Apr 21 2011 %Y A126951 Cf. A000463, A109588, A109594-5, A109614-6, A110001, A110003-5, A110008-9, A110485, A110622, A110650-3. %K A126951 nonn %O A126951 1,3 %A A126951 _Zak Seidov_, Mar 18 2007