Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A078833
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A078833 Greatest prime contained as binary substring in binary representation of n>1, a(1)=1. +0
3
1, 2, 3, 2, 5, 3, 7, 2, 2, 5, 11, 3, 13, 7, 7, 2, 17, 2, 19, 5, 5, 11, 23, 3, 3, 13, 13, 7, 29, 7, 31, 2, 2, 17, 17, 2, 37, 19, 19, 5, 41, 5, 43, 11, 13, 23, 47, 3, 17, 3, 19, 13, 53, 13, 23, 7, 7, 29, 59, 7, 61, 31, 31, 2, 2, 2, 67, 17, 17, 17, 71, 2, 73, 37, 37, 19, 19, 19, 79, 5, 17 (list; graph; listen)
OFFSET

1,2

COMMENT

a(n) = A039634(n) for n<=44, but a(45)=13<>11=A039634(45);

for n>1: a(n) = n iff n is prime.

EXAMPLE

n=12 -> '1100' contains 2 binary substrings which are primes: '11' (11bb) and '10' (b11b), 3='11' is the greater one, therefore a(12)=3.

CROSSREFS

Cf. A078832, A078826, A078822, A007088, A006530.

Sequence in context: A130088 A078834 A039634 this_sequence A109674 A067629 A079870

Adjacent sequences: A078830 A078831 A078832 this_sequence A078834 A078835 A078836

KEYWORD

nonn,base

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Dec 08 2002

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research