Number of terms (including the initial term) needed to reach a palindrome when the Reverse Then Add! map (x -> x + (x-with-digits-reversed)) is repeatedly applied to n, or -1 if a palindrome is never reached.
A030547
Number of terms (including the initial term) needed to reach a palindrome when the Reverse Then Add! map (x -> x + (x-with-digits-reversed)) is repeatedly applied to n, or -1 if a palindrome is never reached.
Terms
- a(0) =1a(1) =1a(2) =1a(3) =1a(4) =1a(5) =1a(6) =1a(7) =1a(8) =1a(9) =2a(10) =1a(11) =2a(12) =2a(13) =2a(14) =2a(15) =2a(16) =2a(17) =2a(18) =3a(19) =2a(20) =2a(21) =1a(22) =2a(23) =2a(24) =2a(25) =2a(26) =2a(27) =3a(28) =2a(29) =2
External references
- oeis: A030547