This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A179635 Median of the digits in n (rounding down) 1
 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 0, 0, 0, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS EXAMPLE Function selects the middle digit in n or, for even numbers, the digit to the left of the middle. a(1)= a(12)=1 a(123)=2 a(1234)=2 MATHEMATICA f[n_] := IntegerDigits[n] [[Floor[ (Log[10, n] + 2)/2]]]; Array[f, 105] (* Robert G. Wilson v, Jul 25 2010 *) CROSSREFS Cf. A179636. - Robert G. Wilson v, Jul 25 2010 Sequence in context: A126616 A121042 A000030 * A216587 A174210 A134777 Adjacent sequences:  A179632 A179633 A179634 * A179636 A179637 A179638 KEYWORD easy,nonn,base AUTHOR Dominick Cancilla, Jul 21 2010 EXTENSIONS More terms from Robert G. Wilson v, Jul 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 | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified October 15 13:52 EDT 2018. Contains 316236 sequences. (Running on oeis4.)