|
|
|
|
#23 by Alois P. Heinz at Wed Jan 23 17:04:11 EST 2019
|
|
|
|
#22 by Michel Marcus at Wed Jan 23 14:51:02 EST 2019
|
|
|
|
#21 by Michel Marcus at Wed Jan 23 14:50:58 EST 2019
|
| 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
|
| EXTENSIONS
|
Initial 0 and better name by Philippe Deléham, Oct 20 2011.
|
| STATUS
|
approved
editing
|
|
|
|
#20 by Reinhard Zumkeller at Tue Jul 07 12:52:27 EDT 2015
|
|
|
|
#19 by Reinhard Zumkeller at Tue Jul 07 10:19:12 EDT 2015
|
| REFERENCES
|
Cf. A030308, A030341, A030386, A031235, A030567, A031007, A031045, A031298 for the base-2 to base-10 analogs.
|
| LINKS
|
Reinhard Zumkeller, <a href="/A031087/b031087.txt">Table of n, a(n) forRows n = 0..31841000 of triangle, flattened</a>
|
| PROG
|
(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.
|
|
|
|
#18 by Reinhard Zumkeller at Tue Jul 07 10:16:57 EDT 2015
|
| LINKS
|
Reinhard Zumkeller, <a href="/A031087/b031087.txt">Table of n, a(n) for n = 0..3184</a>
|
| STATUS
|
approved
editing
|
|
|
|
#17 by N. J. A. Sloane at Sun Sep 08 19:59:05 EDT 2013
|
| EXTENSIONS
|
Initial 0 and better name by _Philippe Deléham, _, Oct 20 2011.
|
|
|
Discussion
|
Sun Sep 08
| 19:59
| OEIS Server: https://oeis.org/edit/global/1941
|
|
|
|
#16 by Bruno Berselli at Mon Jul 22 03:01:19 EDT 2013
|
|
|
|
#15 by M. F. Hasler at Mon Jul 22 00:05:57 EDT 2013
|
|
|
|
#14 by M. F. Hasler at Sun Jul 21 21:34:29 EDT 2013
|
| 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
|
|
|
|