Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A072138
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A072138 Smallest k whose 'Reverse and Subtract' trajectory has a preperiodic part of length n. +0
3
0, 1, 10, 16, 14, 15, 13, 1011, 1017, 1037, 1027, 1014, 1013, 1028, 100113, 100104, 100145, 100134, 100103, 100112, 100133, 100187, 100114, 100128, 100194, 100107, 100307, 100277, 100413, 100345, 100429, 100215, 100427, 100214, 100433, 100335 (list; graph; listen)
OFFSET

0,3

COMMENT

'Reverse and Subtract' (cf. A072137) is defined by x -> |x - reverse(x)|. For small n the last term of the preperiodic part of the trajectory (cf. A072139) is a palindrome, so this sequence is a weak analogue of A033665, which uses 'Reverse and Add'. - 1012 is the first n such that last term of the preperiodic part is not palindromic (cf. A072140).

EXAMPLE

a(8) = 1017, since 1017 is the smallest number whose 'Reverse and Subtract' trajectory has eight preperiodic terms: 1017 -> 6084 -> 1278 -> 7443 -> 3996 -> 2997 -> 4995 -> 999.

CROSSREFS

Cf. A033665, A072137, A072139, A072140, A072146.

Sequence in context: A114703 A134515 A072968 this_sequence A109891 A104869 A104868

Adjacent sequences: A072135 A072136 A072137 this_sequence A072139 A072140 A072141

KEYWORD

base,nonn

AUTHOR

Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Jun 24 2002

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified August 19 23:53 EDT 2008. Contains 142930 sequences.


AT&T Labs Research