login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


A104607
Write the natural numbers in base 3 in a triangle with k digits in the k-th row, as shown below. Sequence gives the leading diagonal.
15
1, 1, 1, 0, 1, 1, 1, 1, 2, 1, 2, 0, 1, 1, 0, 1, 1, 2, 0, 0, 1, 2, 0, 1, 1, 0, 0, 0, 1, 1, 1, 1, 2, 1, 1, 2, 0, 0, 2, 2, 1, 2, 1, 2, 2, 2, 0, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 2, 1, 2, 2, 1, 1, 2, 2, 1, 2, 0, 1, 2, 2, 2, 0, 2, 2, 1, 0, 2, 2, 2, 0, 1, 2, 2, 2, 2, 1, 1, 0, 1, 1, 2, 0, 1, 1, 0, 2, 0, 0, 0, 1, 1
OFFSET
1,9
COMMENTS
1
21
011
1220
21221
001011...
MATHEMATICA
t = Flatten[IntegerDigits[Range[1000], 3]]; t[[Table[n(n + 1)/2, {n, 105}]]]
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Mar 16 2005
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 22 22:15 EDT 2024. Contains 376140 sequences. (Running on oeis4.)