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-10 of 23 results. Next

A144739 7-factorial numbers A114799(7*n+3): Partial products of A017017(k) = 7*k+3, a(0) = 1.

Original entry on oeis.org

1, 3, 30, 510, 12240, 379440, 14418720, 648842400, 33739804800, 1990648483200, 131382799891200, 9590944392057600, 767275551364608000, 66752972968720896000, 6274779459059764224000, 633752725365036186624000, 68445294339423908155392000, 7871208849033749437870080000
Offset: 0

Views

Author

Philippe Deléham, Sep 20 2008

Keywords

Examples

			a(0)=1, a(1)=3, a(2)=3*10=30, a(3)=3*10*17=510, a(4)=3*10*17*24=12240, ...
		

Crossrefs

Programs

  • GAP
    List([0..20], n-> Product([0..n-1], k-> 7*k+3) ); # G. C. Greubel, Aug 19 2019
  • Magma
    [ 1 ] cat [ &*[ (7*k+3): k in [0..n] ]: n in [0..20] ]; // Klaus Brockhaus, Nov 10 2008
    
  • Maple
    a:= n-> product(7*j+3, j=0..n-1); seq(a(n), n=0..20); # G. C. Greubel, Aug 19 2019
  • Mathematica
    Table[7^n*Pochhammer[3/7, n], {n,0,20}] (* G. C. Greubel, Aug 19 2019 *)
  • PARI
    a(n)=prod(i=1,n,7*i-4) \\ Charles R Greathouse IV, Jul 02 2013
    
  • Sage
    [product(7*k+3 for k in (0..n-1)) for n in (0..20)] # G. C. Greubel, Aug 19 2019
    

Formula

a(n) = Sum_{k=0..n} A132393(n,k)*3^k*7^(n-k).
G.f.: 1/(1-3*x/(1-7*x/(1-10*x/(1-14*x/(1-17*x/(1-21*x/(1-24*x/(1-... (continued fraction). - Philippe Deléham, Jan 08 2012
a(n) = (-4)^n*Sum_{k=0..n} (7/4)^k*s(n+1,n+1-k), where s(n,k) are the Stirling numbers of the first kind, A048994. - Mircea Merca, May 03 2012
From Ilya Gutkovskiy, Mar 23 2017: (Start)
E.g.f.: 1/(1 - 7*x)^(3/7).
a(n) ~ sqrt(2*Pi)*7^n*n^n/(exp(n)*n^(1/14)*Gamma(3/7)). (End)
a(n) = A114799(7*n-4). - M. F. Hasler, Feb 23 2018
D-finite with recurrence: a(n) +(-7*n+4)*a(n-1)=0. - R. J. Mathar, Feb 21 2020
Sum_{n>=0} 1/a(n) = 1 + (e/7^4)^(1/7)*(Gamma(3/7) - Gamma(3/7, 1/7)). - Amiram Eldar, Dec 19 2022

A080851 Square array of pyramidal numbers, read by antidiagonals.

Original entry on oeis.org

1, 1, 3, 1, 4, 6, 1, 5, 10, 10, 1, 6, 14, 20, 15, 1, 7, 18, 30, 35, 21, 1, 8, 22, 40, 55, 56, 28, 1, 9, 26, 50, 75, 91, 84, 36, 1, 10, 30, 60, 95, 126, 140, 120, 45, 1, 11, 34, 70, 115, 161, 196, 204, 165, 55, 1, 12, 38, 80, 135, 196, 252, 288, 285, 220, 66, 1, 13, 42, 90, 155, 231, 308, 372, 405, 385, 286, 78
Offset: 0

Views

Author

Paul Barry, Feb 21 2003

Keywords

Comments

The first row contains the triangular numbers, which are really two-dimensional, but can be regarded as degenerate pyramidal numbers. - N. J. A. Sloane, Aug 28 2015

Examples

			Array begins (n>=0, k>=0):
1,  3,  6, 10,  15,  21,  28,  36,  45,   55, ... A000217
1,  4, 10, 20,  35,  56,  84, 120, 165,  220, ... A000292
1,  5, 14, 30,  55,  91, 140, 204, 285,  385, ... A000330
1,  6, 18, 40,  75, 126, 196, 288, 405,  550, ... A002411
1,  7, 22, 50,  95, 161, 252, 372, 525,  715, ... A002412
1,  8, 26, 60, 115, 196, 308, 456, 645,  880, ... A002413
1,  9, 30, 70, 135, 231, 364, 540, 765, 1045, ... A002414
1, 10, 34, 80, 155, 266, 420, 624, 885, 1210, ... A007584
		

Crossrefs

Numerous sequences in the database are to be found in the array. Rows include the pyramidal numbers A000217, A000292, A000330, A002411, A002412, A002413, A002414, A007584, A007585, A007586.
Columns include or are closely related to A017029, A017113, A017017, A017101, A016777, A017305. Diagonals include A006325, A006484, A002417.
Cf. A057145, A027660 (antidiagonal sums).
See A257199 for another version of this array.

Programs

  • Derive
    vector(vector(poly_coeff(Taylor((1+kx)/(1-x)^4,x,11),x,n),n,0,11),k,-1,10) VECTOR(VECTOR(comb(k+2,2)+comb(k+2,3)n, k, 0, 11), n, 0, 11)
  • Maple
    A080851 := proc(n,k)
        binomial(k+3,3)+(n-1)*binomial(k+2,3) ;
    end proc:
    seq( seq(A080851(d-k,k),k=0..d),d=0..12) ; # R. J. Mathar, Oct 01 2021
  • Mathematica
    pyramidalFigurative[ ngon_, rank_] := (3 rank^2 + rank^3 (ngon - 2) - rank (ngon - 5))/6; Table[ pyramidalFigurative[n-k-1, k], {n, 4, 15}, {k, n-3}] // Flatten (* Robert G. Wilson v, Sep 15 2015 *)

Formula

T(n, k) = binomial(k+3, 3) + (n-1)*binomial(k+2, 3), corrected Oct 01 2021.
T(n, k) = T(n-1, k) + C(k+2, 3) = T(n-1, k) + k*(k+1)*(k+2)/6.
G.f. for rows: (1 + n*x)/(1-x)^4, n>=-1.
T(n,k) = sum_{j=1..k+1} A057145(n+2,j). - R. J. Mathar, Jul 28 2016

A017089 a(n) = 8*n + 2.

Original entry on oeis.org

2, 10, 18, 26, 34, 42, 50, 58, 66, 74, 82, 90, 98, 106, 114, 122, 130, 138, 146, 154, 162, 170, 178, 186, 194, 202, 210, 218, 226, 234, 242, 250, 258, 266, 274, 282, 290, 298, 306, 314, 322, 330, 338, 346, 354, 362, 370, 378, 386, 394, 402, 410, 418, 426
Offset: 0

Views

Author

N. J. A. Sloane, Dec 11 1996

Keywords

Comments

Apart from initial term(s), dimension of the space of weight 2n cusp forms for Gamma_0( 33 ).
Apart from initial term(s), dimension of the space of weight 2n cuspidal newforms for Gamma_0( 81 ).
First differences of A002939. - Aaron David Fairbanks, May 13 2014

Crossrefs

Programs

Formula

a(n) = 8*n+2; a(n) = 2*a(n-1)-a(n-2). - Vincenzo Librandi, May 28 2011
Sum_{n>=0} (-1)^n/a(n) = (Pi + 2*log(cot(Pi/8)))/(8*sqrt(2)). - Amiram Eldar, Dec 11 2021
From Elmo R. Oliveira, Mar 17 2024: (Start)
G.f.: 2*(1+3*x)/(1-x)^2.
E.g.f.: 2*exp(x)*(1 + 4*x).
a(n) = 2*A016813(n) = A008590(n) + 2. (End)

A017029 a(n) = 7*n + 4.

Original entry on oeis.org

4, 11, 18, 25, 32, 39, 46, 53, 60, 67, 74, 81, 88, 95, 102, 109, 116, 123, 130, 137, 144, 151, 158, 165, 172, 179, 186, 193, 200, 207, 214, 221, 228, 235, 242, 249, 256, 263, 270, 277, 284, 291, 298, 305, 312, 319, 326, 333, 340, 347, 354, 361, 368, 375, 382
Offset: 0

Views

Author

Keywords

Crossrefs

Cf. similar sequences with closed form (2*k-1)*n+k listed in A269044.

Programs

Formula

G.f.: (3*x + 4)/(1-x)^2. - Vincenzo Librandi, Jan 27 2013
From Elmo R. Oliveira, Apr 12 2025: (Start)
E.g.f.: exp(x)*(4 + 7*x).
a(n) = 2*a(n-1) - a(n-2). (End)

Extensions

Extended by Ray Chandler, Jan 25 2005

A017053 a(n) = 7*n + 6.

Original entry on oeis.org

6, 13, 20, 27, 34, 41, 48, 55, 62, 69, 76, 83, 90, 97, 104, 111, 118, 125, 132, 139, 146, 153, 160, 167, 174, 181, 188, 195, 202, 209, 216, 223, 230, 237, 244, 251, 258, 265, 272, 279, 286, 293, 300, 307, 314, 321, 328, 335, 342, 349, 356, 363, 370, 377, 384
Offset: 0

Views

Author

Keywords

Crossrefs

Programs

Formula

a(n) = 2*a(n-1) - a(n-2). - Wesley Ivan Hurt, Mar 17 2023
G.f.: (6+x)/(1-x)^2. - Wesley Ivan Hurt, Dec 28 2023

A083487 Triangle read by rows: T(n,k) = 2*n*k + n + k (1 <= k <= n).

Original entry on oeis.org

4, 7, 12, 10, 17, 24, 13, 22, 31, 40, 16, 27, 38, 49, 60, 19, 32, 45, 58, 71, 84, 22, 37, 52, 67, 82, 97, 112, 25, 42, 59, 76, 93, 110, 127, 144, 28, 47, 66, 85, 104, 123, 142, 161, 180, 31, 52, 73, 94, 115, 136, 157, 178, 199, 220, 34, 57, 80, 103, 126, 149, 172, 195, 218, 241, 264
Offset: 1

Views

Author

Artemario Tadeu Medeiros da Silva (artemario(AT)uol.com.br), Jun 09 2003

Keywords

Comments

T(n,k) gives number of edges (of unit length) in a k X n grid.
The values 2*T(n,k)+1 = (2*n+1)*(2*k+1) are nonprime and therefore in A047845.

Examples

			Triangle begins:
   4;
   7, 12;
  10, 17, 24;
  13, 22, 31, 40;
  16, 27, 38, 49,  60;
  19, 32, 45, 58,  71,  84;
  22, 37, 52, 67,  82,  97, 112;
  25, 42, 59, 76,  93, 110, 127, 144;
  28, 47, 66, 85, 104, 123, 142, 161, 180;
		

Crossrefs

Programs

  • Magma
    [(2*n*k + n + k): k in [1..n], n in [1..11]]; // Vincenzo Librandi, Jun 01 2014
    
  • Mathematica
    T[n_,k_]:= 2 n k + n + k; Table[T[n, k], {n, 10}, {k, n}]//Flatten (* Vincenzo Librandi, Jun 01 2014 *)
  • Python
    def T(r, c): return 2*r*c + r + c
    a = [T(r, c) for r in range(12) for c in range(1, r+1)]
    print(a) # Michael S. Branicky, Sep 07 2022
    
  • SageMath
    flatten([[2*n*k +n +k for k in range(1,n+1)] for n in range(1,14)]) # G. C. Greubel, Oct 17 2023

Formula

From G. C. Greubel, Oct 17 2023: (Start)
T(n, 1) = A016777(n).
T(n, 2) = A016873(n).
T(n, 3) = A017017(n).
T(n, 4) = A017209(n).
T(n, 5) = A017449(n).
T(n, 6) = A186113(n).
T(n, n-1) = A056220(n).
T(n, n-2) = A090288(n-2).
T(n, n-3) = A271625(n-2).
T(n, n) = 4*A000217(n).
T(2*n, n) = A033954(n).
Sum_{k=1..n} T(n, k) = A162254(n).
Sum_{k=1..n} (-1)^(k-1)*T(n, k) = A182868((n+1)/2) if n is odd otherwise A182868(n/2) + 1. (End)

Extensions

Edited by N. J. A. Sloane, Jul 23 2009
Name edited by Michael S. Branicky, Sep 07 2022

A134501 a(n) = Fibonacci(7n + 3).

Original entry on oeis.org

2, 55, 1597, 46368, 1346269, 39088169, 1134903170, 32951280099, 956722026041, 27777890035288, 806515533049393, 23416728348467685, 679891637638612258, 19740274219868223167, 573147844013817084101, 16641027750620563662096
Offset: 0

Views

Author

Artur Jasinski, Oct 28 2007

Keywords

Crossrefs

Programs

Formula

From R. J. Mathar, Jul 04 2011: (Start)
G.f.: (-2+3*x) / (-1 + 29*x + x^2).
a(n) = 2*A049667(n+1) - 3*A049667(n). (End)
a(n) = A000045(A017017(n)). - Michel Marcus, Nov 07 2013

Extensions

Offset changed to 0 by Vincenzo Librandi, Apr 16 2011

A047318 Numbers that are congruent to {0, 1, 2, 4, 5, 6} mod 7.

Original entry on oeis.org

0, 1, 2, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22, 23, 25, 26, 27, 28, 29, 30, 32, 33, 34, 35, 36, 37, 39, 40, 41, 42, 43, 44, 46, 47, 48, 49, 50, 51, 53, 54, 55, 56, 57, 58, 60, 61, 62, 63, 64, 65, 67, 68, 69, 70, 71, 72, 74, 75, 76, 77, 78, 79, 81, 82, 83
Offset: 1

Views

Author

Keywords

Comments

Complement of A017017. - Michel Marcus, Sep 10 2015

Crossrefs

Cf. A017017.

Programs

Formula

G.f.: x^2*(1+x+2*x^2+x^3+x^4+x^5) / ( (1+x)*(1+x+x^2)*(x^2-x+1)*(x-1)^2 ). - R. J. Mathar, Dec 03 2011
From Wesley Ivan Hurt, Sep 10 2015: (Start)
a(n) = a(n-1) + a(n-6) - a(n-7) for n>7.
a(n) = n + floor((n-4)/6). (End)
From Wesley Ivan Hurt, Jun 15 2016: (Start)
a(n) = (42*n-39+3*cos(n*Pi)-4*sqrt(3)*cos((1+4*n)*Pi/6)+12*sin((1-2*n)*Pi/6))/36.
a(6k) = 7k-1, a(6k-1) = 7k-2, a(6k-2) = 7k-3, a(6k-3) = 7k-5, a(6k-4) = 7k-6, a(6k-5) = 7k-7. (End)

Extensions

More terms from James Sellers, Feb 19 2001

A163672 Triangle T(n,m) = 2mn + m + n + 7 read by rows.

Original entry on oeis.org

11, 14, 19, 17, 24, 31, 20, 29, 38, 47, 23, 34, 45, 56, 67, 26, 39, 52, 65, 78, 91, 29, 44, 59, 74, 89, 104, 119, 32, 49, 66, 83, 100, 117, 134, 151, 35, 54, 73, 92, 111, 130, 149, 168, 187, 38, 59, 80, 101, 122, 143, 164, 185, 206, 227, 41, 64, 87, 110, 133, 156, 179
Offset: 1

Views

Author

Vincenzo Librandi, Aug 03 2009

Keywords

Comments

2*T(n,n) - 13 = (2n+1)^2.
The numbers 2*T(m,n)-13 =(2*n+1)*(2*m+1) are not prime. Also: first column: A016789; second column: A016897; third column: A017017; fourth column: A017185. - Vincenzo Librandi, Nov 20 2012

Examples

			Triangle begins:
  11;
  14,  19;
  17,  24,  31;
  20,  29,  38,  47;
  23,  34,  45,  56,  67;
  26,  39,  52,  65,  78,  91;
  29,  44,  59,  74,  89, 104, 119;
  32,  49,  66,  83, 100, 117, 134, 151;
		

Crossrefs

Programs

  • Magma
    [2*n*k + n + k + 7: k in [1..n], n in [1..11]]; // Vincenzo Librandi, Nov 20 2012
    
  • Mathematica
    t[n_,k_]:=2 n*k + n + k + 7; Table[t[n, k], {n, 15}, {k, n}]//Flatten (* Vincenzo Librandi, Nov 20 2012 *)
  • PARI
    for(n=1,10, for(m=1,n, print1(2*m*n + m + n + 7, ", "))) \\ G. C. Greubel, Aug 02 2017

Formula

T(n,m) = A163674(n,m)-2 = A163657(n,m)-1.

Extensions

Edited by R. J. Mathar, Oct 12 2009

A017018 a(n) = (7*n + 3)^2.

Original entry on oeis.org

9, 100, 289, 576, 961, 1444, 2025, 2704, 3481, 4356, 5329, 6400, 7569, 8836, 10201, 11664, 13225, 14884, 16641, 18496, 20449, 22500, 24649, 26896, 29241, 31684, 34225, 36864, 39601, 42436, 45369, 48400
Offset: 0

Views

Author

Keywords

Crossrefs

Cf. A017017.

Programs

Formula

a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3); a(0)=9, a(1)=100, a(2)=289. - Harvey P. Dale, Jul 19 2014
G.f.: (9 + 73*x + 16*x^2)/(1-x)^3. - Harvey P. Dale, Jul 19 2014
E.g.f.: (9 + 91*x + 49*x^2)*exp(x). - G. C. Greubel, Oct 17 2023
Sum_{n>=0} 1/a(n) = psi'(3/7)/49 = 0.13147479209450263890925... - R. J. Mathar, May 07 2024
Showing 1-10 of 23 results. Next