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!)
A080522 Leading diagonal of triangle in A080521. 2
1, 3, 5, 10, 22, 49, 107, 228, 476, 979, 1993, 4030, 8114, 16293, 32663, 65416, 130936, 261991, 524117, 1048386, 2096942, 4194073, 8388355, 16776940, 33554132, 67108539, 134217377, 268435078, 536870506, 1073741389, 2147483183 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = 2^n-(n-1)*(n-2)/2-n+1 for n>1. - Lambert Herrgesell (zero815(AT)googlemail.com), Mar 14 2006
a(n) = A014844(n), n>1. - R. J. Mathar, Sep 19 2008
From Colin Barker, Dec 18 2012: (Start)
a(n) = 5*a(n-1)-9*a(n-2)+7*a(n-3)-2*a(n-4) for n>5.
G.f.: -x*(2*x^4-5*x^3+x^2+2*x-1) / ((x-1)^3*(2*x-1)). (End)
MATHEMATICA
Join[{1}, Array[2^# - #*(# - 1)/2 &, 50, 2]] (* Paolo Xausa, Mar 16 2024 *)
PROG
(Magma) [1] cat[2^n-(n-1)*(n-2)/2-n+1: n in [2..40]]; // Vincenzo Librandi, Apr 18 2012
CROSSREFS
Cf. A080521.
Sequence in context: A053709 A102772 A018005 * A173232 A132332 A209001
KEYWORD
nonn,easy
AUTHOR
Amarnath Murthy, Mar 21 2003
EXTENSIONS
More terms from Lambert Herrgesell (zero815(AT)googlemail.com), Mar 14 2006
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 18 08:27 EDT 2024. Contains 371769 sequences. (Running on oeis4.)