Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A105423
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A105423 Number of compositions of n+2 having exactly two parts equal to 1. +0
2
1, 0, 3, 3, 9, 15, 31, 57, 108, 199, 366, 666, 1205, 2166, 3873, 6891, 12207, 21537, 37859, 66327, 115842, 201743, 350412, 607140, 1049545, 1810428, 3116655, 5355219, 9185349, 15728547, 26890375, 45904773, 78253896, 133221079 (list; graph; listen)
OFFSET

0,3

COMMENT

Column 2 of A105422.

FORMULA

G.f.=(1-z)^3/(1-z-z^2)^3.

(1/50) [(5n^2+21n+25)*Lucas(n) - (11n^2+30n+10)*Fibonacci(n) ]. - Ralf Stephan, Jun 1 2007

EXAMPLE

a(4)=9 because we have (1,1,4),(1,4,1),(4,1,1),(1,1,2,2),(1,2,1,2),(1,2,2,1),(2,1,1,2),(2,1,2,1) and (2,2,1,1).

MAPLE

G:=(1-z)^3/(1-z-z^2)^3: Gser:=series(G, z=0, 42): 1, seq(coeff(Gser, z^n), n=1..40);

CROSSREFS

Cf. A105422.

Sequence in context: A138383 A052436 A122847 this_sequence A062510 A000200 A100744

Adjacent sequences: A105420 A105421 A105422 this_sequence A105424 A105425 A105426

KEYWORD

nonn

AUTHOR

Emeric Deutsch (deutsch(AT)duke.poly.edu), Apr 07 2005

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 24 12:00 EDT 2008. Contains 142294 sequences.


AT&T Labs Research