login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A003986 Table of x OR y, where (x,y) = (0,0),(0,1),(1,0),(0,2),(1,1),(2,0),... 17
0, 1, 1, 2, 1, 2, 3, 3, 3, 3, 4, 3, 2, 3, 4, 5, 5, 3, 3, 5, 5, 6, 5, 6, 3, 6, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7, 8, 7, 6, 7, 4, 7, 6, 7, 8, 9, 9, 7, 7, 5, 5, 7, 7, 9, 9, 10, 9, 10, 7, 6, 5, 6, 7, 10, 9, 10, 11, 11, 11, 11, 7, 7, 7, 7, 11, 11, 11, 11, 12, 11, 10, 11, 12, 7, 6, 7, 12, 11, 10, 11, 12, 13, 13, 11 (list; table; graph; refs; listen; history; internal format)
OFFSET

0,4

LINKS

T. D. Noe, Rows n=0..100 of triangle, flattened

FORMULA

T(x,y) = T(y,x) = A080098(x,y). - R. J. Mathar, May 28 2011

EXAMPLE

The upper left corner of the array starts in row x=0 with columns y>=0 as:

0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,..

1, 1, 3, 3, 5, 5, 7, 7, 9, 9,11,11,13,..

2, 3, 2, 3, 6, 7, 6, 7,10,11,10,11,14,..

3, 3, 3, 3, 7, 7, 7, 7,11,11,11,11,15,..

4, 5, 6, 7, 4, 5, 6, 7,12,13,14,15,12,..

5, 5, 7, 7, 5, 5, 7, 7,13,13,15,15,13,..

6, 7, 6, 7, 6, 7, 6, 7,14,15,14,15,14,..

7, 7, 7, 7, 7, 7, 7, 7,15,15,15,15,15,..

8, 9,10,11,12,13,14,15, 8, 9,10,11,12,..

9, 9,11,11,13,13,15,15, 9, 9,11,11,13,..

10,11,10,11,14,15,14,15,10,11,10,11,14,..

MAPLE

read("transforms") ;

A003986 := proc(x, y) ORnos(x, y) ; end proc:

for d from 0 to 12 do for x from 0 to d do printf("%d, ", A003986(x, d-x)) ; end do: end do: # R. J. Mathar, May 28 2011

CROSSREFS

Cf. A003987 (XOR) and A004198 (AND). Cf. also A075173, A075175.

Antidiagonal sums are in A006583.

Sequence in context: A002339 A123243 A037193 * A123603 A020908 A186519

Adjacent sequences:  A003983 A003984 A003985 * A003987 A003988 A003989

KEYWORD

tabl,nonn

AUTHOR

Marc LeBrun (mlb(AT)well.com)

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 02:50 EST 2012. Contains 205694 sequences.