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!)
A033550 a(n) = A005248(n) - n. 0
2, 2, 5, 15, 43, 118, 316, 836, 2199, 5769, 15117, 39592, 103670, 271430, 710633, 1860483, 4870831, 12752026, 33385264, 87403784, 228826107, 599074557, 1568397585, 4106118220, 10749957098, 28143753098, 73681302221, 192900153591 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
Also distinct compositions of the wheel graph W_n. - Ralf Stephan, Jan 02 2003
LINKS
A. Knopfmacher and M. E. Mays, Graph Compositions. I: Basic Enumeration, Integers 1(2001), #A04.
FORMULA
a(n) = 3*a(n-1) - a(n-2) + n - 1.
G.f.: (2 - 8*x + 11*x^2 - 4*x^3)/((1-3*x+x^2)*(1-x)^2).
a(n) = Lucas(2*n) - n. - G. C. Greubel, Oct 12 2019
MAPLE
with(combinat); seq(fibonacci(2*n+1)+fibonacci(2*n-1)-n, n=0..50); # G. C. Greubel, Oct 12 2019
MATHEMATICA
Table[LucasL[2*n]-n, {n, 0, 50}] (* G. C. Greubel, Oct 12 2019 *)
PROG
(PARI) a(n)=fibonacci(2*n+1)+fibonacci(2*n-1)-n
(Magma) [Lucas(2*n) - n: n in [0..50]]; // G. C. Greubel, Oct 12 2019
(Sage) [lucas_number2(2*n, 1, -1) - n for n in range(50)] # G. C. Greubel, Oct 12 2019
(GAP) List([0..50], n-> Lucas(1, -1, 2*n)[2] - n ); # G. C. Greubel, Oct 12 2019
CROSSREFS
Sequence in context: A208466 A098888 A089848 * A032130 A259101 A184313
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 19 12:06 EDT 2024. Contains 371792 sequences. (Running on oeis4.)