

A067138


ORnumbral multiplication table.


6



0, 0, 0, 0, 1, 0, 0, 2, 2, 0, 0, 3, 4, 3, 0, 0, 4, 6, 6, 4, 0, 0, 5, 8, 7, 8, 5, 0, 0, 6, 10, 12, 12, 10, 6, 0, 0, 7, 12, 15, 16, 15, 12, 7, 0, 0, 8, 14, 14, 20, 20, 14, 14, 8, 0, 0, 9, 16, 15, 24, 21, 24, 15, 16, 9, 0, 0, 10, 18, 24, 28, 30, 30, 28, 24, 18, 10, 0, 0, 11, 20, 27, 32, 31, 28
(list;
table;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,8


COMMENTS

See A048888 for the definition of ORnumbral arithmetic


LINKS

Table of n, a(n) for n=0..84.


EXAMPLE

3 (decimal) * 3 (decimal) = 11 (binary) * 11 (binary) = 110 (binary) OR 11 (binary) = 111 (binary) = 7 (decimal)


PROG

(PARI) t(n, k) = {res = 0; for (i=0, length(binary(n))1, if (bittest(n, i), res = bitor(res, shift(k, i))); ); return (res); } \\ Michel Marcus, Apr 14 2013


CROSSREFS

Cf. A003986, A067139, A048888, A007059.
Sequence in context: A063711 A057893 A048720 * A059692 A004247 A271916
Adjacent sequences: A067135 A067136 A067137 * A067139 A067140 A067141


KEYWORD

nonn,tabl


AUTHOR

Jens Voß, Jan 02 2002


STATUS

approved



