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!)
A068636 a(n) = Min(n, R(n)), where R(n) (A004086) = digit reversal of n. 3
1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 11, 12, 13, 14, 15, 16, 17, 18, 19, 2, 12, 22, 23, 24, 25, 26, 27, 28, 29, 3, 13, 23, 33, 34, 35, 36, 37, 38, 39, 4, 14, 24, 34, 44, 45, 46, 47, 48, 49, 5, 15, 25, 35, 45, 55, 56, 57, 58, 59, 6, 16, 26, 36, 46, 56, 66, 67, 68, 69, 7, 17, 27, 37, 47, 57 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(n) = A004185(n) for n <= 100. - Reinhard Zumkeller, Apr 03 2015
LINKS
EXAMPLE
a(12) = min(12,21) = 12. a(34632) = min(34632,23643) = 23643.
MAPLE
a:= n-> min(n, (s-> parse(cat(seq(s[-i], i=1..length(s)))))(""||n)):
seq(a(n), n=1..100); # Alois P. Heinz, Aug 22 2015
MATHEMATICA
Table[Min[n, IntegerReverse[n]], {n, 80}] (* The program uses the IntegerReverse function from Mathematica version 10 *) (* Harvey P. Dale, Nov 27 2015 *)
PROG
(Haskell)
a068636 n = min n $ a004086 n -- Reinhard Zumkeller, Apr 03 2015
CROSSREFS
Sequence in context: A364362 A059717 A004185 * A328131 A004719 A004151
KEYWORD
base,easy,nonn,look,hear
AUTHOR
Amarnath Murthy, Feb 27 2002
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 25 07:07 EDT 2024. Contains 371964 sequences. (Running on oeis4.)