A211790
Rectangular array: R(k,n) = number of ordered triples (w,x,y) with all terms in {1,...,n} and w^k
Original entry on oeis.org
1, 7, 1, 23, 7, 1, 54, 22, 7, 1, 105, 51, 22, 7, 1, 181, 97, 50, 22, 7, 1, 287, 166, 96, 50, 22, 7, 1, 428, 263, 163, 95, 50, 22, 7, 1, 609, 391, 255, 161, 95, 50, 22, 7, 1, 835, 554, 378, 253, 161, 95, 50, 22, 7, 1, 1111, 756, 534, 374, 252, 161, 95, 50, 22, 7
Offset: 1
Northwest corner:
1, 7, 23, 54, 105, 181, 287, 428, 609
1, 7, 22, 51, 97, 166, 263, 391, 554
1, 7, 22, 50, 96, 163, 255, 378, 534
1, 7, 22, 50, 95, 161, 253, 374, 528
1, 7, 22, 50, 95, 161, 252, 373, 527
For n=2 and k>=1, the 7 triples (w,x,y) are (1,1,1), (1,1,2), (1,2,1), (1,2,2), (2,1,2), (2,2,1), (2,2,2).
-
z = 48;
t[k_, n_] := Module[{s = 0},
(Do[If[w^k < x^k + y^k, s = s + 1],
{w, 1, #}, {x, 1, #}, {y, 1, #}] &[n]; s)];
Table[t[1, n], {n, 1, z}] (* A004068 *)
Table[t[2, n], {n, 1, z}] (* A211635 *)
Table[t[3, n], {n, 1, z}] (* A211650 *)
TableForm[Table[t[k, n], {k, 1, 12}, {n, 1, 16}]]
Flatten[Table[t[k, n - k + 1], {n, 1, 12}, {k, 1, n}]] (* A211790 *)
Table[n (n + 1) (4 n - 1)/6,
{n, 1, z}] (* row-limit sequence, A002412 *)
(* Peter J. C. Moses, Apr 13 2012 *)
A093562
(5,1) Pascal triangle.
Original entry on oeis.org
1, 5, 1, 5, 6, 1, 5, 11, 7, 1, 5, 16, 18, 8, 1, 5, 21, 34, 26, 9, 1, 5, 26, 55, 60, 35, 10, 1, 5, 31, 81, 115, 95, 45, 11, 1, 5, 36, 112, 196, 210, 140, 56, 12, 1, 5, 41, 148, 308, 406, 350, 196, 68, 13, 1, 5, 46, 189, 456, 714, 756, 546, 264, 81, 14, 1, 5, 51, 235, 645, 1170
Offset: 0
Triangle begins
[1];
[5, 1];
[5, 6, 1];
[5, 11, 7, 1];
...
- Kurt Hawlitschek, Johann Faulhaber 1580-1635, Veroeffentlichung der Stadtbibliothek Ulm, Band 18, Ulm, Germany, 1995, Ch. 2.1.4. Figurierte Zahlen.
- Ivo Schneider, Johannes Faulhaber 1580-1635, Birkhäuser, Basel, Boston, Berlin, 1993, ch.5, pp. 109-122.
Cf. Row sums:
A007283(n-1), n>=1, 1 for n=0.
A082505(n+1), alternating row sums are 1 for n=0, 4 for n=2 and 0 else.
-
a093562 n k = a093562_tabl !! n !! k
a093562_row n = a093562_tabl !! n
a093562_tabl = [1] : iterate
(\row -> zipWith (+) ([0] ++ row) (row ++ [0])) [5, 1]
-- Reinhard Zumkeller, Aug 31 2014
-
from math import comb, isqrt
def A093562(n): return comb(r:=(m:=isqrt(k:=n+1<<1))-(k<=m*(m+1)),a:=n-comb(r+1,2))*(r+(r-a<<2))//r if n else 1 # Chai Wah Wu, Nov 12 2024
A200785
T(n,k) is the number of arrays of n+2 elements from {0,1,...,k} with no two consecutive ascents.
Original entry on oeis.org
8, 26, 16, 60, 75, 32, 115, 225, 216, 64, 196, 530, 840, 622, 128, 308, 1071, 2425, 3136, 1791, 256, 456, 1946, 5796, 11100, 11704, 5157, 512, 645, 3270, 12152, 31395, 50775, 43681, 14849, 1024, 880, 5175, 23136, 75992, 169884, 232275, 163020, 42756, 2048
Offset: 1
Table starts
....8.....26......60.......115.......196........308.........456.........645
...16.....75.....225.......530......1071.......1946........3270........5175
...32....216.....840......2425......5796......12152.......23136.......40905
...64....622....3136.....11100.....31395......75992......164004......324087
..128...1791...11704.....50775....169884.....474566.....1160616.....2562633
..256...5157...43681....232275....919413....2964416.....8216484....20273247
..512..14849..163020...1062500...4975322...18514405....58154912...160338680
.1024..42756..608400...4860250..26924106..115637431...411637168..1268210421
.2048.123111.2270580..22232375.145698840..722234149..2913595712.10030582998
.4096.354484.8473921.101698250.788446400.4510869636.20622837480.79335475611
Some arrays for n=4, k=3:
..0....1....0....0....1....0....3....3....0....1....3....0....2....2....2....2
..3....0....2....2....0....2....0....0....3....1....0....0....0....3....3....3
..2....3....2....2....2....2....3....3....1....0....1....0....2....1....3....3
..1....0....2....1....0....0....2....2....2....2....1....2....2....0....0....2
..0....3....0....0....1....2....1....2....0....0....3....2....0....3....1....3
..3....3....0....3....0....2....3....2....0....3....0....0....2....2....1....3
A162147
a(n) = n*(n+1)*(5*n + 4)/6.
Original entry on oeis.org
0, 3, 14, 38, 80, 145, 238, 364, 528, 735, 990, 1298, 1664, 2093, 2590, 3160, 3808, 4539, 5358, 6270, 7280, 8393, 9614, 10948, 12400, 13975, 15678, 17514, 19488, 21605, 23870, 26288, 28864, 31603, 34510, 37590, 40848, 44289, 47918, 51740, 55760
Offset: 0
For n=4, a(4) = 0*(5+0) + 1*(5+1) + 2*(5+2) + 3*(5+3) + 4*(5+4) = 80. - _Bruno Berselli_, Mar 17 2016
-
[n*(n+1)*(5*n+4)/6: n in [0..40]]; // G. C. Greubel, Apr 01 2021
-
A162147:= n-> n*(n+1)*(5*n+4)/6; seq(A162147(n), n=0..40); # G. C. Greubel, Apr 01 2021
-
Table[(n(n+1)(5n+4))/6,{n,0,40}] (* or *) LinearRecurrence[{4,-6,4,-1},{0,3,14,38},50] (* Harvey P. Dale, May 04 2013 *)
-
a(n)=n*(n+1)*(5*n+4)/6 \\ Charles R Greathouse IV, Oct 07 2015
-
[n*(n+1)*(5*n+4)/6 for n in (0..40)] # G. C. Greubel, Apr 01 2021
A162148
a(n) = n*(n+1)*(5*n+7)/6.
Original entry on oeis.org
0, 4, 17, 44, 90, 160, 259, 392, 564, 780, 1045, 1364, 1742, 2184, 2695, 3280, 3944, 4692, 5529, 6460, 7490, 8624, 9867, 11224, 12700, 14300, 16029, 17892, 19894, 22040, 24335, 26784, 29392, 32164, 35105, 38220, 41514, 44992, 48659, 52520, 56580
Offset: 0
-
[n*(n+1)*(5*n+7)/6: n in [0..50]]; // Vincenzo Librandi, May 07 2011
-
A162148:= n-> n*(n+1)*(5*n+7)/6; seq(A162148(n), n=0..50); # G. C. Greubel, Mar 31 2021
-
Table[(n(n+1)(5n+7))/6,{n,0,40}] (* or *) LinearRecurrence[{4,-6,4,-1},{0,4,17,44}, 50] (* Harvey P. Dale, May 20 2014 *)
-
a(n)=n*(n+1)*(5*n+7)/6 \\ Charles R Greathouse IV, Oct 07 2015
-
[n*(n+1)*(5*n+7)/6 for n in (0..50)] # G. C. Greubel, Mar 31 2021
A220084
a(n) = (n + 1)*(20*n^2 + 19*n + 6)/6.
Original entry on oeis.org
1, 15, 62, 162, 335, 601, 980, 1492, 2157, 2995, 4026, 5270, 6747, 8477, 10480, 12776, 15385, 18327, 21622, 25290, 29351, 33825, 38732, 44092, 49925, 56251, 63090, 70462, 78387, 86885, 95976, 105680, 116017, 127007, 138670, 151026, 164095, 177897, 192452
Offset: 0
Cf.
A000292,
A000330,
A000566,
A002411,
A002412,
A002413,
A002414,
A051662,
A130748,
A212983,
A213772,
A213837.
-
[(n+1)*(20*n^2+19*n+6)/6: n in [0..40]]; // Bruno Berselli, Jun 28 2016
-
/* By first comment: */ A002413:=func; [n*A002413(n)-(n-1)*A002413(n-1): n in [1..40]];
-
I:=[1,15,62,162]; [n le 4 select I[n] else 4*Self(n-1)-6*Self(n-2)+4*Self(n-3)-Self(n-4): n in [1..50]]; // Vincenzo Librandi, Aug 18 2013
-
Table[(n + 1) (20 n^2 + 19 n + 6)/6, {n, 0, 40}]
LinearRecurrence[{4,-6,4,-1},{1,15,62,162},40] (* Harvey P. Dale, Dec 23 2012 *)
CoefficientList[Series[(1 + 11 x + 8 x^2) / (1 - x)^4, {x, 0, 40}], x] (* Vincenzo Librandi, Aug 18 2013 *)
-
makelist((n+1)*(20*n^2+19*n+6)/6, n, 0, 20); /* Martin Ettl, Dec 12 2012 */
-
a(n)=(n+1)*(20*n^2+19*n+6)/6 \\ Charles R Greathouse IV, Oct 07 2015
A279218
Expansion of Product_{k>=1} 1/(1 - x^k)^(k*(k+1)*(5*k-2)/6).
Original entry on oeis.org
1, 1, 9, 35, 131, 454, 1601, 5325, 17467, 55588, 173858, 532809, 1607056, 4769263, 13957660, 40302923, 114962909, 324157109, 904247056, 2496917319, 6829241131, 18510038697, 49741367504, 132582175873, 350655140642, 920568519505, 2399692063845, 6213105691838, 15982216140168, 40855658807127, 103814659491641
Offset: 0
- Vaclav Kotesovec, Table of n, a(n) for n = 0..1000
- M. Bernstein and N. J. A. Sloane, Some canonical sequences of integers, Linear Alg. Applications, 226-228 (1995), 57-72; erratum 320 (2000), 210. [Link to arXiv version]
- M. Bernstein and N. J. A. Sloane, Some canonical sequences of integers, Linear Alg. Applications, 226-228 (1995), 57-72; erratum 320 (2000), 210. [Link to Lin. Alg. Applic. version together with omitted figures]
- N. J. A. Sloane, Transforms
- Eric Weisstein's World of Mathematics, Heptagonal Pyramidal Number
- Index to sequences related to pyramidal numbers
-
nmax=30; CoefficientList[Series[Product[1/(1 - x^k)^(k (k + 1) (5 k - 2)/6), {k, 1, nmax}], {x, 0, nmax}], x]
A322636
Numbers that are sums of consecutive heptagonal numbers (A000566).
Original entry on oeis.org
0, 1, 7, 8, 18, 25, 26, 34, 52, 55, 59, 60, 81, 89, 107, 112, 114, 115, 136, 148, 170, 188, 189, 193, 195, 196, 235, 248, 260, 282, 286, 300, 307, 308, 337, 341, 342, 396, 403, 424, 430, 448, 449, 455, 456, 469, 521, 530, 540, 572, 585, 616, 619, 628, 637, 644, 645, 684, 697
Offset: 1
-
N:= 1000: # for terms up to N
Hepta:= [seq(n*(5*n-3)/2,n=0..floor((3+sqrt(9+40*N))/10))]:
PS:= ListTools:-PartialSums(Hepta):
S:= select(`<=`,{0,seq(seq(PS[i]-PS[j],j=1..i-1),i=1..nops(PS))},N):
sort(convert(S,list)); # Robert Israel, May 22 2025
-
terms = 59;
nmax = 17; kmax = 9; (* empirical *)
T = Table[n(5n-3)/2, {n, 0, nmax}];
Union[T, Table[k MovingAverage[T, k], {k, 2, kmax}]//Flatten][[1 ;; terms]] (* Jean-François Alcover, Dec 26 2018 *)
A261720
Array of pyramidal (3-dimensional figurate numbers) read by antidiagonals.
Original entry on oeis.org
1, 1, 4, 1, 5, 10, 1, 6, 14, 20, 1, 7, 18, 30, 35, 1, 8, 22, 40, 55, 56, 1, 9, 26, 50, 75, 91, 84, 1, 10, 30, 60, 95, 126, 140, 120, 1, 11, 34, 70, 115, 161, 196, 204, 165, 1, 12, 38, 80, 135, 196, 252, 288, 285, 220, 1, 13, 42, 90, 155, 231, 308, 372, 405, 385, 286
Offset: 1
Row 2: (1, 5, 14, 30, 55, ...) = (1, 4, 10, 20, 35, ...) + (0, 1, 4, 10, 20, 35, ...).
(1, 7, 22, 50, ...) is the binomial transform of (1, 6, 9, 4, 0, 0, 0, ...) 3rd row in Pascal's triangle (1,4) followed by zeros. (1, 7, 22, 50, ...) is the third partial sum of (1, 4, 4, 4, ...).
- Albert H. Beiler, "Recreations in the Theory of Numbers"; Dover, 1966, p. 194.
Similar to
A080851 but without row n=0.
-
T[n_,k_]:=k(k+1)((k-1)n+3)/6; Flatten[Table[T[n-k+1,k],{n,11},{k,n}]] (* Stefano Spezia, Aug 15 2024 *)
A366016
G.f. A(x) satisfies: A(x) = x * (1 + A(x))^4 / (1 - 4 * A(x)).
Original entry on oeis.org
0, 1, 8, 102, 1580, 27193, 499828, 9609372, 190869948, 3886281300, 80681111940, 1701418017390, 36345240847188, 784821812522062, 17103169093916120, 375670490644949624, 8308349385885678684, 184856293637482503660, 4134886240989315235840, 92928784113832360511800, 2097399158679611824619120
Offset: 0
-
nmax = 20; A[] = 0; Do[A[x] = x (1 + A[x])^4/(1 - 4 A[x]) + O[x]^(nmax + 1) // Normal, nmax + 1]; CoefficientList[A[x], x]
CoefficientList[InverseSeries[Series[x (1 - 4 x)/(1 + x)^4, {x, 0, 20}], x], x]
Join[{0}, Table[1/n Sum[Binomial[n + k - 1, k] Binomial[4 n, n - k - 1] 4^k, {k, 0, n - 1}], {n, 1, 20}]]
Comments