login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A097157 Number of iterations of f(x) = reverse(x) - maxdigit(x) needed for the numbers in A097155 to reach 89. 5
0, 1, 2, 7, 5, 6, 4, 5, 3, 4, 1, 2, 3, 2, 13, 11, 10, 7, 9, 7, 8, 10, 10, 12, 18, 19, 7, 9, 7, 8, 8, 8, 10, 1, 0, 16, 17, 10, 5, 5, 8, 6, 8, 8, 14, 15, 9, 6, 8, 12, 13, 9, 7, 6, 8, 7, 6, 9, 6, 10, 11, 8, 10, 8, 9, 7, 11, 9, 7, 4, 7, 5, 4, 8, 9, 8, 6, 8, 9, 7, 11, 9, 3, 5, 3, 7, 6, 6, 7, 6, 8, 6, 7, 5, 9 (list; graph; refs; listen; history; internal format)
OFFSET

1,3

COMMENTS

89 is the first number that will not reach zero under iteration of f(x) = reverse(x) - maxdigit(x) since 98-9=89. It is conjectured that 0 and 89 are the only fixed points of f.

EXAMPLE

a(4)=7 because A097155(4)=2125 and 2125 -> 5207 -> 7018 -> 8099 -> 9899 -> 9980 -> 890 -> 89 takes 7 steps to reach 89.

CROSSREFS

Cf. A097153, A097154, A097155, A097156, A097158.

Sequence in context: A195070 A151856 A019825 * A181320 A195450 A079833

Adjacent sequences:  A097154 A097155 A097156 * A097158 A097159 A097160

KEYWORD

base,easy,nonn

AUTHOR

Jason Earls (zevi_35711(AT)yahoo.com), Aug 01 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 11:36 EST 2012. Contains 205623 sequences.