A068061 Palindromic numbers j that are not of the form k + reverse(k) for any k.
1, 3, 5, 7, 9, 111, 131, 151, 171, 191, 212, 232, 252, 272, 292, 313, 333, 353, 373, 393, 414, 434, 454, 474, 494, 515, 535, 555, 575, 595, 616, 636, 656, 676, 696, 717, 737, 757, 777, 797, 818, 838, 858, 878, 898, 919, 939, 959, 979, 999, 10101, 10301, 10501
Offset: 1
Examples
9 belongs to this sequence, since there is no k such that k + reverse(k) = 9 (cf. A067031).
Links
- Michel Marcus, Table of n, a(n) for n = 1..500
Programs
-
PARI
isok(n) = {if (Pol(d=digits(n)) == Polrev(d), for (k=1, n-1, if (k + fromdigits(Vecrev(digits(k))) == n, return (0));); 1;);} \\ Michel Marcus, Mar 12 2017
Comments