Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A101979
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A101979 Antidiagonal sums of A101309, which is the matrix logarithm of A047999 (Pascal's triangle mod 2). +0
2
0, 1, 1, 0, 2, 1, 1, 0, 2, 1, 3, 0, 2, 1, 1, 0, 2, 1, 3, 0, 4, 1, 3, 0, 2, 1, 3, 0, 2, 1, 1, 0, 2, 1, 3, 0, 4, 1, 3, 0, 4, 1, 5, 0, 4, 1, 3, 0, 2, 1, 3, 0, 4, 1, 3, 0, 2, 1, 3, 0, 2, 1, 1, 0, 2, 1, 3, 0, 4, 1, 3, 0, 4, 1, 5, 0, 4, 1, 3, 0, 4, 1, 5, 0, 6, 1, 5, 0, 4, 1, 5, 0, 4, 1, 3, 0, 2, 1, 3, 0, 4, 1, 3, 0, 4 (list; graph; listen)
OFFSET

0,5

COMMENT

Partial sums at positions 2^m-1 = m*2^(m-2) for m>=2.

EXAMPLE

Partial sums at 2^m-1 are:

at 2^2-1 (m=2): 0+1+1+0 = 2 = 2*2^(2-2),

at 2^3-1 (m=3): 0+1+1+0+2+1+1+0 = 6 = 3*2^(3-2),

at 2^4-1 (m=4): 0+1+1+0+2+1+1+0+2+1+3+0+2+1+1+0 = 16 = 4*2^(4-2).

PROGRAM

(PARI) {a(n)=sum(k=0, (n-1)\2, if(bitxor(n-k, k)==2^valuation(bitxor(n-k, k), 2), 1, 0))}

CROSSREFS

Cf. A047999, A101309.

Sequence in context: A143792 A029375 A071462 this_sequence A060582 A060450 A025860

Adjacent sequences: A101976 A101977 A101978 this_sequence A101980 A101981 A101982

KEYWORD

nonn

AUTHOR

Paul D. Hanna (pauldhanna(AT)juno.com), Dec 23 2004

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 30 22:12 EST 2008. Contains 150989 sequences.


AT&T Labs Research