Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A073785
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A073785 Numbers in base -3. +0
10
0, 1, 2, 120, 121, 122, 110, 111, 112, 100, 101, 102, 220, 221, 222, 210, 211, 212, 200, 201, 202, 12020, 12021, 12022, 12010, 12011, 12012, 12000, 12001, 12002, 12120, 12121, 12122, 12110, 12111, 12112, 12100, 12101, 12102, 12220, 12221, 12222 (list; graph; listen)
OFFSET

0,3

REFERENCES

D. E. Knuth, The Art of Computer Programming. Addison-Wesley, Reading, MA, 1969, Vol. 2, p. 189.

LINKS

Eric Weisstein's World of Mathematics, Link to a section of The World of Mathematics

Prepared and presented by Matthew Szudzik of Wolfram Research, A Mathematica programming contest

MATHEMATICA

ToNegaBases[i_Integer, b_Integer] := FromDigits[ Rest[ Reverse[ Mod[ NestWhileList[(#1 - Mod[ #1, b])/-b &, i, #1 != 0 &], b]]]]; Table[ ToNegaBases[n, 3], {n, 0, 45}]

CROSSREFS

Cf. A007089, A039724, A007608, A073786, A073787, A073788, A073789, A073790 & A039723.

Adjacent sequences: A073782 A073783 A073784 this_sequence A073786 A073787 A073788

Sequence in context: A013507 A103851 A024030 this_sequence A102355 A077540 A024343

KEYWORD

base,easy,nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Aug 11 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 October 13 20:18 EDT 2008. Contains 145016 sequences.


AT&T Labs Research