Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A079512
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A079512 a(0)=1, a(1)=1; for n>1, a(n) = Sum_{i=0..n/2} binomial(n-i-1,i)*a(n-2i-1) + ((n+1) mod 2). +0
1
1, 1, 2, 3, 6, 13, 29, 72, 185, 499, 1414, 4132, 12554, 39332, 126815, 420769, 1430790, 4986139, 17772536, 64708212, 240482750, 911008926, 3515571177, 13807269626, 55147622607, 223864614364, 922952281744, 3862571220690, 16399630000144 (list; graph; listen)
OFFSET

0,3

REFERENCES

S. Kitaev, Multi-avoidance of generalized patterns, Discrete Math., 260 (2003), 89-100.

MAPLE

with(combinat): a := array(0..50): a[0] := 1: a[1] := 1: for n from 2 to 50 do: a[n] := 0: for i from 0 to floor((n-1)/2.) do: a[n] := a[n]+binomial(n-i-1, i)*a[n-2*i-1]: od:a[n] := a[n]+((n+1) mod 2): od:seq(a[n], n=0..50);

MATHEMATICA

a[0] = a[1] = 1; a[n_] := a[n] = Sum[ Binomial[n - i - 1, i]*a[n - 2i - 1], {i, 0, Floor[n/2]}] + Mod[n + 1, 2]; Table[a[n], {n, 0, 30}]

CROSSREFS

Sequence in context: A032066 A107316 A124682 this_sequence A052937 A005554 A077212

Adjacent sequences: A079509 A079510 A079511 this_sequence A079513 A079514 A079515

KEYWORD

easy,nonn

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Jan 21 2003

EXTENSIONS

More terms from Mark Hudson (mrmarkhudson(AT)hotmail.com), Jan 22 2003

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 November 25 13:47 EST 2009. Contains 167481 sequences.


AT&T Labs Research