cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A261907 Numbers that are the sum of two nonzero palindromes but are not palindromes themselves.

This page as a plain text file.
%I A261907 #13 Sep 14 2015 20:14:35
%S A261907 10,12,13,14,15,16,17,18,19,20,23,24,25,26,27,28,29,30,31,34,35,36,37,
%T A261907 38,39,40,41,42,45,46,47,48,49,50,51,52,53,56,57,58,59,60,61,62,63,64,
%U A261907 67,68,69,70,71,72,73,74,75,78,79,80,81,82,83,84,85,86,89,90,91,92,93,94,95,96,97,100,102,103,104,105,106,107,108,109,110,112
%N A261907 Numbers that are the sum of two nonzero palindromes but are not palindromes themselves.
%H A261907 N. J. A. Sloane, <a href="/A261907/b261907.txt">Table of n, a(n) for n = 1..7814</a>
%p A261907 # bP has a list of all palindromes (from A002113):
%p A261907 a3:={}; M:=60; M2:=bP[M];
%p A261907 for i from 2 to M do
%p A261907 for j from i to M do
%p A261907 k:=bP[i]+bP[j];
%p A261907 if k <= M2 and digrev(k) <> k then a3:={op(a3),k}; fi;
%p A261907 od: od:
%p A261907 b3:=sort(convert(a3,list));
%Y A261907 Equals A261906 \ A002113. Cf. A213879, A260255.
%K A261907 nonn,base
%O A261907 1,1
%A A261907 _N. J. A. Sloane_, Sep 09 2015