login
A065217
Numbers which need 12 'Reverse and Add' steps to reach a palindrome.
4
2069, 2159, 2249, 2339, 2429, 2519, 2609, 2699, 2789, 2879, 2969, 3068, 3158, 3248, 3338, 3428, 3518, 3608, 3698, 3788, 3878, 3968, 4067, 4157, 4247, 4337, 4427, 4517, 4607, 4697, 4787, 4877, 4967, 5066, 5156, 5246, 5336, 5426, 5516, 5606, 5696, 5786
OFFSET
1,1
COMMENTS
The number of steps starts at 0, so palindromes (cf. A002113) are excluded. This sequence coincides with the corresponding sequence not excluding palindromes (A015993) for the entries shown in the database. The first divergence occurs at 10901.
Numbers k such that A033665(k) = 12. - Andrew Howroyd, Dec 06 2024
PROG
(PARI) isok(n, s=12)={for(k=0, s, my(r=fromdigits(Vecrev(digits(n)))); if(r==n, return(k==s)); n += r); 0} \\ Andrew Howroyd, Dec 06 2024
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Klaus Brockhaus, Oct 21 2001
EXTENSIONS
Offset changed from 0 to 1 by Harry J. Smith, Oct 14 2009
STATUS
approved