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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A072593 In prime factorization of n replace multiplication with bitwise logical 'or'. 5
1, 2, 3, 2, 5, 3, 7, 2, 3, 7, 11, 3, 13, 7, 7, 2, 17, 3, 19, 7, 7, 11, 23, 3, 5, 15, 3, 7, 29, 7, 31, 2, 11, 19, 7, 3, 37, 19, 15, 7, 41, 7, 43, 11, 7, 23, 47, 3, 7, 7, 19, 15, 53, 3, 15, 7, 19, 31, 59, 7, 61, 31, 7, 2, 13, 11, 67, 19, 23, 7, 71, 3, 73, 39, 7, 19, 15, 15, 79, 7, 3, 43, 83 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

a(n) = a(A007947(n)); n is prime iff a(n)=n.

LINKS

Paul Tek, Table of n, a(n) for n = 1..10000

EXAMPLE

a(35) = a(5*7) = a(5) 'or' a(7) = '101' or '111' = '111' = 7.

PROG

(Haskell)

import Data.Bits (((.|.))

a072593 = foldl1 (.|.) . a027746_row  -- Reinhard Zumkeller, Jul 05 2013

CROSSREFS

Cf. A072591, A072594.

Cf. A027746.

Sequence in context: A145254 A163457 A285708 * A039635 A164858 A192330

Adjacent sequences:  A072590 A072591 A072592 * A072594 A072595 A072596

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller, Jun 23 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 February 19 14:31 EST 2018. Contains 299334 sequences. (Running on oeis4.)