The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A089369 Begin with n and place (n-1) on the least significant side, place (n-2) on the most significant side and so on until a 1 is placed. 1
 1, 21, 132, 2431, 13542, 246531, 1357642, 24687531, 135798642, 24681097531, 1357911108642, 246810121197531, 13579111312108642, 2468101214131197531, 135791113151412108642, 24681012141615131197531 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS EXAMPLE a(6)= 246531, the steps are 6 -> 65 -> 465 -> 4653 -> 24653 -> 246531. MATHEMATICA f[n_] := Block[{j = 1, k = n - 1, d = IntegerDigits[n]}, While[k > 0, If[ EvenQ[j], d = Join[ IntegerDigits[k], d], d = Join[d, IntegerDigits[k]]]; j++; k-- ]; FromDigits[d]]; Table[ f[n], {n, 17}] CROSSREFS Cf. A089370. Sequence in context: A008384 A110400 A308348 * A328861 A243201 A264554 Adjacent sequences:  A089366 A089367 A089368 * A089370 A089371 A089372 KEYWORD base,easy,nonn AUTHOR Amarnath Murthy, Nov 08 2003 EXTENSIONS More terms from Robert G. Wilson v, Nov 08 2003 STATUS approved

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

Last modified May 14 19:53 EDT 2021. Contains 343903 sequences. (Running on oeis4.)