[go: up one dir, main page]

login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
Revision History for A258758 (Underlined text is an addition; strikethrough text is a deletion.)

Showing entries 1-10 | older changes
A258758 Triangle T(n,k) = C(n+k-1,k)*C(2*n-1,n-k).
(history; published version)
#38 by Charles R Greathouse IV at Thu Sep 08 08:46:12 EDT 2022
PROG

(MAGMAMagma) [[Binomial(n+k-1, k)*Binomial(2*n-1, n-k): k in [0..n]]: n in [0.. 15]]; // Vincenzo Librandi, Jun 12 2015

Discussion
Thu Sep 08 08:46
OEIS Server: https://oeis.org/edit/global/2944
#37 by Peter Luschny at Fri Apr 03 06:00:08 EDT 2020
STATUS

proposed

approved

#36 by Joerg Arndt at Fri Apr 03 05:50:53 EDT 2020
STATUS

editing

proposed

#35 by Joerg Arndt at Fri Apr 03 05:50:38 EDT 2020
PROG

(Python)

import math

f=math.factorial

def C(n, r):

return f(n)/f(r)/f(n-r)

print("0 1")

i=1

for n in range(1, 101):

for k in range(n+1):

print(str(i)+" "+str(C(n+k-1, k)*C(2*n-1, n-k)))

i+=1 # Indranil Ghosh, Mar 04 2017

STATUS

proposed

editing

Discussion
Fri Apr 03 05:50
Joerg Arndt: Let's just remove such clunky code.
#34 by F. Chapoton at Fri Apr 03 04:32:05 EDT 2020
STATUS

editing

proposed

Discussion
Fri Apr 03 04:49
Michel Marcus: Python : from sympy import binomial  ?
#33 by F. Chapoton at Fri Apr 03 04:31:45 EDT 2020
PROG

.... return f(n)/f(r)/f(n-r)

print "("0 1"")

.... for k in range(0, n+1):

........ print (str(i)+" "+str(C(n+k-1, k)*C(2*n-1, n-k)))))

........ i+=1 # Indranil Ghosh, Mar 04 2017

STATUS

approved

editing

Discussion
Fri Apr 03 04:32
F. Chapoton: use space to indent python code, adapt print to python3
#32 by N. J. A. Sloane at Sat Mar 04 02:52:14 EST 2017
STATUS

proposed

approved

#31 by Michel Marcus at Sat Mar 04 02:34:38 EST 2017
STATUS

editing

proposed

#30 by Michel Marcus at Sat Mar 04 02:34:29 EST 2017
CROSSREFS

Cf. A069723 (row sums, with a shift).

STATUS

proposed

editing

Discussion
Sat Mar 04 02:34
Michel Marcus: ok ?
#29 by Indranil Ghosh at Sat Mar 04 02:01:25 EST 2017
STATUS

editing

proposed

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 30 15:13 EDT 2024. Contains 375545 sequences. (Running on oeis4.)