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!)
A027379 Expansion of (1+x^2-x^3)/(1-x)^3. 10
1, 3, 7, 12, 18, 25, 33, 42, 52, 63, 75, 88, 102, 117, 133, 150, 168, 187, 207, 228, 250, 273, 297, 322, 348, 375, 403, 432, 462, 493, 525, 558, 592, 627, 663, 700, 738, 777, 817, 858, 900, 943, 987, 1032, 1078 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = n*(n+5)/2 = A000217(n+2) - 3 for n>=1. - Emeric Deutsch, Mar 01 2004
a(n) = n + a(n-1) + 2, n>1. - Vincenzo Librandi, Dec 06 2009
E.g.f.: 1 + x*(x + 6)*exp(x)/2. - G. C. Greubel, May 14 2017
PROG
(PARI) a(n)=if(n, n*(n+5)/2, 1) \\ Charles R Greathouse IV, Jun 11 2015
(Magma) [n eq 0 select 1 else n*(n+5)/2: n in [0..50]]; // G. C. Greubel, Jul 31 2022
(SageMath) [n*(n+5)/2 + bool(n==0) for n in (0..50)] # G. C. Greubel, Jul 31 2022
CROSSREFS
Essentially the triangular numbers (A000217) minus 3.
Also essentially the same as A055998.
Sequence in context: A310249 A310250 A141214 * A055998 A066379 A024517
KEYWORD
nonn,easy
AUTHOR
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 29 21:04 EDT 2024. Contains 372114 sequences. (Running on oeis4.)