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

 

Logo

Invitation: celebrating 50 years of OEIS, 250000 sequences, and Sloane's 75th, there will be a conference at DIMACS, Rutgers, Oct 9-10 2014.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A030386 Triangle T(n,k): write n in base 4, reverse order of digits. 22
0, 1, 2, 3, 0, 1, 1, 1, 2, 1, 3, 1, 0, 2, 1, 2, 2, 2, 3, 2, 0, 3, 1, 3, 2, 3, 3, 3, 0, 0, 1, 1, 0, 1, 2, 0, 1, 3, 0, 1, 0, 1, 1, 1, 1, 1, 2, 1, 1, 3, 1, 1, 0, 2, 1, 1, 2, 1, 2, 2, 1, 3, 2, 1, 0, 3, 1, 1, 3, 1, 2, 3, 1, 3, 3, 1, 0, 0, 2, 1, 0, 2, 2, 0, 2, 3, 0, 2, 0, 1, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

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

EXAMPLE

Triangle begins:

0

1

2

3

0, 1

1, 1

2, 1

3, 1

0, 2

1, 2

2, 2

3, 2

0, 3

1, 3

2, 3

3, 3

0, 0, 1

1, 0, 1 ... - Philippe Deléham, Oct 20 2011

MATHEMATICA

Flatten[Table[Reverse[IntegerDigits[n, 4]], {n, 0, 50}]] (* Harvey P. Dale, Oct 13 2012 *)

PROG

(PARI) A030386(n, k=-1)=/*k<0&&error("Flattened sequence not yet implemented.")*/n\4^k%4 \\ Assuming that columns are numbered starting with k=0 as in A030308, A030341, ... - M. F. Hasler, Jul 21 2013

CROSSREFS

Cf. A030308, A030341, A031235, A030567, A031007, A031045, A031087, A031298 for the base-2 to base-10 analogs.

Sequence in context: A135814 A038570 A103498 * A096799 A243081 A106728

Adjacent sequences:  A030383 A030384 A030385 * A030387 A030388 A030389

KEYWORD

nonn,base,tabf,less

AUTHOR

Clark Kimberling

EXTENSIONS

Initial 0 and better name by Philippe Deléham, Oct 20 2011.

STATUS

approved

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

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

Last modified October 1 23:55 EDT 2014. Contains 247527 sequences.