[go: up one dir, main page]

login
Revision History for A177517 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Triangle T(n,k) read by rows defined by recurrence T(n,1)=A000007(n-1) and T(n,k) = sum_{i=1..k-1} T(n-i,k-1) if k>1.
(history; published version)
#29 by Joerg Arndt at Tue Dec 26 00:15:20 EST 2023
STATUS

editing

approved

#28 by Joerg Arndt at Tue Dec 26 00:15:17 EST 2023
MATHEMATICA

(* Robert G. Wilson v, Jun 24 2011 *) (* Added the necessary If condition, _corrected by _Mats Granvik_, Jan 23 2012 *)

#27 by Joerg Arndt at Tue Dec 26 00:14:13 EST 2023
MATHEMATICA

Clear[t]; t[1, 1] = 1; t[n_, 1] = 0; t[n_, k_] := t[n, k] = If[n >= k, Sum[t[n - i, k - 1], {i, 1, k - 1}], 0]; Flatten[Table[t[n, k], {n, 12}, {k, n}]] (* _Robert G. Wilson v_, Jun 24 2011 *) (* Added the necessary If condition, _Mats Granvik_, Jan 23 2012 *)

Flatten[Table[t[n, k], {n, 12}, {k, n}]]

(* Robert G. Wilson v, Jun 24 2011 *) (* Added the necessary If condition, Mats Granvik, Jan 23 2012 *)

PROG

(Excel cell formula, American) =if(column()=1, if(row()=1, 1, 0), if(row()>=column(), sum(indirect(address(row()-column()+1, column()-1, 4)&":"&address(row()-column()+column()-1, column()-1, 4), 4)), 0))

(Excel cell formula, European) =if(column()=1; if(row()=1; 1; 0); if(row()>=column(); sum(indirect(address(row()-column()+1; column()-1; 4)&":"&address(row()-column()+column()-1; column()-1; 4); 4)); 0))

STATUS

approved

editing

#26 by Alois P. Heinz at Sun Aug 25 01:09:59 EDT 2019
STATUS

editing

approved

#25 by Alois P. Heinz at Sun Aug 25 01:09:50 EDT 2019
LINKS

Alois P. Heinz, <a href="/A177517/b177517.txt">Table of n, a(n) for n = 1..20301</a>

STATUS

approved

editing

#24 by Alois P. Heinz at Sat Feb 15 15:31:39 EST 2014
STATUS

proposed

approved

#23 by Jon E. Schoenfield at Sat Feb 15 14:09:03 EST 2014
STATUS

editing

proposed

#22 by Jon E. Schoenfield at Sat Feb 15 14:09:02 EST 2014
FORMULA

T(n,k) = A008302(k-2,n-k), n>=k>1. [- _R. J. Mathar, _, Dec 15 2010]

MATHEMATICA

Clear[t]; t[1, 1] = 1; t[n_, 1] = 0; t[n_, k_] := t[n, k] = If[n >= k, Sum[t[n - i, k - 1], {i, 1, k - 1}], 0]; Flatten[Table[t[n, k], {n, 12}, {k, n}]] (* Robert G. Wilson v, June Jun 24 2011 *) (* Added the necessary If condition, _Mats Granvik, _, Jan 23 2012 *)

AUTHOR

_Mats Granvik, _, _Roger L. Bagula (mats.granvik(AT)abo.fi), _, Dec 11 2010

STATUS

approved

editing

#21 by N. J. A. Sloane at Thu Oct 31 12:17:46 EDT 2013
MATHEMATICA

Clear[t]; t[1, 1] = 1; t[n_, 1] = 0; t[n_, k_] := t[n, k] = If[n >= k, Sum[t[n - i, k - 1], {i, 1, k - 1}], 0]; Flatten[Table[t[n, k], {n, 12}, {k, n}]] (* _Robert G. Wilson v, _, June 24 2011 *) (* Added the necessary If condition, Mats Granvik, Jan 23 2012 *)

Discussion
Thu Oct 31
12:17
OEIS Server: https://oeis.org/edit/global/2036
#20 by T. D. Noe at Mon Jan 23 16:06:37 EST 2012
STATUS

editing

approved