|
|
A214426
|
|
Numbers n palindromic in exactly four bases b, 2 <= b <= 10.
|
|
6
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Searched up to 10^18. Rick Regan mentions these four numbers, also found by Bill Beckmann, at the end of his webpage. - T. D. Noe, Aug 18 2012
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
8 is palindromic in bases 3, 7, 9, and 10.
121 is palindromic in bases 3, 7, 8, and 10.
373 is palindromic in bases 4, 7, 9, and 10.
786435 is palindromic in bases 2, 4, 7, and 8.
|
|
MATHEMATICA
|
n = -1; t = {}; While[Length[t] < 4, n++; If[Count[Table[s = IntegerDigits[n, m]; s == Reverse[s], {m, 2, 10}], True] == 4, AppendTo[t, n]]]; t
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,hard
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|