Annual appeal: Please make a donation to keep the OEIS running! Over 6000 articles have referenced us, often saying "we discovered this result with the help of the OEIS". Other ways to donate
1,5
Palindromes themselves are also 'Reverse and Add!'ed !
It is conjectured that a(196) = -1 - see A006860, A023108.
T. D. Noe, Table of n, a(n) for n=1..195
Index entries for sequences related to Reverse and Add!
J. Walker, Three Years Of Computing: Final Report On The Palindrome Quest
6 -> 6 + 6 = 12 -> 12 + 21 = 33 is palindromic, took 2 steps so a(6)=2.
tol = 1000; r[n_] := FromDigits[Reverse[IntegerDigits[n]]]; palQ[n_] := n == r[n]; ar[n_] := n + r[n]; Table[k = 0; If[palQ[n], n = ar[n]; k = 1]; While[! palQ[n] && k < tol, n = ar[n]; k++]; If[k == tol, k = -1]; k, {n, 98}] (* Jayanta Basu, Jul 11 2013 *)
Cf. A033665, A023109, A006960.
Sequence in context: A037806 A038082 A107740 * A063059 A214564 A102675
Adjacent sequences: A016013 A016014 A016015 * A016017 A016018 A016019
nonn,base,nice
Robert G. Wilson v
approved