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

 

Logo


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

0,3

LINKS

Reinhard Zumkeller, Rows n = 0..1000 of triangle, flattened

PROG

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

(Haskell)

a031087 n k = a031087_row n !! (k-1)

a031087_row n | n < 9     = [n]

              | otherwise = m : a031087_row n' where (n', m) = divMod n 9

a031087_tabf = map a031087_row [0..]

-- Reinhard Zumkeller, Jul 07 2015

CROSSREFS

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

Cf. A031076, A007095.

Sequence in context: A037887 A207505 A235049 * A010878 A257849 A190727

Adjacent sequences:  A031084 A031085 A031086 * A031088 A031089 A031090

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 | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 19 07:21 EDT 2018. Contains 316337 sequences. (Running on oeis4.)