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!)
A055789 a(n) = binomial(n, round(sqrt(n))). 1
1, 1, 2, 3, 6, 10, 15, 35, 56, 84, 120, 165, 220, 715, 1001, 1365, 1820, 2380, 3060, 3876, 4845, 20349, 26334, 33649, 42504, 53130, 65780, 80730, 98280, 118755, 142506, 736281, 906192, 1107568, 1344904, 1623160, 1947792, 2324784, 2760681 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(n^2) = A014062(n).
EXAMPLE
a(9) = C(9,3) = 9!/(3!*6!) = 84
MAPLE
seq( binomial(n, round(sqrt(n))), n=0..40); # G. C. Greubel, Jan 25 2020
MATHEMATICA
Table[Binomial[n, Round[Sqrt[n]]], {n, 0, 40}] (* G. C. Greubel, Jan 25 2020 *)
PROG
(PARI) vector(40, n, binomial(n, round(sqrt(n))) ) \\ G. C. Greubel, Jan 25 2020
(Magma) [Binomial(n, Round(Sqrt(n))): n in [0..40]]; // G. C. Greubel, Jan 25 2020
(Sage) [binomial(n, round(sqrt(n))) for n in (0..40)] # G. C. Greubel, Jan 25 2020
(Python)
from math import comb, isqrt
def A055789(n): return comb(n, (m:=isqrt(n))+ int((n-m*(m+1)<<2)>=1)) # Chai Wah Wu, Jul 29 2022
CROSSREFS
Sequence in context: A077011 A246868 A370819 * A238891 A048681 A051891
KEYWORD
easy,nonn
AUTHOR
Henry Bottomley, Jul 13 2000
STATUS
approved

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 April 16 17:08 EDT 2024. Contains 371749 sequences. (Running on oeis4.)