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.

Previous Showing 21-28 of 28 results.

A016787 a(n) = (3*n + 1)^11.

Original entry on oeis.org

1, 4194304, 1977326743, 100000000000, 1792160394037, 17592186044416, 116490258898219, 584318301411328, 2384185791015625, 8293509467471872, 25408476896404831, 70188843638032384, 177917621779460413, 419430400000000000, 929293739471222707, 1951354384207722496
Offset: 0

Views

Author

Keywords

Crossrefs

Programs

  • Magma
    [(3*n+1)^11: n in [0..20]]; // Vincenzo Librandi, Sep 29 2011
  • Mathematica
    Table[(3*n + 1)^11, {n, 0, 30}] (* Amiram Eldar, Mar 30 2022 *)

Formula

From Amiram Eldar, Mar 30 2022: (Start)
a(n) = A016777(n)^11.
Sum_{n>=0} 1/a(n) = 7388*Pi^11/(2511058725*sqrt(3)) + 88573*zeta(11)/177147. (End)
a(n) = 12*a(n-1) - 66*a(n-2) + 220*a(n-3) - 495*a(n-4) + 792*a(n-5) - 924*a(n-6) + 792*a(n-7) - 495*a(n-8) + 220*a(n-9) - 66*a(n-10) + 12*a(n-11) - a(n-12). - Wesley Ivan Hurt, Apr 12 2023

A102214 Expansion of (1 + 4*x + 4*x^2)/((1+x)*(1-x)^3).

Original entry on oeis.org

1, 6, 16, 30, 49, 72, 100, 132, 169, 210, 256, 306, 361, 420, 484, 552, 625, 702, 784, 870, 961, 1056, 1156, 1260, 1369, 1482, 1600, 1722, 1849, 1980, 2116, 2256, 2401, 2550, 2704, 2862, 3025, 3192, 3364, 3540, 3721, 3906, 4096, 4290, 4489, 4692, 4900
Offset: 0

Views

Author

Creighton Dement, Feb 17 2005

Keywords

Comments

A floretion-generated sequence.
a(n) gives the number of triples (x,y,x+y) with positive integers satisfying x < y and x + y <= 3*n. - Marcus Schmidt (marcus-schmidt(AT)gmx.net), Jan 13 2006
Number of different partitions of numbers x + y = z such that {x,y,z} are integers {1,2,3,...,3n} and z > y > x. - Artur Jasinski, Feb 09 2010
Second bisection preceded by zero is A152743. - Bruno Berselli, Oct 25 2011
a(n) has no final digit 3, 7, 8. - Paul Curtz, Mar 04 2020
One odd followed by three evens.
From Paul Curtz, Mar 06 2020: (Start)
b(n) = 0, 1, 6, 16, 30, 49, ... = 0, a(n).
( 25, 12, 4, 0, 1, 6, 16, 30, ...
-13, -8, -4 1, 5, 10, 14, 19, ...
5, 4, 5, 4, 5, 4, 5, 4, ... .)
b(-n) = 0, 4, 12, 25, 42, 64, 90, 121, ... .
A154589(n) are in the main diagonal of b(n) and b(-n). (End)

Crossrefs

Programs

  • Magma
    [(6*n*(3*n+4)+(-1)^n+7)/8: n in [0..60]]; // Vincenzo Librandi, Oct 26 2011
    
  • Mathematica
    aa = {}; Do[i = 0; Do[Do[Do[If[x + y == z, i = i + 1], {x, y + 1, 3 n}], {y, 1, 3 n}], {z, 1, 3 n}]; AppendTo[aa, i], {n, 1, 20}]; aa (* Artur Jasinski, Feb 09 2010 *)
  • PARI
    a(n)=(6*n*(3*n+4)+(-1)^n+7)/8 \\ Charles R Greathouse IV, Apr 16 2020

Formula

G.f.: -(4*x^2 + 4*x + 1)/((x+1)*(x-1)^3) = (1+2*x)^2/((1+x)*(1-x)^3).
a(2n) = A016778(n) = (3n+1)^2.
a(n) + a(n+1) = A038764(n+1).
a(n) = floor( (3*n+2)/2 ) * ceiling( (3*n+2)/2 ). - Marcus Schmidt (marcus-schmidt(AT)gmx.net), Jan 13 2006
a(n) = (6*n*(3*n+4) + (-1)^n+7)/8. - Bruno Berselli, Oct 25 2011
a(n) = A198392(n) + A198392(n-1). - Bruno Berselli, Nov 06 2011
From Paul Curtz, Mar 04 2020: (Start)
a(n) = A006578(n) + A001859(n) + A077043(n+1).
a(n) = A274221(2+2*n).
a(20+n) - a(n) = 30*(32+3*n).
a(1+2*n) = 3*(1+n)*(2+3*n).
a(n) = A047237(n) * A047251(n).
a(n) = A001651(n+1) * A032766(n).(End)
E.g.f.: ((4 + 21*x + 9*x^2)*cosh(x) + 3*(1 + 7*x + 3*x^2)*sinh(x))/4. - Stefano Spezia, Mar 04 2020

Extensions

Definition rewritten by Bruno Berselli, Oct 25 2011

A016786 a(n) = (3*n+1)^10.

Original entry on oeis.org

1, 1048576, 282475249, 10000000000, 137858491849, 1099511627776, 6131066257801, 26559922791424, 95367431640625, 296196766695424, 819628286980801, 2064377754059776, 4808584372417849, 10485760000000000, 21611482313284249, 42420747482776576, 79792266297612001
Offset: 0

Views

Author

Keywords

Crossrefs

Programs

  • Magma
    [(3*n+1)^10: n in [0..20]]; // Vincenzo Librandi, Sep 29 2011
  • Mathematica
    Table[(3n+1)^10,{n,0,100}] (* Mohammad K. Azarian, Jun 15 2016 *)
    LinearRecurrence[{11,-55,165,-330,462,-462,330,-165,55,-11,1},{1,1048576,282475249,10000000000,137858491849,1099511627776,6131066257801,26559922791424,95367431640625,296196766695424,819628286980801},20] (* Harvey P. Dale, May 14 2019 *)

Formula

a(n) = A008454(A016777(n)). - Michel Marcus, Jun 15 2016
Sum_{n>=0} 1/a(n) = PolyGamma(9, 1/3)/21427701120. - Amiram Eldar, Mar 29 2022

A095872 Square of the lower triangular matrix T[i,j] = 3j-2 for 1<=j<=i, read by rows.

Original entry on oeis.org

1, 5, 16, 12, 44, 49, 22, 84, 119, 100, 35, 136, 210, 230, 169, 51, 200, 322, 390, 377, 256, 70, 176, 455, 580, 624, 560, 361, 70, 276, 455, 580, 624, 560, 361, 92, 364, 609, 800, 910, 912, 779, 484, 117, 464, 784, 1050, 1235, 1312, 1254, 1034, 625, 145, 576, 980, 1330, 1599
Offset: 1

Views

Author

Gary W. Adamson, Jun 10 2004

Keywords

Comments

Arranged by flush left columns (k=1,2,3...), (k=1) column = A000326, the pentagonal numbers (1, 5, 12, 22, 35...). The Octagonal pyramidal number triangle of A095871 is generated from A095872 by dividing the k-th row by the n-th term in the series 1, 4, 7, 10...(k starting with 1). Dividing the 3rd column of A095872 (49, 119, 210, 322, 455...) by 7 generates A059845: 7, 17, 30, 46, 65... Rightmost terms of each row of A095872 are A016778 (1, 16, 49, 100, 169...); i.e. squares of 1, 4, 7, 10... Row sums of A095872 are 1, 21, 105, 325, 780, 1596, 2926... Row sums of A095871 are the octagonal pyramidal numbers, A002414: 1, 9, 30, 70, 135, 231, 364...
[Editor's note: OEIS' "TABL" format (fmt=2) rather displays the transposed matrix as upper triangular matrix.]

Examples

			Let M = the infinite lower triangular matrix in the format exemplified by a 3rd order matrix: [1 0 0 / 1 4 0 / 1 4 7]: i.e. for the n-th order matrix, each row has n terms in the series 1, 4, 7, 10... with the rest of the spaces filled in with zeros. Square the matrix and delete the zeros; then read by rows.
[1 0 0 / 1 4 0 / 1 4 7]^2 = [1 0 0 / 5 16 0 / 12 44 49]; then delete the zeros and read by rows: 1, 5, 16, 12, 44, 49...
		

Crossrefs

Programs

  • PARI
    A095802(n)={ my( r=sqrtint(2*n)+1, T=matrix(r,r,i,j,if(j>=i,3*j-2))^2); concat(vector(#T,i,vecextract(T[,i],2^i-1)))[n] } \\ M. F. Hasler, Apr 18 2009

Formula

a(k(k+1)/2) = (3k-2)^2 (diagonal elements: squares of the initial series), a(k(k-1)/2+1) = A000326(k) (1st column: pentagonal numbers). - M. F. Hasler, Apr 18 2009

Extensions

Edited and extended by M. F. Hasler, Apr 18 2009

A274221 List of quadruples: 3*n*(3*n-1), 3*n*(3*n+1), (3*n+1)^2, (3*n+2)^2.

Original entry on oeis.org

0, 0, 1, 4, 6, 12, 16, 25, 30, 42, 49, 64, 72, 90, 100, 121, 132, 156, 169, 196, 210, 240, 256, 289, 306, 342, 361, 400, 420, 462, 484, 529, 552, 600, 625, 676, 702, 756, 784, 841, 870, 930, 961, 1024, 1056, 1122, 1156, 1225, 1260, 1332, 1369, 1444, 1482
Offset: 0

Views

Author

Luce ETIENNE, Sep 14 2016

Keywords

Comments

For the formulae of the permutations of A152743, A045945, A016778 and A016790, see the link.

Crossrefs

Programs

  • Magma
    &cat [[3*n*(3*n-1), 3*n*(3*n+1), (3*n+1)^2, (3*n+2)^2]: n in [0..15]]; // Bruno Berselli, Sep 15 2016
  • Mathematica
    Flatten[Table[{3 n (3 n - 1), 3 n (3 n + 1), (3 n + 1)^2, (3 n + 2)^2}, {n, 0, 15}]] (* Bruno Berselli, Sep 15 2016 *)

Formula

G.f.: x^2*(1+3*x+x^2+3*x^3+x^4)/((1-x)^3*(1+x)^2*(1+x^2)). - Robert Israel, Sep 15 2016
a(n) = (18*n^2-18*n+1-3*(2*n-1)*(-1)^n-4*(-1)^((2*n-1+(-1)^n)/4))/32. Therefore: a(2k) = (18*k^2-12*k+1-(-1)^k)/8, a(2k+1) = (18*k^2+12*k+1-(-1)^k)/8.
a(n) = A064412(n) - A269064(n) for n>0.
E.g.f.: ((9*x^2 - 3*x - 1)*sinh(x) + (9*x^2 + 3*x + 2)*cosh(x) - 2*(sin(x) + cos(x)))/16. - Stefano Spezia, Nov 07 2022

A016788 a(n) = (3*n+1)^12.

Original entry on oeis.org

1, 16777216, 13841287201, 1000000000000, 23298085122481, 281474976710656, 2213314919066161, 12855002631049216, 59604644775390625, 232218265089212416, 787662783788549761, 2386420683693101056, 6582952005840035281, 16777216000000000000, 39959630797262576401
Offset: 0

Views

Author

Keywords

Crossrefs

Programs

Formula

a(n) = A008456(A016777(n)). - Michel Marcus, Jun 16 2016
Sum_{n>=0} 1/a(n) = PolyGamma(11, 1/3)/21213424108800. - Amiram Eldar, Mar 30 2022

A347533 Array A(n,k) where A(n,0) = n and A(n,k) = (k*n + 1)^2 - A(n,k-1), n > 0, read by ascending antidiagonals.

Original entry on oeis.org

1, 2, 3, 3, 7, 6, 4, 13, 18, 10, 5, 21, 36, 31, 15, 6, 31, 60, 64, 50, 21, 7, 43, 90, 109, 105, 71, 28, 8, 57, 126, 166, 180, 151, 98, 36, 9, 73, 168, 235, 275, 261, 210, 127, 45, 10, 91, 216, 316, 390, 401, 364, 274, 162, 55, 11, 111, 270, 409, 525, 571, 560, 477, 351, 199, 66
Offset: 1

Views

Author

Lamine Ngom, Sep 05 2021

Keywords

Comments

A(n,k) is also the distance from A(n, k-1) to the earliest square greater than 3*A(n,k-1) - A(n,k-2).
In column k, every term is the arithmetic mean of its neighbors minus A000217(k).

Examples

			Array, A(n, k), begins:
  1  3   6  10  15   21   28   36   45 ... A000217;
  2  7  18  31  50   71   98  127  162 ... A195605;
  3 13  36  64 105  151  210  274  351 ...
  4 21  60 109 180  261  364  477  612 ...
  5 31  90 166 275  401  560  736  945 ...
  6 43 126 235 390  571  798 1051 1350 ...
  7 57 168 316 525  771 1078 1422 1827 ...
  8 73 216 409 680 1001 1400 1849 2376 ...
  9 91 270 514 855 1261 1764 2332 2997 ...
Antidiagonals, T(n, k), begin as:
   1;
   2,  3;
   3,  7,   6;
   4, 13,  18,  10;
   5, 21,  36,  31,  15;
   6, 31,  60,  64,  50,  21;
   7, 43,  90, 109, 105,  71,  28;
   8, 57, 126, 166, 180, 151,  98,  36;
   9, 73, 168, 235, 275, 261, 210, 127,  45;
  10, 91, 216, 316, 390, 401, 364, 274, 162,  55;
		

Crossrefs

Family of sequences (k*n + 1)^2: A016754 (k=2), A016778 (k=3), A016814 (k=4), A016862 (k=5), A016922 (k=6), A016994 (k=7), A017078 (k=8), A017174 (k=9), A017282 (k=10), A017402 (k=11), A017534 (k=12), A134934 (k=14).

Programs

  • Magma
    A347533:= func< n,k | (1/2)*((k*(n-k)+1)*((k+1)*(n-k)+1) +(-1)^k*(n-k- 1)) >;
    [A347533(n,k): k in [0..n-1], n in [1..13]]; // G. C. Greubel, Dec 25 2022
    
  • Mathematica
    A[n_, 0]:= n; A[n_, k_]:= (k*n+1)^2 -A[n,k-1]; Table[Function[n, A[n, k]][m-k+1], {m,0,10}, {k,0,m}]//Flatten (* Michael De Vlieger, Oct 27 2021 *)
  • SageMath
    def A347533(n,k): return (1/2)*((k*(n-k)+1)*((k+1)*(n-k)+1) +(-1)^k*(n-k- 1))
    flatten([[A347533(n,k) for k in range(n)] for n in range(1,14)]) # G. C. Greubel, Dec 25 2022

Formula

A(n,k) = A000217(k)*n^2 + k*n + 1, for k odd.
A(n,k) = A000217(k)*n^2 + (k+1)*n = (k+1)*x*(k*n/2 + 1), for k even.
A(n,k) = (A(n,k-1) + A(n,k+1) + k*(k+1))/2, for any k.
A(n, 0) = A000027(n).
A(n, 1) = A002061(n+1).
A(n, 2) = A028896(n).
A(n, 3) = A085473(n).
From G. C. Greubel, Dec 25 2022: (Start)
A(n, k) = (1/2)*( (k*n+1)*(k*n+n+1) + (-1)^k*(n-1) ).
T(n, k) = (1/2)*( (k*(n-k)+1)*((k+1)*(n-k)+1) + (-1)^k*(n-k-1) ).
Sum_{k=0..n-1} T(n, k) = (1/120)*(2*n^5 + 5*n^4 + 20*n^3 + 25*n^2 + 98*n - 15*(1-(-1)^n)). (End)

A017570 a(n) = (12*n + 4)^2.

Original entry on oeis.org

16, 256, 784, 1600, 2704, 4096, 5776, 7744, 10000, 12544, 15376, 18496, 21904, 25600, 29584, 33856, 38416, 43264, 48400, 53824, 59536, 65536, 71824, 78400, 85264, 92416, 99856, 107584, 115600
Offset: 0

Views

Author

Keywords

Programs

Formula

G.f.: 16*(1 + 13*x + 4*x^2)/(1-x)^3.
a(n) = 16*A016778(n).
a(n) = a(n-1) + 288*n - 48, n >= 1. - Vincenzo Librandi, Mar 20 2011
Previous Showing 21-28 of 28 results.