login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A265209 Irregular triangle read by rows in which row n lists the base-3 digits of 2^n, n >= 0. 2
1, 2, 1, 1, 2, 2, 1, 2, 1, 1, 0, 1, 2, 2, 1, 0, 1, 1, 1, 2, 0, 2, 1, 0, 0, 1, 1, 1, 2, 0, 0, 2, 2, 2, 1, 1, 0, 1, 2, 2, 1, 2, 2, 1, 0, 2, 1, 2, 1, 2, 1, 2, 1, 2, 0, 1, 1, 0, 2, 0, 2, 0, 1, 0, 2, 2, 1, 1, 1, 1, 0, 2, 1, 1, 1, 1, 2, 2, 2, 2, 1, 1, 2, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

The length of row n is A020915(n) = 1 + A136409(n).

LINKS

Table of n, a(n) for n=0..83.

EXAMPLE

Triangle begins:

  1

  2

  1  1

  2  2

  1  2  1

  1  0  1  2

  2  1  0  1

  1  1  2  0  2

  1  0  0  1  1  1

  2  0  0  2  2  2

  1  1  0  1  2  2  1

  2  2  1  0  2  1  2

  1  2  1  2  1  2  0  1

  1  0  2  0  2  0  1  0  2

  2  1  1  1  1  0  2  1  1

  1  1  2  2  2  2  1  1  2  2

MATHEMATICA

(* Replace Flatten with Grid to display the triangle: *)

Flatten[Table[IntegerDigits[2^n, 3], {n, 0, 15}]]

PROG

(PARI) for(n=0, 15, for(k=1, #digits(2^n, 3), print1(digits(2^n, 3)[k], ", "))) \\ Derek Orr, Dec 24 2015

CROSSREFS

Cf. A000079 (powers of 2), A003137, A004642 (powers of 2 written in base 3).

Cf. A265210 (base 3 digits of 2^n in reverse order).

Sequence in context: A176261 A264837 A264714 * A202340 A049705 A060236

Adjacent sequences:  A265206 A265207 A265208 * A265210 A265211 A265212

KEYWORD

nonn,tabf,base

AUTHOR

L. Edson Jeffery, Dec 04 2015

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 21 21:30 EST 2020. Contains 331128 sequences. (Running on oeis4.)