[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 A286145 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Square array read by antidiagonals: A(n,k) = T(n XOR k, k), where T(n,k) is sequence A001477 considered as a two-dimensional table, and XOR is bitwise-xor (A003987).
(history; published version)
#18 by Michel Marcus at Fri Apr 30 06:04:54 EDT 2021
STATUS

reviewed

approved

#17 by Joerg Arndt at Fri Apr 30 06:01:05 EDT 2021
STATUS

proposed

reviewed

#16 by F. Chapoton at Fri Apr 30 05:55:19 EDT 2021
STATUS

editing

proposed

#15 by F. Chapoton at Fri Apr 30 05:55:12 EDT 2021
PROG

def T(a, b): return ((a + b)**2 + 3*a + b)//2

for n in range(0, 21): print ([A(k, n - k) for k in range(0, n + 1)] ) # Indranil Ghosh, May 21 2017

STATUS

approved

editing

Discussion
Fri Apr 30
05:55
F. Chapoton: adapt py code to py3
#14 by N. J. A. Sloane at Sat Dec 07 12:18:29 EST 2019
PROG

for n in xrangerange(0, 21): print [A(k, n - k) for k in xrangerange(0, n + 1)] # Indranil Ghosh, May 21 2017

Discussion
Sat Dec 07
12:18
OEIS Server: https://oeis.org/edit/global/2837
#13 by N. J. A. Sloane at Sun May 21 07:31:55 EDT 2017
STATUS

reviewed

approved

#12 by Joerg Arndt at Sun May 21 03:39:32 EDT 2017
STATUS

proposed

reviewed

#11 by Indranil Ghosh at Sun May 21 03:29:49 EDT 2017
STATUS

editing

proposed

#10 by Indranil Ghosh at Sun May 21 03:29:29 EDT 2017
MATHEMATICA

T[a_, b_]:=((a + b)^2 + 3a + b)/2; A[n_, k_]:=T[BitXor[n, k], k]; Table[A[k, n - k ], {n, 0, 20}, {k, 0, n}] // Flatten (* Indranil Ghosh, May 21 2017 *)

PROG

(Python)

def T(a, b): return ((a + b)**2 + 3*a + b)/2

def A(n, k): return T(n^k, k)

for n in xrange(0, 21): print [A(k, n - k) for k in xrange(0, n + 1)] # Indranil Ghosh, May 21 2017

STATUS

approved

editing

#9 by N. J. A. Sloane at Wed May 03 21:55:50 EDT 2017
STATUS

proposed

approved