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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A067138 OR-numbral multiplication table. 5
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 OR-numbral 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

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 20 12:34 EDT 2018. Contains 316379 sequences. (Running on oeis4.)