OFFSET
1,2
COMMENTS
1
23
456
1011
12131
415162...
MATHEMATICA
t = Flatten[ IntegerDigits[ Range[1500], 7]]; t[[Table[n(n + 1)/2, {n, 105}]]]
Module[{d = Flatten[Table[IntegerDigits[n, 7], {n, 2000}]]}, TakeList[ d, Range[(Sqrt[8*Length[d] + 1] - 1)/2]]][[All, -1]] (* Requires Mathematica version 11 or later *) (* Harvey P. Dale, Jul 09 2020 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Mar 16 2005
STATUS
approved