login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A171093 a(n) is the string of integers S(n) concatenated together with no commas, where S(1)=1; for even n, S(n) = S(n-1),n; and for odd n>1, S(n) is obtained by adding 1 to every entry of S(n-1) and appending 1. 1
1, 12, 231, 2314, 34251, 342516, 4536271, 45362718, 564738291, 56473829110, 6758493102111, 675849310211112, 78695104113122131, 7869510411312213114, 897106115124133142151, 89710611512413314215116 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
f[n_] := Block[{k, l}, If[ OddQ@ n, k = 2; l = {1}, k = 1; l = {}]; FromDigits@ Flatten@ Join[ Table[{IntegerDigits[ Floor[n/2] - j + k], IntegerDigits[n - Floor[n/2] + j]}, {j, Floor[n/2]}], l]]; Array[f, 16] (* Robert G. Wilson v, Sep 25 2010 *)
CROSSREFS
Sequence in context: A231448 A221657 A089370 * A089343 A303487 A280071
KEYWORD
nonn,base,easy
AUTHOR
N. J. A. Sloane, Sep 18 2010
EXTENSIONS
a(7) onwards from Robert G. Wilson v, Sep 25 2010
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)