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.

A214423 Numbers n palindromic in only one base b, 2 <= b <= 10.

Original entry on oeis.org

11, 12, 13, 14, 22, 23, 25, 29, 30, 32, 34, 35, 37, 38, 41, 42, 43, 44, 48, 49, 54, 56, 59, 60, 61, 62, 64, 66, 68, 70, 71, 72, 74, 77, 81, 83, 86, 89, 97, 101, 112, 113, 117, 118, 123, 124, 125, 126, 128, 131, 136, 138, 145, 146, 148, 153, 156, 157, 161
Offset: 1

Views

Author

T. D. Noe, Jul 18 2012

Keywords

Comments

The base for which n is a palindrome is given in A214427.

Examples

			11 is palindromic only in base 10.
		

Crossrefs

Cf. A050813, A214424, A214425, A214426 (palindromic in 0, 2-4 bases)

Programs

  • Mathematica
    n = -1; t = {}; While[Length[t] < 100, n++; If[Count[Table[s = IntegerDigits[n, m]; s == Reverse[s], {m, 2, 10}], True] == 1, AppendTo[t, n]]]; t

Formula

A050812(n) = 1.