[go: up one dir, main page]

login
A065214
Numbers n such that nine 'Reverse and Add' steps are needed to reach a palindrome.
3
1397, 1487, 1577, 1667, 1757, 1847, 1937, 2396, 2486, 2576, 2666, 2756, 2846, 2936, 2999, 3395, 3485, 3575, 3665, 3755, 3845, 3935, 3998, 4394, 4484, 4574, 4754, 4844, 4934, 4997, 5393, 5483, 5573, 5663, 5753, 5843, 5933, 5996, 6392, 6482, 6572
OFFSET
1,1
COMMENTS
The number of steps starts at 0, so palindromes (cf. A002113) are excluded.
MATHEMATICA
lenQ[n_]:= Length[NestWhileList[# + FromDigits[Reverse[IntegerDigits[#]]]&, n, #!= FromDigits[Reverse[IntegerDigits[#]]]&, 1, 10]] == 10; Select[Range[1000], lenQ] (* Vincenzo Librandi, Sep 24 2013 *)
CROSSREFS
Cf. A002113, A065206. Different from A015990.
Sequence in context: A163054 A110844 A015990 * A336738 A271549 A203918
KEYWORD
nonn,base
AUTHOR
Klaus Brockhaus, Oct 21 2001
STATUS
approved