|
Search: id:A007089
|
|
|
| A007089 |
|
Numbers in base 3. (Formerly M1960)
|
|
+0 83
|
|
| 0, 1, 2, 10, 11, 12, 20, 21, 22, 100, 101, 102, 110, 111, 112, 120, 121, 122, 200, 201, 202, 210, 211, 212, 220, 221, 222, 1000, 1001, 1002, 1010, 1011, 1012, 1020, 1021, 1022, 1100, 1101, 1102, 1110, 1111, 1112, 1120, 1121, 1122, 1200, 1201, 1202, 1210, 1211
(list; graph; listen)
|
|
|
OFFSET
|
0,3
|
|
|
COMMENT
|
Contribution from Rick L. Shepherd (rshepherd2(AT)hotmail.com), Jun 25 2009: (Start)
Nonnegative integers with no decimal digit > 2.
Thus nonnegative integers in base 10 whose quadrupling by normal addition or multiplication requires no carry operation. (End)
|
|
REFERENCES
|
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
|
|
LINKS
|
T. D. Noe, Table of n, a(n) for n = 1..10000
Author?, Tai Xuan Jing Symbols
|
|
FORMULA
|
a(0)=0 a(n)=10*a(n/3) if n==0 (mod 3) a(n)=a(n-1)+1 otherwise. - Benoit Cloitre, Dec 22, 2002
|
|
MATHEMATICA
|
Table[ FromDigits[ IntegerDigits[n, 3]], {n, 0, 50}]
|
|
PROGRAM
|
(PARI) a(n)=if(n<1, 0, if(n%3, a(n-1)+1, 10*a(n/3)))
|
|
CROSSREFS
|
Cf. A000042, A007088, A007090, A007091, A007092, A007093, A007094 & A007095.
Adjacent sequences: A007086 A007087 A007088 this_sequence A007090 A007091 A007092
Sequence in context: A165451 A121717 A106518 this_sequence A136820 A136810 A136821
|
|
KEYWORD
|
base,nonn,easy
|
|
AUTHOR
|
N. J. A. Sloane (njas(AT)research.att.com), Robert G. Wilson v (rgwv(AT)rgwv.com)
|
|
EXTENSIONS
|
More terms from James A. Sellers (sellersj(AT)math.psu.edu), May 01 2000
|
|
|
Search completed in 0.003 seconds
|