OFFSET
1,1
MATHEMATICA
Table[FromDigits[Flatten[IntegerDigits/@PadRight[{}, 3, n]]], {n, 40}] (* Harvey P. Dale, Aug 10 2019 *)
PROG
(UBASIC)
10 cls
30 for I=1 to 100
40 A=str(I)
50 C=A+A+A
60 B=val(cutspc(C))
80 print B
90 next
100 end
(Magma) [Seqint(Intseq(n) cat Intseq(n) cat Intseq(n)): n in [1..46]]; // Vincenzo Librandi, Feb 21 2014
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Felice Russo, Sep 10 2002
STATUS
approved