Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A100813
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A100813 Smallest number in base 2 which is also prime in base 2+n, or 0 if no such number exists. +0
1
10, 11, 10, 11, 10, 111, 1011, 11, 10, 11, 10, 101, 111, 11, 10, 11, 10, 101, 111, 11, 10, 101, 111011, 101, 111, 11, 10, 11, 10, 1011, 111, 10001, 1101, 11, 10, 111, 1011, 11, 10, 11, 10, 1011, 1101, 11, 10, 1011, 1100111, 111, 101001, 11 (list; graph; listen)
OFFSET

1,1

EXAMPLE

a(6)=111: 111(base 2) = 7, which is prime; 111 (base 2+6) = 73, which is prime.

MATHEMATICA

a = {}; Do[ k = 1; While[ ! PrimeQ[FromDigits[IntegerDigits[Prime[k], 2], 2 + n]], k++ ]; AppendTo[a, FromDigits[IntegerDigits[Prime[k], 2], 10]]; , {n, 50}]; a (Chandler)

CROSSREFS

Sequence in context: A004499 A020509 A103181 this_sequence A085209 A085217 A085210

Adjacent sequences: A100810 A100811 A100812 this_sequence A100814 A100815 A100816

KEYWORD

base,nonn

AUTHOR

Ray G. Opao (1260(AT)email.com), Jan 05 2005

EXTENSIONS

Corrected and extended by Ray Chandler (rayjchandler(AT)sbcglobal.net), Jan 10 2005

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 July 26 13:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research