|
| |
|
|
A073786
|
|
Numbers in base -5.
|
|
9
| |
|
|
0, 1, 2, 3, 4, 140, 141, 142, 143, 144, 130, 131, 132, 133, 134, 120, 121, 122, 123, 124, 110, 111, 112, 113, 114, 100, 101, 102, 103, 104, 240, 241, 242, 243, 244, 230, 231, 232, 233, 234, 220, 221, 222, 223, 224, 210, 211, 212, 213, 214, 200, 201, 202, 203
(list; graph; refs; listen; history; internal format)
|
|
|
|
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, 5], {n, 0, 55}]
|
|
|
CROSSREFS
| Cf. A007091, A039724, A073785, A007608, A073787, A073788, A073789, A073790 & A039723.
Sequence in context: A001095 A004866 A062930 * A127280 A037433 A085933
Adjacent sequences: A073783 A073784 A073785 * A073787 A073788 A073789
|
|
|
KEYWORD
| base,easy,nonn
|
|
|
AUTHOR
| Robert G. Wilson v (rgwv(AT)rgwv.com), Aug 11 2002
|
| |
|
|