Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A038503
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A038503 Sum of every 4th entry of row n in Pascal's triangle, starting at "n choose 0". +0
24
1, 1, 1, 1, 2, 6, 16, 36, 72, 136, 256, 496, 992, 2016, 4096, 8256, 16512, 32896, 65536, 130816, 261632, 523776, 1048576, 2098176, 4196352, 8390656, 16777216, 33550336, 67100672, 134209536, 268435456, 536887296, 1073774592 (list; graph; listen)
OFFSET

0,5

COMMENT

Number of strings over Z_2 of length n with trace 0 and subtrace 0.

Same as number of strings over GF(2) of length n with trace 0 and subtrace 0.

REFERENCES

Paul Barry, A Catalan Transform and Related Transformations on Integer Sequences, Journal of Integer Sequences, Vol. 8 (2005), Article 05.4.5.

D. E. Knuth, The Art of Computer Programming. Addison-Wesley, Reading, MA, Vol. 1, 2nd ed., Problem 38, p. 70, gives an explicit formula for the sum.

LINKS

F. Ruskey, Strings over Z_2 of given Trace and Subtrace

F. Ruskey, Strings over GF(2) of given Trace and Subtrace

FORMULA

G.f.: (1-x)^3/((1-x)^4-x^4); a(n)=sum{k=0..floor(n/4), binomial(n, 4k)}; a(n)=2^(n-1)+2^((n-2)/2)(cos(pi*n/4)-sin(pi*n/4)). - Paul Barry (pbarry(AT)wit.ie), Mar 18 2004

Binomial transform of 1/(1-x^4). a(n)=4a(n-1)-6a(n-2)+4a(n-3); a(n)=sum{k=0..n, binomial(n, k)(sin(pi*(k+1)/2)/2+(1+(-1)^k)/4)}; a(n)=sum{k=0..floor(n/4), binomial(n, 4k) }. - Paul Barry (pbarry(AT)wit.ie), Jul 25 2004

a(n)=sum{k=0..n, binomial(n, 4(n-k))} - Paul Barry (pbarry(AT)wit.ie), Aug 30 2004

a(n)=sum{k=0..floor(n/2), binomial(n, 2k)(1+(-1)^k)/2} - Paul Barry (pbarry(AT)wit.ie), Nov 29 2004

a(n; t, s) = a(n-1; t, s) + a(n-1; t+1, s+t+1) where t is the trace and s is the subtrace.

EXAMPLE

a(3;0,0)=1 since the one binary string of trace 0, subtrace 0 and length 3 is { 000 }.

MAPLE

ZL:=[S, {a = Atom, b = Atom, S = Prod(X, Sequence(Prod(X, X, X, X))), X = Sequence(b, card >= 1)}, unlabelled]: seq(combstruct[count](ZL, size=n), n=1..33); - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Mar 26 2008

CROSSREFS

Cf. A024493, A024494, A024495, A038505, A038504, A000749.

Row sums of A098173

Sequence in context: A060354 A140131 A005676 this_sequence A079990 A127902 A053210

Adjacent sequences: A038500 A038501 A038502 this_sequence A038504 A038505 A038506

KEYWORD

easy,nonn

AUTHOR

Frank Ruskey (fruskey(AT)cs.uvic.ca)

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 19 08:04 EDT 2008. Contains 142098 sequences.


AT&T Labs Research