mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Blogorrhea > MattcAnderson

Reply
 
Thread Tools
Old 2016-09-10, 05:47   #1
MattcAnderson
 
MattcAnderson's Avatar
 
"Matthew Anderson"
Dec 2010
Oregon, USA

2·5·89 Posts
Default A034856/

Hi Math People,

I was exploring oeis.org. This is the Online Encyclopedia of integer sequences.

oeis.org/A034856/

Many people have double checked this encyclopedia.

I read that for A034856, a(n) reduces to n*(n+3)/2 - 1.

When I work it through, I reach the expression n*(n-1)/2 -1.

Probably I am wrong and the encyclopedia is right.

I assume that binomial(n,k) = n!/(k!(n-k)!).
Can someone else check this expression?

Regards,
Matt
MattcAnderson is offline   Reply With Quote
Old 2016-09-10, 07:25   #2
GP2
 
GP2's Avatar
 
Sep 2003

5·11·47 Posts
Default

Quote:
Originally Posted by MattcAnderson View Post
oeis.org/A034856/

I read that for A034856, a(n) reduces to n*(n+3)/2 - 1.

When I work it through, I reach the expression n*(n-1)/2 -1.
Code:
binomial(n+1, 2) + (n − 1)

    n*(n+1)     2*(n−1)
=   -------  +  -------
       2           2

    n*n + 1*n + 2*n − 2
=   -------------------
             2

    n*(n+3) − 2
=   -----------
         2

    n*(n+3)
=   -------  −  1
       2
GP2 is offline   Reply With Quote
Old 2016-09-10, 14:20   #3
MattcAnderson
 
MattcAnderson's Avatar
 
"Matthew Anderson"
Dec 2010
Oregon, USA

89010 Posts
Default

Thank you GP2. You are correct.

Regards,
Matt
MattcAnderson is offline   Reply With Quote
Reply

Thread Tools


All times are UTC. The time now is 12:42.


Sat Oct 16 12:42:08 UTC 2021 up 85 days, 7:11, 0 users, load averages: 1.89, 1.83, 1.65

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.