login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A004642 Powers of 2 written in base 3. 6
1, 2, 11, 22, 121, 1012, 2101, 11202, 100111, 200222, 1101221, 2210212, 12121201, 102020102, 211110211, 1122221122, 10022220021, 20122210112, 111022121001, 222122012002, 1222021101011, 10221112202022, 21220002111121, 120210012000012, 1011120101000101, 2100010202000202 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

When n is odd, a(n) ends in 1, and when n is even, a(n) ends in 2, since 2^n is congruent to 1 mod 3 when n is odd and to 2 mod 3 when n is even. (From Alonso Delarte (alonso.delarte(AT)gmail.com) Dec 11 2009)

Sloane (1973) conjectured a(n) always has a 0 between the most and least significant digits if n > 15. This has been verified up to n = 10^5 (see A102483). (From Alonso del Arte, Feb 20 2011)

REFERENCES

Sloane, N. J. A. "The Persistence of a Number." J. Recr. Math. 6 (1973): 97 - 98

LINKS

Eric Weisstein's World of Mathematics, Ternary

MATHEMATICA

Table[FromDigits[IntegerDigits[2^n, 3]], {n, 25}] (* From Alonso Delarte (alonso.delarte(AT)gmail.com) Dec 11 2009 *)

CROSSREFS

Cf. A000079, Powers of 2 written in base 10.

Sequence in context: A162468 A118594 A018351 * A185545 A001032 A045386

Adjacent sequences:  A004639 A004640 A004641 * A004643 A004644 A004645

KEYWORD

nonn,base

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 05:45 EST 2012. Contains 205694 sequences.