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.

Showing 1-3 of 3 results.

A026062 a(n) = (d(n)-r(n))/5, where d = A026060 and r is the periodic sequence with fundamental period (0,0,1,4,0).

Original entry on oeis.org

9, 16, 25, 36, 51, 68, 88, 111, 137, 168, 202, 240, 282, 328, 380, 436, 497, 563, 634, 712, 795, 884, 979, 1080, 1189, 1304, 1426, 1555, 1691, 1836, 1988, 2148, 2316, 2492, 2678, 2872, 3075, 3287, 3508, 3740, 3981, 4232, 4493, 4764, 5047, 5340, 5644, 5959, 6285, 6624, 6974, 7336, 7710, 8096
Offset: 5

Views

Author

Keywords

Crossrefs

Cf. A152894.

Formula

a(n)=(n + 5)*(n^2 + 25*n + 54)/30 - 1/5*(1 + ( - 1/2 - 1/2*5^(1/2))*cos(2*n*Pi/5) + ( - 3/10*2^(1/2)*(5 - 5^(1/2))^(1/2))*sin(2*n*Pi/5) + ( - 1/2 + 1/2*5^(1/2))*cos(4*n*Pi/5) + (3/10*2^(1/2)*(5 + 5^(1/2))^(1/2))*sin(4*n*Pi/5)) - Richard Choulet, Dec 14 2008
G.f. x^5*( 9-11*x+4*x^2+2*x^4-11*x^5+12*x^6-4*x^7 ) / ( (x^4+x^3+x^2+x+1)*(x-1)^4 ). - R. J. Mathar, Jun 23 2013

A026061 a(n) = (d(n)-r(n))/2, where d = A026060 and r is the periodic sequence with fundamental period (1,0,0,0).

Original entry on oeis.org

22, 40, 63, 92, 127, 170, 220, 278, 344, 420, 505, 600, 705, 822, 950, 1090, 1242, 1408, 1587, 1780, 1987, 2210, 2448, 2702, 2972, 3260, 3565, 3888, 4229, 4590, 4970, 5370, 5790, 6232, 6695, 7180, 7687, 8218, 8772, 9350, 9952, 10580, 11233, 11912, 12617, 13350, 14110, 14898
Offset: 5

Views

Author

Keywords

Formula

G.f.: x^5*( 22-26*x+9*x^2+x^3+28*x^5-10*x^6-22*x^4 ) / ( (1+x)*(x^2+1)*(x-1)^4 ). - R. J. Mathar, Jun 23 2013

A094415 Triangle T read by rows: dot product * .

Original entry on oeis.org

1, 4, 5, 10, 13, 13, 20, 26, 28, 26, 35, 45, 50, 50, 45, 56, 71, 80, 83, 80, 71, 84, 105, 119, 126, 126, 119, 105, 120, 148, 168, 180, 184, 180, 168, 148, 165, 201, 228, 246, 255, 255, 246, 228, 201, 220, 265, 300, 325, 340, 345, 340, 325, 300, 265, 286, 341
Offset: 0

Views

Author

Ralf Stephan, May 02 2004

Keywords

Examples

			Triangle begins as:
   1;
   4,  5;
  10, 13, 13;
  20, 26, 28, 26;
  35, 45, 50, 50, 45;
  56, 71, 80, 83, 80, 71;
		

Crossrefs

Half-diagonal is A050410.
Row sums are A000537.
See also A094414, A088003.

Programs

  • GAP
    Flat(List([0..12], n-> List([0..n], k-> (n+1)*((n+2)*(n+3) + 3*k*(n-k+1))/6 ))); # G. C. Greubel, Oct 30 2019
  • Magma
    [(n+1)*((n+2)*(n+3) + 3*k*(n-k+1))/6: k in [0..n], n in [0..12]]; // G. C. Greubel, Oct 30 2019
    
  • Maple
    seq(seq( (n+1)*((n+2)*(n+3) + 3*k*(n-k+1))/6 , k=0..n), n=0..12); # G. C. Greubel, Oct 30 2019
  • Mathematica
    Table[(n+1)*((n+2)*(n+3) + 3*k*(n-k+1))/6, {n,0,12}, {k,0,n}]//Flatten (* G. C. Greubel, Oct 30 2019 *)
  • PARI
    T(n,k) = (n+1)*((n+2)*(n+3) + 3*k*(n-k+1))/6;
    for(n=0,12, for(k=0,n, print1(T(n,k), ", "))) \\ G. C. Greubel, Oct 30 2019
    
  • Sage
    [[(n+1)*((n+2)*(n+3) + 3*k*(n-k+1))/6 for k in (0..n)] for n in (0..12)] # G. C. Greubel, Oct 30 2019
    

Formula

T(n, k) = n*(n^2 + 3*n*(1+k) + 2 - 3*k^2)/6 for n >= 0, 0 <= k <= n.
Showing 1-3 of 3 results.