Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #11 Sep 18 2018 10:50:19
%S 0,1,2,3,4,5,6,7,8,9,9,11,11,11,11,11,11,11,11,11,11,0,22,22,22,22,22,
%T 22,22,22,22,22,0,33,33,33,33,33,33,33,33,33,33,0,44,44,44,44,44,44,
%U 44,44,44,44,0,55,55,55,55,55,55,55,55,55,55,0,66,66,66,66,66,66,66,66,66,66,0,77,77,77,77,77,77
%N Largest palindrome p such that n-p is again a palindrome, or 0 if no such p exists.
%H Markus Sigg, <a href="/A262087/b262087.txt">Table of n, a(n) for n = 0..10000</a>
%F a(n) = 0 for n in {0} union A035137.
%o (PARI) a(N,P=A261423(N))=until(N<2*P=A261423(P-1),is_A002113(N-P)&&return(P))
%Y Cf. A261423, A002113, A035137.
%K nonn,base
%O 0,3
%A _M. F. Hasler_, Sep 10 2015