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 11 results. Next

A028387 a(n) = n + (n+1)^2.

Original entry on oeis.org

1, 5, 11, 19, 29, 41, 55, 71, 89, 109, 131, 155, 181, 209, 239, 271, 305, 341, 379, 419, 461, 505, 551, 599, 649, 701, 755, 811, 869, 929, 991, 1055, 1121, 1189, 1259, 1331, 1405, 1481, 1559, 1639, 1721, 1805, 1891, 1979, 2069, 2161, 2255, 2351, 2449, 2549, 2651
Offset: 0

Views

Author

Keywords

Comments

a(n+1) is the least k > a(n) + 1 such that A000217(a(n)) + A000217(k) is a square. - David Wasserman, Jun 30 2005
Values of Fibonacci polynomial n^2 - n - 1 for n = 2, 3, 4, 5, ... - Artur Jasinski, Nov 19 2006
A127701 * [1, 2, 3, ...]. - Gary W. Adamson, Jan 24 2007
Row sums of triangle A135223. - Gary W. Adamson, Nov 23 2007
Equals row sums of triangle A143596. - Gary W. Adamson, Aug 26 2008
a(n-1) gives the number of n X k rectangles on an n X n chessboard (for k = 1, 2, 3, ..., n). - Aaron Dunigan AtLee, Feb 13 2009
sqrt(a(0) + sqrt(a(1) + sqrt(a(2) + sqrt(a(3) + ...)))) = sqrt(1 + sqrt(5 + sqrt(11 + sqrt(19 + ...)))) = 2. - Miklos Kristof, Dec 24 2009
When n + 1 is prime, a(n) gives the number of irreducible representations of any nonabelian group of order (n+1)^3. - Andrew Rupinski, Mar 17 2010
a(n) = A176271(n+1, n+1). - Reinhard Zumkeller, Apr 13 2010
The product of any 4 consecutive integers plus 1 is a square (see A062938); the terms of this sequence are the square roots. - Harvey P. Dale, Oct 19 2011
Or numbers not expressed in the form m + floor(sqrt(m)) with integer m. - Vladimir Shevelev, Apr 09 2012
Left edge of the triangle in A214604: a(n) = A214604(n+1,1). - Reinhard Zumkeller, Jul 25 2012
Another expression involving phi = (1 + sqrt(5))/2 is a(n) = (n + phi)(n + 1 - phi). Therefore the numbers in this sequence, even if they are prime in Z, are not prime in Z[phi]. - Alonso del Arte, Aug 03 2013
a(n-1) = n*(n+1) - 1, n>=0, with a(-1) = -1, gives the values for a*c of indefinite binary quadratic forms [a, b, c] of discriminant D = 5 for b = 2*n+1. In general D = b^2 - 4ac > 0 and the form [a, b, c] is a*x^2 + b*x*y + c*y^2. - Wolfdieter Lang, Aug 15 2013
a(n) has prime factors given by A038872. - Richard R. Forberg, Dec 10 2014
A253607(a(n)) = -1. - Reinhard Zumkeller, Jan 05 2015
An example of a quadratic sequence for which the continued square root map (see A257574) produces the number 2. There are infinitely many sequences with this property - another example is A028387. See Popular Computing link. - N. J. A. Sloane, May 03 2015
Left edge of the triangle in A260910: a(n) = A260910(n+2,1). - Reinhard Zumkeller, Aug 04 2015
Numbers m such that 4m+5 is a square. - Bruce J. Nicholson, Jul 19 2017
The numbers represented as 131 in base n: 131_4 = 29, 131_5 = 41, ... . If 'digits' larger than the base are allowed then 131_2 = 11 and 131_1 = 5 also. - Ron Knott, Nov 14 2017
From Klaus Purath, Mar 18 2019: (Start)
Let m be a(n) or a prime factor of a(n). Then, except for 1 and 5, there are, if m is a prime, exactly two squares y^2 such that the difference y^2 - m contains exactly one pair of factors {x,z} such that the following applies: x*z = y^2 - m, x + y = z with
x < y, where {x,y,z} are relatively prime numbers. {x,y,z} are the initial values of a sequence of the Fibonacci type. Thus each a(n) > 5, if it is a prime, and each prime factor p > 5 of an a(n) can be assigned to exactly two sequences of the Fibonacci type. a(0) = 1 belongs to the original Fibonacci sequence and a(1) = 5 to the Lucas sequence.
But also the reverse assignment applies. From any sequence (f(i)) of the Fibonacci type we get from its 3 initial values by f(i)^2 - f(i-1)*f(i+1) with f(i-1) < f(i) a term a(n) or a prime factor p of a(n). This relation is also valid for any i. In this case we get the absolute value |a(n)| or |p|. (End)
a(n-1) = 2*T(n) - 1, for n>=1, with T = A000217, is a proper subsequence of A089270, and the terms are 0,-1,+1 (mod 5). - Wolfdieter Lang, Jul 05 2019
a(n+1) is the number of wedged n-dimensional spheres in the homotopy of the neighborhood complex of Kneser graph KG_{2,n}. Here, KG_{2,n} is a graph whose vertex set is the collection of subsets of cardinality 2 of set {1,2,...,n+3,n+4} and two vertices are adjacent if and only if they are disjoint. - Anurag Singh, Mar 22 2021
Also the number of squares between (n+2)^2 and (n+2)^4. - Karl-Heinz Hofmann, Dec 07 2021
(x, y, z) = (A001105(n+1), -a(n-1), -a(n)) are solutions of the Diophantine equation x^3 + 4*y^3 + 4*z^3 = 8. - XU Pingya, Apr 25 2022
The least significant digit of terms of this sequence cycles through 1, 5, 1, 9, 9. - Torlach Rush, Jun 05 2024

Examples

			From _Ilya Gutkovskiy_, Apr 13 2016: (Start)
Illustration of initial terms:
                                        o               o
                        o           o   o o           o o
            o       o   o o       o o   o o o       o o o
    o   o   o o   o o   o o o   o o o   o o o o   o o o o
o   o o o   o o o o o   o o o o o o o   o o o o o o o o o
n=0  n=1       n=2           n=3               n=4
(End)
From _Klaus Purath_, Mar 18 2019: (Start)
Examples:
a(0) = 1: 1^1-0*1 = 1, 0+1 = 1 (Fibonacci A000045).
a(1) = 5: 3^2-1*4 = 5, 1+3 = 4 (Lucas A000032).
a(2) = 11: 4^2-1*5 = 11, 1+4 = 5 (A000285); 5^2-2*7 = 11, 2+5 = 7 (A001060).
a(3) = 19: 5^2-1*6 = 19, 1+5 = 6 (A022095); 7^2-3*10 = 19, 3+7 = 10 (A022120).
a(4) = 29: 6^2-1*7 = 29, 1+6 = 7 (A022096); 9^2-4*13 = 29, 4+9 = 13 (A022130).
a(11)/5 = 31: 7^2-2*9 = 31, 2+7 = 9 (A022113); 8^2-3*11 = 31, 3+8 = 11 (A022121).
a(24)/11 = 59: 9^2-2*11 = 59, 2+9 = 11 (A022114); 12^2-5*17 = 59, 5+12 = 17 (A022137).
(End)
		

Crossrefs

Complement of A028392. Third column of array A094954.
Cf. A000217, A002522, A062392, A062786, A127701, A135223, A143596, A052905, A162997, A062938 (squares of this sequence).
A110331 and A165900 are signed versions.
Cf. A002327 (primes), A094210.
Frobenius number for k successive numbers: this sequence (k=2), A079326 (k=3), A138984 (k=4), A138985 (k=5), A138986 (k=6), A138987 (k=7), A138988 (k=8).

Programs

Formula

a(n) = sqrt(A062938(n)). - Floor van Lamoen, Oct 08 2001
a(0) = 1, a(1) = 5, a(n) = (n+1)*a(n-1) - (n+2)*a(n-2) for n > 1. - Gerald McGarvey, Sep 24 2004
a(n) = A105728(n+2, n+1). - Reinhard Zumkeller, Apr 18 2005
a(n) = A109128(n+2, 2). - Reinhard Zumkeller, Jun 20 2005
a(n) = 2*T(n+1) - 1, where T(n) = A000217(n). - Gary W. Adamson, Aug 15 2007
a(n) = A005408(n) + A002378(n); A084990(n+1) = Sum_{k=0..n} a(k). - Reinhard Zumkeller, Aug 20 2007
Binomial transform of [1, 4, 2, 0, 0, 0, ...] = (1, 5, 11, 19, ...). - Gary W. Adamson, Sep 20 2007
G.f.: (1+2*x-x^2)/(1-x)^3. a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). - R. J. Mathar, Jul 11 2009
a(n) = (n + 2 + 1/phi) * (n + 2 - phi); where phi = 1.618033989... Example: a(3) = 19 = (5 + .6180339...) * (3.381966...). Cf. next to leftmost column in A162997 array. - Gary W. Adamson, Jul 23 2009
a(n) = a(n-1) + 2*(n+1), with n > 0, a(0) = 1. - Vincenzo Librandi, Nov 18 2010
For k < n, a(n) = (k+1)*a(n-k) - k*a(n-k-1) + k*(k+1); e.g., a(5) = 41 = 4*11 - 3*5 + 3*4. - Charlie Marion, Jan 13 2011
a(n) = lower right term in M^2, M = the 2 X 2 matrix [1, n; 1, (n+1)]. - Gary W. Adamson, Jun 29 2011
G.f.: (x^2-2*x-1)/(x-1)^3 = G(0) where G(k) = 1 + x*(k+1)*(k+4)/(1 - 1/(1 + (k+1)*(k+4)/G(k+1))); (continued fraction, 3-step). - Sergei N. Gladkovskii, Oct 16 2012
Sum_{n>0} 1/a(n) = 1 + Pi*tan(sqrt(5)*Pi/2)/sqrt(5). - Enrique Pérez Herrero, Oct 11 2013
E.g.f.: exp(x) (1+4*x+x^2). - Tom Copeland, Dec 02 2013
a(n) = A005408(A000217(n)). - Tony Foster III, May 31 2016
From Amiram Eldar, Jan 29 2021: (Start)
Product_{n>=0} (1 + 1/a(n)) = -Pi*sec(sqrt(5)*Pi/2).
Product_{n>=1} (1 - 1/a(n)) = -Pi*sec(sqrt(5)*Pi/2)/6. (End)
a(5*n+1)/5 = A062786(n+1). - Torlach Rush, Jun 05 2024

Extensions

Minor edits by N. J. A. Sloane, Jul 04 2010, following suggestions from the Sequence Fans Mailing List

A033996 8 times triangular numbers: a(n) = 4*n*(n+1).

Original entry on oeis.org

0, 8, 24, 48, 80, 120, 168, 224, 288, 360, 440, 528, 624, 728, 840, 960, 1088, 1224, 1368, 1520, 1680, 1848, 2024, 2208, 2400, 2600, 2808, 3024, 3248, 3480, 3720, 3968, 4224, 4488, 4760, 5040, 5328, 5624, 5928, 6240, 6560, 6888, 7224, 7568, 7920, 8280
Offset: 0

Views

Author

N. J. A. Sloane, Dec 11 1999

Keywords

Comments

Write 0, 1, 2, ... in a clockwise spiral; sequence gives numbers on one of 4 diagonals.
Also, least m > n such that T(m)*T(n) is a square and more precisely that of A055112(n). {T(n) = A000217(n)}. - Lekraj Beedassy, May 14 2004
Also sequence found by reading the line from 0, in the direction 0, 8, ... and the same line from 0, in the direction 0, 24, ..., in the square spiral whose vertices are the generalized decagonal numbers A074377. Axis perpendicular to A195146 in the same spiral. - Omar E. Pol, Sep 18 2011
Number of diagonals with length sqrt(5) in an (n+1) X (n+1) square grid. Every 1 X 2 rectangle has two such diagonals. - Wesley Ivan Hurt, Mar 25 2015
Imagine a board made of squares (like a chessboard), one of whose squares is completely surrounded by square-shaped layers made of adjacent squares. a(n) is the total number of squares in the first to n-th layer. a(1) = 8 because there are 8 neighbors to the unit square; adding them gives a 3 X 3 square. a(2) = 24 = 8 + 16 because we need 16 more squares in the next layer to get a 5 X 5 square: a(n) = (2*n+1)^2 - 1 counting the (2n+1) X (2n+1) square minus the central square. - R. J. Cano, Sep 26 2015
The three platonic solids (the simplex, hypercube, and cross-polytope) with unit side length in n dimensions all have rational volume if and only if n appears in this sequence, after 0. - Brian T Kuhns, Feb 26 2016
The number of active (ON, black) cells in the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 645", based on the 5-celled von Neumann neighborhood. - Robert Price, May 19 2016
The square root of a(n), n>0, has continued fraction [2n; {1,4n}] with whole number part 2n and periodic part {1,4n}. - Ron Knott, May 11 2017
Numbers k such that k+1 is a square and k is a multiple of 4. - Bruno Berselli, Sep 28 2017
a(n) is the number of vertices of the octagonal network O(n,n); O(m,n) is defined by Fig. 1 of the Siddiqui et al. reference. - Emeric Deutsch, May 13 2018
a(n) is the number of vertices in conjoined n X n octagons which are arranged into a square array, a.k.a. truncated square tiling. - Donghwi Park, Dec 20 2020
a(n-2) is the number of ways to place 3 adjacent marks in a diagonal, horizontal, or vertical row on an n X n tic-tac-toe grid. - Matej Veselovac, May 28 2021

Examples

			Spiral with 0, 8, 24, 48, ... along lower right diagonal:
.
  36--37--38--39--40--41--42
   |                       |
  35  16--17--18--19--20  43
   |   |               |   |
  34  15   4---5---6  21  44
   |   |   |       |   |   |
  33  14   3   0   7  22  45
   |   |   |   | \ |   |   |
  32  13   2---1   8  23  46
   |   |           | \ |   |
  31  12--11--10---9  24  47
   |                   | \ |
  30--29--28--27--26--25  48
                            \
[Reformatted by _Jon E. Schoenfield_, Dec 25 2016]
		

References

  • Stuart M. Ellerstein, J. Recreational Math. 29 (3) 188, 1998.
  • R. L. Graham, D. E. Knuth and O. Patashnik, Concrete Mathematics. Addison-Wesley, Reading, MA, 2nd ed., 1994, p. 99.
  • Stephen Wolfram, A New Kind of Science, Wolfram Media, 2002; p. 170.

Crossrefs

Cf. A000217, A016754, A002378, A024966, A027468, A028895, A028896, A045943, A046092, A049598, A088538, A124080, A008590 (first differences), A130809 (partial sums).
Sequences on the four axes of the square spiral: Starting at 0: A001107, A033991, A007742, A033954; starting at 1: A054552, A054556, A054567, A033951.
Sequences on the four diagonals of the square spiral: Starting at 0: A002939 = 2*A000384, A016742 = 4*A000290, A002943 = 2*A014105, A033996 = 8*A000217; starting at 1: A054554, A053755, A054569, A016754.
Sequences obtained by reading alternate terms on the X and Y axes and the two main diagonals of the square spiral: Starting at 0: A035608, A156859, A002378 = 2*A000217, A137932 = 4*A002620; starting at 1: A317186, A267682, A002061, A080335.

Programs

  • Magma
    [ 4*n*(n+1) : n in [0..50] ]; // Wesley Ivan Hurt, Jun 09 2014
  • Maple
    seq(8*binomial(n+1, 2), n=0..46); # Zerinvary Lajos, Nov 24 2006
    [seq((2*n+1)^2-1, n=0..46)];
  • Mathematica
    Table[(2n - 1)^2 - 1, {n, 50}] (* Alonso del Arte, Mar 31 2013 *)
  • PARI
    nsqm1(n) = { forstep(x=1,n,2, y = x*x-1; print1(y, ", ") ) }
    

Formula

a(n) = 4*n^2 + 4*n = (2*n+1)^2 - 1.
G.f.: 8*x/(1-x)^3.
a(n) = A016754(n) - 1 = 2*A046092(n) = 4*A002378(n). - Lekraj Beedassy, May 25 2004
a(n) = A049598(n) - A046092(n); a(n) = A124080(n) - A002378(n). - Zerinvary Lajos, Mar 06 2007
a(n) = 8*A000217(n). - Omar E. Pol, Dec 12 2008
a(n) = A005843(n) * A163300(n). - Juri-Stepan Gerasimov, Jul 26 2009
a(n) = a(n-1) + 8*n (with a(0)=0). - Vincenzo Librandi, Nov 17 2010
For n > 0, a(n) = A058031(n+1) - A062938(n-1). - Charlie Marion, Apr 11 2013
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). - Wesley Ivan Hurt, Mar 25 2015
a(n) = A000578(n+1) - A152618(n). - Bui Quang Tuan, Apr 01 2015
a(n) - a(n-1) = A008590(n), n > 0. - Altug Alkan, Sep 26 2015
From Ilya Gutkovskiy, May 19 2016: (Start)
E.g.f.: 4*x*(2 + x)*exp(x).
Sum_{n>=1} 1/a(n) = 1/4. (End)
Product_{n>=1} a(n)/A016754(n) = Pi/4. - Daniel Suteu, Dec 25 2016
a(n) = A056220(n) + A056220(n+1). - Bruce J. Nicholson, May 29 2017
sqrt(a(n)+1) - sqrt(a(n)) = (sqrt(n+1) - sqrt(n))^2. - Seiichi Manyama, Dec 23 2018
a(n)*a(n+k) + 4*k^2 = m^2 where m = (a(n) + a(n+k))/2 - 2*k^2; for k=1, m = 4*n^2 + 8*n + 2 = A060626(n). - Ezhilarasu Velayutham, May 22 2019
Sum_{n>=1} (-1)^n/a(n) = 1/4 - log(2)/2. - Vaclav Kotesovec, Dec 21 2020
From Amiram Eldar, Feb 21 2023: (Start)
Product_{n>=1} (1 - 1/a(n)) = -(4/Pi)*cos(Pi/sqrt(2)).
Product_{n>=1} (1 + 1/a(n)) = 4/Pi (A088538). (End)

A052762 Products of 4 consecutive integers: a(n) = n*(n-1)*(n-2)*(n-3).

Original entry on oeis.org

0, 0, 0, 0, 24, 120, 360, 840, 1680, 3024, 5040, 7920, 11880, 17160, 24024, 32760, 43680, 57120, 73440, 93024, 116280, 143640, 175560, 212520, 255024, 303600, 358800, 421200, 491400, 570024, 657720, 755160, 863040, 982080, 1113024
Offset: 0

Views

Author

encyclopedia(AT)pommard.inria.fr, Jan 25 2000

Keywords

Comments

Also, starting with n=4, the square of area of cyclic quadrilateral with sides n, n-1, n-2, n-3. - Zak Seidov, Jun 20 2003
Number of n-colorings of the complete graph on 4 vertices, which is also the tetrahedral graph. - Eric M. Schmidt, Oct 31 2012
Cf. A130534 for relations to colored forests and disposition of flags on flagpoles. - Tom Copeland, Apr 05 2014
Number of 4-permutations of the set {1, 2, ..., n}. - Joerg Arndt, Apr 05 2014

Crossrefs

Programs

  • Magma
    [n*(n-1)*(n-2)*(n-3): n in [0..30]]; // G. C. Greubel, Nov 19 2017
  • Maple
    spec := [S,{B=Set(Z),S=Prod(Z,Z,Z,Z,B)},labeled]: seq(combstruct[count](spec,size=n), n=0..20);
    seq(numbperm (n,4), n=0..34); # Zerinvary Lajos, Apr 26 2007
    G(x):=x^4*exp(x): f[0]:=G(x): for n from 1 to 34 do f[n]:=diff(f[n-1],x) od: x:=0: seq(f[n],n=0..34); # Zerinvary Lajos, Apr 05 2009
  • Mathematica
    Table[n*(n+1)*(n+2)*(n+3), {n,-3,60}] (* Vladimir Joseph Stephan Orlovsky, Apr 21 2010 *)
    Times@@@Partition[Range[-3,60], 4, 1] (* Harvey P. Dale, May 09 2012 *)
    LinearRecurrence[ {5,-10,10,-5,1}, {0,0,0,0,24}, 60] (* Harvey P. Dale, May 09 2012 *)
  • Maxima
    A052762(n):=n*(n-1)*(n-2)*(n-3)$
    makelist(A052762(n),n,0,30); /* Martin Ettl, Nov 03 2012 */
    
  • PARI
    a(n)=24*binomial(n,4) \\ Charles R Greathouse IV, Nov 20 2011
    

Formula

a(n) = n*(n-1)*(n-2)*(n-3) = n!/(n-4)! (for n >= 4).
a(n) = A001094(n) - n.
E.g.f.: x^4*exp(x).
Recurrence: {a(1)=0, a(2)=0, a(3)=0, a(4)=24, (-1-n)*a(n) + (n-3)*a(n+1)}.
a(n) + 1 = A062938(n-4) for n > 4. - Amarnath Murthy, Dec 13 2003
a(n) = numbperm(n, 4). - Zerinvary Lajos, Apr 26 2007
O.g.f.: -24*x^4/(-1+x)^5. - R. J. Mathar, Nov 23 2007
For n > 4: a(n) = A173333(n, n-4). - Reinhard Zumkeller, Feb 19 2010
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5), with a(0)=0, a(1)=0, a(2)=0, a(3)=0, a(4)=24. - Harvey P. Dale, May 09 2012
a(n) = a(n-1) + 4*A007531(n). - J. M. Bergot, May 30 2012
a(n) - 1 = A069756(n-2) for n >= 4. - Jean-Christophe Hervé, Nov 01 2015
a(n) = 24 * A000332(n). - Bruce J. Nicholson, Apr 03 2017
From R. J. Mathar, Jun 30 2021: (Start)
Sum_{n>=4} 24*(-1)^n/a(n) = A242023.
Sum_{n>=4} 1/a(n) = 1/18. (End)

Extensions

More terms from Henry Bottomley, Mar 20 2000
Formula corrected by Philippe Deléham, Dec 12 2003

A082043 Square array, A(n, k) = (k*n)^2 + 2*k*n + 1, read by antidiagonals.

Original entry on oeis.org

1, 1, 1, 1, 4, 1, 1, 9, 9, 1, 1, 16, 25, 16, 1, 1, 25, 49, 49, 25, 1, 1, 36, 81, 100, 81, 36, 1, 1, 49, 121, 169, 169, 121, 49, 1, 1, 64, 169, 256, 289, 256, 169, 64, 1, 1, 81, 225, 361, 441, 441, 361, 225, 81, 1, 1, 100, 289, 484, 625, 676, 625, 484, 289, 100, 1
Offset: 0

Views

Author

Paul Barry, Apr 03 2003

Keywords

Examples

			Array, A(n, k), begins as:
  1,   1,   1,    1,    1,    1,    1,    1,     1, ... A000012;
  1,   4,   9,   16,   25,   36,   49,   64,    81, ... A000290;
  1,   9,  25,   49,   81,  121,  169,  225,   289, ... A016754;
  1,  16,  49,  100,  169,  256,  361,  484,   625, ... A016778;
  1,  25,  81,  169,  289,  441,  625,  841,  1089, ... A016814;
  1,  36, 121,  256,  441,  676,  961, 1296,  1681, ... A016862;
  1,  49, 169,  361,  625,  961, 1369, 1849,  2401, ... A016922;
  1,  64, 225,  484,  841, 1296, 1849, 2500,  3249, ... A016994;
  1,  81, 289,  625, 1089, 1681, 2401, 3249,  4225, ... A017078;
  1, 100, 361,  784, 1369, 2116, 3025, 4096,  5329, ... A017174;
  1, 121, 441,  961, 1681, 2601, 3721, 5041,  6561, ... A017282;
  1, 144, 529, 1156, 2025, 3136, 4489, 6084,  7921, ... A017402;
  1, 169, 625, 1369, 2401, 3721, 5329, 7225,  9409, ... A017534;
  1, 196, 729, 1600, 2809, 4356, 6241, 8464, 11025, ... ;
Antidiagonals, T(n, k), begin as:
  1;
  1,   1;
  1,   4,   1;
  1,   9,   9,   1;
  1,  16,  25,  16,   1;
  1,  25,  49,  49,  25,   1;
  1,  36,  81, 100,  81,  36,   1;
  1,  49, 121, 169, 169, 121,  49,   1;
  1,  64, 169, 256, 289, 256, 169,  64,   1;
  1,  81, 225, 361, 441, 441, 361, 225,  81,   1;
  1, 100, 289, 484, 625, 676, 625, 484, 289, 100,  1;
		

Crossrefs

Diagonals include A000583, A058031, A062938, A082044 (main diagonal).
Diagonal sums (row sums if viewed as number triangle) are A082045.

Programs

  • Magma
    A082043:= func< n,k | (k*(n-k))^2 +2*k*(n-k) +1 >;
    [A082043(n,k): k in [0..n], n in [0..15]]; // G. C. Greubel, Dec 24 2022
    
  • Mathematica
    T[n_, k_]:= (k*(n-k))^2 +2*k*(n-k) +1;
    Table[T[n, k], {n,0,15}, {k,0,n}]//Flatten (* G. C. Greubel, Dec 24 2022 *)
  • SageMath
    def A082043(n,k): return (k*(n-k))^2 +2*k*(n-k) +1
    flatten([[A082043(n,k) for k in range(n+1)] for n in range(16)]) # G. C. Greubel, Dec 24 2022

Formula

A(n, k) = (k*n)^2 + 2*k*n + 1 (square array).
T(n, k) = (k*(n-k))^2 + 2*k*(n-k) + 1 (number triangle).
A(k, n) = A(n, k).
T(n, n-k) = T(n, k).
A(n, n) = T(2*n, n) = A082044(n).
A(n, n-1) = T(2*n+1, n-1) = A058031(n), n >= 1.
A(n, n-2) = T(2*(n-1), n) = A000583(n-1), n >= 2.
A(n, n-3) = T(2*n-3, n) = A062938(n-3), n >= 3.
Sum_{k=0..n} T(n, k) = A082045(n) (diagonal sums).
Sum_{k=0..n} (-1)^k * T(n, k) = (1/4)*(1+(-1)^n)*(2 - 3*n). - G. C. Greubel, Dec 24 2022

A058031 a(n) = n^4 - 2*n^3 + 3*n^2 - 2*n + 1, the Alexander polynomial for reef and granny knots.

Original entry on oeis.org

1, 1, 9, 49, 169, 441, 961, 1849, 3249, 5329, 8281, 12321, 17689, 24649, 33489, 44521, 58081, 74529, 94249, 117649, 145161, 177241, 214369, 257049, 305809, 361201, 423801, 494209, 573049, 660969, 758641, 866761, 986049, 1117249, 1261129, 1418481, 1590121
Offset: 0

Views

Author

Jason Earls, Nov 21 2000

Keywords

Comments

"The standard knot invariant, in the pre-Jones era of knot theory, was the Alexander polynomial, invented in 1926. This assigns to each knot a polynomial in a variable t, which can be calculated by following a standard procedure." See Courant and Robbins, p. 503.
First differences are in A105374. - Wesley Ivan Hurt, Apr 18 2016

References

  • Richard Courant and Herbert Robbins, What Is Mathematics?, 2nd Ed. 1996, pp. 501-505.

Crossrefs

Programs

Formula

G.f.: (1-4*x+14*x^2+4*x^3+9*x^4)/(1-x)^5. - Colin Barker, Jan 17 2012
a(n) = (n^2-n+1)^2. - Carmine Suriano, Feb 16 2012
3*a(n+3) = A062938(n) + A062938(n+1) + A062938(n+2). - Bruno Berselli, Feb 16 2012
a(n) = (n-2)*(n-1)*n*(n+1) + (2*n-1)^2. - Charlie Marion, Apr 11 2013
a(n) = A002061(n)^2. - Richard R. Forberg, Sep 03 2013
a(n) = (n*(n-1))^2 + (n-1)^2 + n^2, sum of three squares. - Carmine Suriano, Jun 16 2014
a(n) = A002378(A002378(n-1))+A002378(n-1)+1, where A002378(-1)=0. [Bruno Berselli, May 28 2015]
E.g.f.: exp(x)*(1 + 4*x^2 + 4*x^3 + x^4). - Ilya Gutkovskiy, Apr 16 2016
a(n) = (n-1)^4 + 2*(n-1)^3 + 3*(n-1)^2 + 2*(n-1) + 1. - Bruce J. Nicholson, Apr 07 2017
For n>0 a(n) = A002522(n)*A002522(n-1) - 1. - Bruce J. Nicholson, Jul 02 2017

Extensions

Name corrected by Andrey Zabolotskiy, Nov 21 2017

A127228 a(n) = numerator of ((n + 4)! - (n - 4)!)/(n!).

Original entry on oeis.org

40319, 362879, 1814399, 6652799, 19958399, 51891839, 121080959, 259459199, 518918399, 980179199, 1764322559, 3047466239, 5079110399, 8204716799, 12893126399, 19769460479, 29654190719, 43609103999, 62990927999
Offset: 4

Views

Author

Artur Jasinski, Jan 09 2007

Keywords

Crossrefs

Programs

  • Maple
    f::= n -> (n+4)*(n+3)*(n+2)*(n+1)*n*(n-1)*(n-2)*(n-3)-1:
    map(f, [$4..30]); # Robert Israel, Nov 20 2023
  • Mathematica
    Table[Numerator[((n + 4)! - (n - 4)!)/(n!)], {n, 4, 30}]

Formula

a(n) = (n+4) * (n+3) * (n+2) * (n+1) * n * (n-1) * (n-2) * (n-3) - 1. - Robert Israel, Nov 20 2023

A127229 a(n)= numerator of ((n + 5)! - (n - 5)!)/(n!).

Original entry on oeis.org

3628799, 39916799, 239500799, 1037836799, 3632428799, 10897286399, 29059430399, 70572902399, 158789030399, 335221286399, 670442572799, 1279935820799, 2346549004799, 4151586700799, 7117005772799, 11861676287999, 19275223967999, 30613591007999, 47621141567999
Offset: 5

Views

Author

Artur Jasinski, Jan 09 2007

Keywords

Crossrefs

Programs

  • Mathematica
    Table[Numerator[((n + 5)! - (n - 5)!)/(n!)], {n, 5, 30}]

A127230 a(n) = (2n)! - 1.

Original entry on oeis.org

1, 23, 719, 40319, 3628799, 479001599, 87178291199, 20922789887999, 6402373705727999, 2432902008176639999, 1124000727777607679999, 620448401733239439359999, 403291461126605635583999999, 304888344611713860501503999999, 265252859812191058636308479999999
Offset: 1

Views

Author

Artur Jasinski, Jan 09 2007

Keywords

Crossrefs

Programs

  • Mathematica
    Table[(2n)! - 1, {n, 1, 30}]

Formula

a(n) = -1 + A010050(n).

Extensions

Entry revised by Alois P. Heinz, Mar 27 2021

A127227 a(n)= numerator of ((n + 3)! - (n - 3)!)/(n!).

Original entry on oeis.org

719, 5039, 20159, 60479, 151199, 332639, 665279, 1235519, 2162159, 3603599, 5765759, 8910719, 13366079, 19535039, 27907199, 39070079, 53721359, 72681839, 96909119, 127511999, 165765599, 213127199, 271252799, 342014399, 427517999
Offset: 3

Views

Author

Artur Jasinski, Jan 09 2007

Keywords

Crossrefs

Programs

  • Mathematica
    Table[Numerator[((n + 3)! - (n - 3)!)/(n!)], {n, 3, 30}]

A166942 One fifth of product plus sum of five consecutive nonnegative numbers.

Original entry on oeis.org

2, 27, 148, 509, 1350, 3031, 6056, 11097, 19018, 30899, 48060, 72085, 104846, 148527, 205648, 279089, 372114, 488395, 632036, 807597, 1020118, 1275143, 1578744, 1937545, 2358746, 2850147, 3420172, 4077893, 4833054, 5696095
Offset: 0

Views

Author

Keywords

Comments

a(n) = ((n*...*(n+4))+(n+...+(n+4)))/5, n >= 0.
Binomial transform of 2, 25, 96, 144, 96, 24, 0, 0, 0, 0, ....
Partial sums of A062938 where initial term 1 is replaced by 2.

Examples

			a(0) = (0*1*2*3*4 + 0 + 1 + 2 + 3 + 4)/5 = (0 + 10)/5 = 2.
a(1) = (1*2*3*4*5 + 1 + 2 + 3 + 4 + 5)/5 = (120 + 15)/5 = 27.
		

Crossrefs

Cf. A001477 (nonnegative integers), A062938 (squares of the form n(n+1)(n+2)(n+3)+1), A028387 (n+(n+1)^2), A167875, A166941, A166943.

Programs

  • Magma
    [ (&*s + &+s)/5 where s is [n..n+4]: n in [0..29] ]; // Klaus Brockhaus, Nov 14 2009
  • Mathematica
    Table[((n+4)*(n+3)*(n+2)*(n+1)*n+(n+4)+(n+3)+(n+2)+(n+1)+n)/5, {n,0,100}]
    (Total[#]+Times@@#)/5&/@Partition[Range[0,100],5,1]  (* Harvey P. Dale, Mar 05 2011 *)

Formula

a(n) = (n^5 + 10n^4 + 35n^3 + 50n^2 + 29n + 10)/5. - Charles R Greathouse IV, Nov 02 2009
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5) + 24 for n > 4; a(0)=2, a(1)=27, a(2)=148, a(3)=509, a(4)=1350. - Klaus Brockhaus, Nov 14 2009
G.f.: (2+15*x+16*x^2-14*x^3+6*x^4-x^5)/(1-x)^6. - Klaus Brockhaus, Nov 14 2009

Extensions

Edited and offset corrected by Klaus Brockhaus, Nov 14 2009
Showing 1-10 of 11 results. Next