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.

A244541 Numbers n such that n +/- the product of digits of n are both palindromes.

This page as a plain text file.
%I A244541 #4 Jun 29 2014 22:09:02
%S A244541 1,2,3,4,101,202,247,252,303,348,404,505,606,707,808,843,909,1001,
%T A244541 2002,3003,4004,5005,6006,7007,8008,9009,10001,10101,10201,10301,
%U A244541 10401,10501,10601,10701,10801,10901,11011,12021,13031,14041,15051,15451,16061,17071,18081,19091,20002
%N A244541 Numbers n such that n +/- the product of digits of n are both palindromes.
%e A244541 252 + 2*5*2 = 272, a palindrome, and 252 - 2*5*2 = 232, also a palindrome. Thus 252 is a member of this sequence.
%o A244541 (PARI) rev(n)={r="";for(i=1,#digits(n),r=concat(Str(digits(n)[i]),r));return(eval(r))}
%o A244541 for(n=1,10^5,dig=digits(n);p=prod(k=1,#dig,dig[k]);mi=n-p;ma=n+p;if(rev(mi)==mi&&rev(ma)==ma,print1(n,", ")))
%Y A244541 Cf. A007954, A229546, A229547.
%K A244541 nonn,base
%O A244541 1,2
%A A244541 _Derek Orr_, Jun 29 2014