OFFSET
0,3
MATHEMATICA
Flatten[Table[Reverse[IntegerDigits[n, 7]], {n, 0, 50}]] (* Harvey P. Dale, Feb 25 2014 *)
PROG
(PARI) A031007(n, k=-1)={k<0&&error("Flattened sequence not yet implemented."); n\7^k%7} \\ Assuming that columns start with k=0 as in A030308, A030341, ... TO DO: implement flattened sequence, such that A030567(n)=a(n). - M. F. Hasler, Jul 21 2013
CROSSREFS
KEYWORD
nonn,base,tabf,less
AUTHOR
EXTENSIONS
Initial 0 and better name by Philippe Deléham, Oct 20 2011
STATUS
approved