login
Number of distinct palindromes contained as substrings in the decimal representation of n.
5

%I #11 Jun 20 2018 06:54:01

%S 1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,

%T 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,

%U 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3

%N Number of distinct palindromes contained as substrings in the decimal representation of n.

%H Reinhard Zumkeller, <a href="/A262190/b262190.txt">Table of n, a(n) for n = 0..10000</a>

%H <a href="/index/Pac#palindromes">Index entries for sequences related to palindromes</a>

%F a(n) = A055642(n) for n < 100 = A262198(1);

%F a(n) != A055642(n) iff n is in A262198.

%o (Haskell) a262190 = length . a262188_row

%o (PARI) A262190(n)=#A262188_row(n) \\ _M. F. Hasler_, Jun 19 2018

%Y Length of row n in table A262188.

%Y Cf. A055642, A262198.

%K nonn,base

%O 0,11

%A _Reinhard Zumkeller_, Sep 14 2015

%E Edited by _M. F. Hasler_, Jun 19 2018