Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A097585
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A097585 Binary representation of n if n is prime, otherwise the ternary representation of n. +0
1
1, 10, 11, 11, 101, 20, 111, 22, 100, 101, 1011, 110, 1101, 112, 120, 121, 10001, 200, 10011, 202, 210, 211, 10111, 220, 221, 222, 1000, 1001, 11101, 1010, 11111, 1012, 1020, 1021, 1022, 1100, 100101, 1102, 1110, 1111, 101001, 1120, 101011, 1122, 1200 (list; graph; listen)
OFFSET

1,2

EXAMPLE

For n = 7 we have 111 or 7 in base 2. For 8 we have 22 which is 8 in base 3.

CROSSREFS

Sequence in context: A045988 A008947 A108787 this_sequence A063671 A162501 A123895

Adjacent sequences: A097582 A097583 A097584 this_sequence A097586 A097587 A097588

KEYWORD

base,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Aug 29 2004

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 30 13:13 EST 2009. Contains 167758 sequences.


AT&T Labs Research