OFFSET
1,1
COMMENTS
LINKS
Karl Hovekamp, Jan 01 2007, Table of n, a(n) for n = 1..55
K. Hovekamp, Palindromic numbers [Broken link?]
EXAMPLE
a(4) = 191 because 191 base 6 = 515, 191 base 9 = 232, 191 base 10 = 191 and 191 base 190 = 11, all palindromes. No numbers less than 191 can be represented in 4 such ways.
a(12) = 54121 because 54121 is a palindrome in 12 different bases, including base 1 and base 54120.
PROG
(PARI) q=1; forprime(m=3, 20000, count=0; for(b=2, m-1, w=b+1; k=0; i=m; while(i>0, k=k*w+i%b; i=floor(i/b)); l=0; j=k; while(j>0, l=l*w+j%w; j=floor(j/w)); if(l==k, count=count+1, ); if(count>q, print1(m, ", "); q=count, )))
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Randy L. Ekl, Oct 17 2003
EXTENSIONS
More terms from David Wasserman, Jun 20 2005
Terms a(17)-a(22) computed by Karl Hovekamp, sent by David Wasserman, Dec 19 2006
More terms from Karl Hovekamp, Jan 01 2007
STATUS
approved