VOOZH about

URL: https://oeis.org/A377191

⇱ A377191 - OEIS


login
A377191
Smallest number of digits that must be changed in n to obtain a palindrome (without changing the first digit to 0).
1
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0
OFFSET
0,1011
COMMENTS
The sequence is unbounded, with a(n) = k first occurring at n = A377192(k).
FORMULA
a(A002113(n)) = 0, a(A029742(n)) > 0.
a(n) = 0 iff A136522(n) = 1, a(n) > 0 iff A136522(n) = 0.
EXAMPLE
a(12) = 1 because 12 is not a palindrome, but changing 1 digit appropriately (either the first or second in this case) yields a palindrome.
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Franz Vrabec, Oct 19 2024
STATUS
approved