|
|
A112131
|
|
Concatenate the consecutive increasing numbers starting with Harshad(n) and ending with Harshad(n+1).
|
|
4
|
|
|
12, 23, 34, 45, 56, 67, 78, 89, 910, 101112, 12131415161718, 181920, 2021, 21222324, 24252627, 27282930, 30313233343536, 3637383940, 404142, 42434445, 45464748, 484950, 5051525354, 54555657585960, 60616263, 6364656667686970, 707172
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
EXAMPLE
|
a(11)=12131415161718 because the 11th Harshad is 12 and the 12th
is 18 and we concatenate those with the increasing numbers between.
|
|
MATHEMATICA
|
FromDigits[Flatten[IntegerDigits/@Range[#[[1]], #[[2]]]]]&/@Partition[ Select[ Range[80], Divisible[#, Total[IntegerDigits[#]]]&], 2, 1] (* Harvey P. Dale, Feb 10 2019 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|