%I A007089 M1960
%S A007089 0,1,2,10,11,12,20,21,22,100,101,102,110,111,112,120,121,122,200,201,202,
%T A007089 210,211,212,220,221,222,1000,1001,1002,1010,1011,1012,1020,1021,1022,
%U A007089 1100,1101,1102,1110,1111,1112,1120,1121,1122,1200,1201,1202,1210,1211
%N A007089 Numbers in base 3.
%C A007089 Contribution from Rick L. Shepherd (rshepherd2(AT)hotmail.com), Jun 25
2009: (Start)
%C A007089 Nonnegative integers with no decimal digit > 2.
%C A007089 Thus nonnegative integers in base 10 whose quadrupling by normal addition
or multiplication requires no carry operation. (End)
%D A007089 N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences,
Academic Press, 1995 (includes this sequence).
%H A007089 T. D. Noe, <a href="b007089.txt">Table of n, a(n) for n = 1..10000</a>
%H A007089 Author?, <a href="http://www.unicode.org/charts/PDF/Unicode-4.0/U40-1D300.pdf">
Tai Xuan Jing Symbols</a>
%F A007089 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
%t A007089 Table[ FromDigits[ IntegerDigits[n, 3]], {n, 0, 50}]
%o A007089 (PARI) a(n)=if(n<1,0,if(n%3,a(n-1)+1,10*a(n/3)))
%Y A007089 Cf. A000042, A007088, A007090, A007091, A007092, A007093, A007094 & A007095.
%Y A007089 Sequence in context: A165451 A121717 A106518 this_sequence A136820 A136810
A136821
%Y A007089 Adjacent sequences: A007086 A007087 A007088 this_sequence A007090 A007091
A007092
%K A007089 base,nonn,easy
%O A007089 0,3
%A A007089 N. J. A. Sloane (njas(AT)research.att.com), Robert G. Wilson v (rgwv(AT)rgwv.com)
%E A007089 More terms from James A. Sellers (sellersj(AT)math.psu.edu), May 01 2000
|