OFFSET
1,3
COMMENTS
How is this sequence obtained from the given formula? What values for k are used? In particular, how are the terms a(1)-a(10) obtained using this formula? Using an inner loop for m and an outer loop for k, starting at m=1 and k=1, one obtains the infinite subsequence starting 11, 22, 33, 44, .... - Felix Fröhlich, Jul 26 2014
Answer, maybe: The formula is only supposed to produce the terms with more than one digit? - N. J. A. Sloane, Jul 27 2014
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
The single-digit numbers, and then m*10^k + a where m is 1 to 9. [Revised by N. J. A. Sloane, Jul 27 2014]
MATHEMATICA
Join[Range[0, 9], 10#+First[IntegerDigits[#]]&/@Flatten[Table[FromDigits[PadRight[{d}, n, 0]], {n, 5}, {d, 9}]]] (* Harvey P. Dale, Oct 05 2023 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Jul 10 2005
EXTENSIONS
Corrected definition, fixed offset, extended. - David Wasserman, Oct 15 2008
0 added and name changed by Arkadiusz Wesolowski, Sep 07 2011
STATUS
approved