OFFSET
1,5
COMMENTS
Based on a search limit of 5*10^9 up to n = 300000 the values of n for which no a(n) is found are n = 1,2,3,4. This is likely the complete list of values for which a(n) = -1.
The longest run of consecutive terms with the same value in the first 300000 terms is the run of 5's at the beginning of the sequence, ten in all. This is likely the longest run for all numbers.
Numerous patterns exist in the values of a(n), e.g., when a(n) consists of all 9's and n is not a power of 10 then n is palindromic.
LINKS
Scott R. Shannon, Image of the terms for n = 5..300000. It is possible the frame-like pattern continues to larger and larger scales resulting in a fractal structure.
EXAMPLE
a(5) = 5 as 5+5 = 10 which contains reverse(5-5) = reverse(0) = 0 as a substring.
a(6) = 5 as 6+5 = 11 which contains reverse(6-5) = reverse(1) = 1 as a substring.
a(15) = 10 as 15+10 = 25 which contains reverse(15-10) = reverse(5) = 5 as a substring.
a(22) = 9 as 22+9 = 31 which contains reverse(22-9) = reverse(13) = 31 as a substring.
CROSSREFS
KEYWORD
AUTHOR
Scott R. Shannon, Feb 02 2021
STATUS
approved