login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A331557 The upper (or right) offset of a 196-iterate (A006960) from the smallest palindrome greater than the iterate. 2
6, 1, 96, 11, 48, 11, 10, 693, 732, 231, 110, 10901, 10901, 5600, 1100, 110, 1000, 12375, 108911, 96416, 99901, 470118, 110, 1089011, 999074, 110000, 2508495, 109901, 1770356, 11, 40076938, 99110000, 10901000, 56662095, 9911, 137056546, 1099890110, 545350309 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
When normalized over (0,1) by their respective palindrome-free interval about a 196-iterate, it has been empirically observed that the frequency distribution of this sequence appears to be quite symmetric about 0.5, as well as fractal when plotting the distribution over decreasing bin sizes.
The 196-iterates referred to here come from the reverse-and-add process generating A006960.
LINKS
FORMULA
a(n) = A331560(n) - A331556(n).
EXAMPLE
The first term is 6 since 202-196 = 6;
The second term is 1 since 888-887 = 1; etc.
PROG
(Python)
# Upper 196 offsets. Slow brute force
n = 196
while n < 10**15:
m = n
while m != int(str(m)[::-1]): m+=1
print(m-n)
n = n + int(str(n)[::-1])
CROSSREFS
Sequence in context: A343622 A318107 A365908 * A352058 A303675 A266302
KEYWORD
nonn,base
AUTHOR
James D. Klein, Jan 20 2020
EXTENSIONS
More terms from Jinyuan Wang, Feb 29 2020
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 2 18:33 EST 2024. Contains 370498 sequences. (Running on oeis4.)