[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Revision History for A083651 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Triangular array, read by rows: T(n,k) = k-th bit in binary representation of n (0<=k<=n).
(history; published version)
#12 by Susanna Cuyler at Mon Sep 20 08:51:51 EDT 2021
STATUS

proposed

approved

#11 by Jean-François Alcover at Mon Sep 20 07:44:42 EDT 2021
STATUS

editing

proposed

#10 by Jean-François Alcover at Mon Sep 20 07:44:35 EDT 2021
MATHEMATICA

row[n_] := row[n] = PadRight[Reverse[IntegerDigits[n, 2]], n+1];

T[n_, k_] := row[n][[k+1]];

Table[T[n, k], {n, 0, 14}, {k, 0, n}] // Flatten

STATUS

approved

editing

#9 by R. J. Mathar at Wed Apr 21 08:49:36 EDT 2021
STATUS

proposed

approved

#8 by Michel Marcus at Wed Apr 21 07:25:51 EDT 2021
STATUS

editing

proposed

#7 by Michel Marcus at Wed Apr 21 07:25:45 EDT 2021
CROSSREFS

Cf. A000035 (column k=0), A133872 (k=1), A131078 (k=2), A000120 (row sums).

STATUS

proposed

editing

#6 by R. J. Mathar at Wed Apr 21 07:21:44 EDT 2021
STATUS

editing

proposed

#5 by R. J. Mathar at Wed Apr 21 07:20:09 EDT 2021
EXAMPLE

The triangle starts

0

1 0

0 1 0

1 1 0 0

0 0 1 0 0

1 0 1 0 0 0

0 1 1 0 0 0 0

1 1 1 0 0 0 0 0

0 0 0 1 0 0 0 0 0

1 0 0 1 0 0 0 0 0 0

0 1 0 1 0 0 0 0 0 0 0

1 1 0 1 0 0 0 0 0 0 0 0

0 0 1 1 0 0 0 0 0 0 0 0 0

1 0 1 1 0 0 0 0 0 0 0 0 0 0

0 1 1 1 0 0 0 0 0 0 0 0 0 0 0

MAPLE

A083651 := proc(n, k)

floor(n/2^k) ;

modp(%, 2) ;

end proc: # R. J. Mathar, Apr 21 2021

CROSSREFS

Cf. A000035 (column k=0), A133872 (k=1), A131078 (k=2), A000120 (row sums)

KEYWORD

nonn,tabl,easy

STATUS

approved

editing

#4 by Russ Cox at Fri Mar 30 18:50:34 EDT 2012
AUTHOR

_Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), _, May 01 2003

Discussion
Fri Mar 30
18:50
OEIS Server: https://oeis.org/edit/global/246
#3 by N. J. A. Sloane at Fri Jan 09 03:00:00 EST 2009
KEYWORD

nonn,tabl,new

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)lhsystemsgmail.com), May 01 2003