|
|
A171094
|
|
a(n) is the string of integers S(n) concatenated together with no commas, where S(1)=1; for even n, S(n) is obtained from S(n-1) by inserting n after 1; and for odd n>1, S(n) = n,S(n-1).
|
|
0
|
|
|
1, 12, 312, 3142, 53142, 531642, 7531642, 75318642, 975318642, 97531108642, 1197531108642, 119753112108642, 13119753112108642, 1311975311412108642, 151311975311412108642, 15131197531161412108642
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
MATHEMATICA
|
f[n_] := FromDigits@ Flatten[ IntegerDigits /@ Reverse[{2 Range[n/2], 2 Range[(n + 1)/2] - 1}, {1, 2}]]; Array[f, 16] (* Robert G. Wilson v, Sep 18 2010 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|